ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pengjianhua <peng.jian...@zte.com.cn>
Subject Review Request 59602: The Ranger build failure in windows environment
Date Fri, 26 May 2017 03:36:47 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59602/
-----------------------------------------------------------

Review request for ranger, Alok Lal, Ankita Sinha, Don Bosco Durai, Colm O hEigeartaigh, Gautam
Borad, Madhan Neethiraj, Ramesh Mani, Selvamohan Neethiraj, Velmurugan Periasamy, and Qiang
Zhang.


Bugs: RANGER-1617
    https://issues.apache.org/jira/browse/RANGER-1617


Repository: ranger


Description
-------

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.


Diffs
-----

  ranger-util/pom.xml 7d19d10 


Diff: https://reviews.apache.org/r/59602/diff/1/


Testing
-------


Thanks,

pengjianhua


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message