ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "peng.jianhua (JIRA)" <j...@apache.org>
Subject [jira] [Created] (RANGER-1617) The ranger build failure in windows environment
Date Fri, 26 May 2017 03:23:04 GMT
peng.jianhua created RANGER-1617:
------------------------------------

             Summary: The ranger build failure in windows environment
                 Key: RANGER-1617
                 URL: https://issues.apache.org/jira/browse/RANGER-1617
             Project: Ranger
          Issue Type: Bug
          Components: Ranger
    Affects Versions: 1.0.0
            Reporter: peng.jianhua
            Assignee: peng.jianhua
             Fix For: 1.0.0


The ranger build failure in windows environment.  The error information is as following:
Ranger Util ........................................ FAILURE [  0.077 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:37 min
[INFO] Finished at: 2017-05-26T10:33:08+08:00
[INFO] Final Memory: 65M/1726M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (generate-version-annotation)
on project ranger-util: An Ant BuildException has occured: Execute failed: java.io.IOException:
Cannot run program "python2" (in directory "D:\prj\opensource\source\git\ranger\ranger-util"):
CreateProcess error=2, ϵͳ▒Ҳ▒▒▒ָ▒▒▒▒▒ļ▒▒▒
[ERROR] around Ant part ...<exec executable="python2" failonerror="true">... @ 4:49
in D:\prj\opensource\source\git\ranger\ranger-util\target\antrun\build-main.xml
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following
articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :ranger-util

The error reason is that there is no python2 program after installed the python.
We should modify it to keep that the Ranger can be compiled successfully in the linux and
window environment.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message