incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Vance (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-1721) ambari build on 1.2 branch has python2.6 dependency
Date Wed, 27 Mar 2013 01:13:15 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-1721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jeff Vance updated AMBARI-1721:
-------------------------------

    Description: 
mvn -X -B -e clean install package rpm:rpm -DskipTests -Pcentos5 -Dpython.ver="python26" 
 fails with error:

...
[INFO] Ambari Server ..................................... SUCCESS [1:26.033s]
[INFO] Ambari Agent ...................................... FAILURE [0.570s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:35.791s
[INFO] Finished at: Tue Mar 26 18:04:00 PDT 2013
[INFO] Final Memory: 51M/529M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (python-package)
on project ambari-agent: Command execution failed. Cannot run program "python2.6" (in directory
"/home/jvance/Development/ambari/ambari-agent/target/ambari-agent-1.2.2-SNAPSHOT"): error=2,
No such file or directory -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec
(python-package) on project ambari-agent: Command execution failed.
...
Caused by: java.io.IOException: Cannot run program "python2.6" (in directory "/home/jvance/Development/ambari/ambari-agent/target/ambari-agent-1.2.2-SNAPSHOT"):
error=2, No such file or directory
...

Workaround: in /bin: ln -s python2.7 python2.6




  was:
mvn -X -B -e clean install package rpm:rpm -DskipTests -Pcentos5 -Dpython.ver="python26" 
 fails with error:

...
[INFO] Ambari Server ..................................... SUCCESS [1:26.033s]
[INFO] Ambari Agent ...................................... FAILURE [0.570s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:35.791s
[INFO] Finished at: Tue Mar 26 18:04:00 PDT 2013
[INFO] Final Memory: 51M/529M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (python-package)
on project ambari-agent: Command execution failed. Cannot run program "python2.6" (in directory
"/home/jvance/Development/ambari/ambari-agent/target/ambari-agent-1.2.2-SNAPSHOT"): error=2,
No such file or directory -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec
(python-package) on project ambari-agent: Command execution failed.
...
Caused by: java.io.IOException: Cannot run program "python2.6" (in directory "/home/jvance/Development/ambari/ambari-agent/target/ambari-agent-1.2.2-SNAPSHOT"):
error=2, No such file or directory
...




    
> ambari build on 1.2 branch has python2.6 dependency
> ---------------------------------------------------
>
>                 Key: AMBARI-1721
>                 URL: https://issues.apache.org/jira/browse/AMBARI-1721
>             Project: Ambari
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.2.0
>         Environment: fedora 18, java 1.6, python 2.7, mvn 3.0.4
>            Reporter: Jeff Vance
>            Priority: Minor
>
> mvn -X -B -e clean install package rpm:rpm -DskipTests -Pcentos5 -Dpython.ver="python26"
  fails with error:
> ...
> [INFO] Ambari Server ..................................... SUCCESS [1:26.033s]
> [INFO] Ambari Agent ...................................... FAILURE [0.570s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1:35.791s
> [INFO] Finished at: Tue Mar 26 18:04:00 PDT 2013
> [INFO] Final Memory: 51M/529M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (python-package)
on project ambari-agent: Command execution failed. Cannot run program "python2.6" (in directory
"/home/jvance/Development/ambari/ambari-agent/target/ambari-agent-1.2.2-SNAPSHOT"): error=2,
No such file or directory -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec
(python-package) on project ambari-agent: Command execution failed.
> ...
> Caused by: java.io.IOException: Cannot run program "python2.6" (in directory "/home/jvance/Development/ambari/ambari-agent/target/ambari-agent-1.2.2-SNAPSHOT"):
error=2, No such file or directory
> ...
> Workaround: in /bin: ln -s python2.7 python2.6

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message