ranger-dev mailing list archives

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


> On 五月 26, 2017, 6:02 a.m., Madhan Neethiraj wrote:
> > @Peng.jianhua - python => python2 change was recently committed in RANGER-1589.
After this commit, build in my local environment fails - as python2 doesn't exist in my env
(perhaps because I don't have python3 installed?).
> > 
> > Once your patch goes through, which essentially reverts changes in RANGER-1589,
I would request @Denes Bodo to redo RANGER-1589 to ensure that build works in environments
that don't have python2 executable as well.

I find that the python2 does not exist after installed the python3 in windows 7.

For RANGER-1589 it should belong to Denes Bodo's environmental problems. Compared with python2,
Python3 has lots of changes. The Ranger should not support python3.


- pengjianhua


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


On 五月 26, 2017, 3:36 a.m., pengjianhua wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/59602/
> -----------------------------------------------------------
> 
> (Updated 五月 26, 2017, 3:36 a.m.)
> 
> 
> 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