You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tez.apache.org by "r7raul1984@163.com" <r7...@163.com> on 2015/06/04 05:19:03 UTC
Tez 0.7 src build fail
bower ESUDO Cannot be run with sudo
Additional error details:
Since bower is a user command, there is no need to execute it with superuser permissions.
If you're having permission errors when using bower without sudo, please spend a few minutes learning more about how your system should work and make any necessary repairs.
http://www.joyent.com/blog/installing-node-and-npm
https://gist.github.com/isaacs/579814
You can however run a command with sudo using --allow-root option
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] tez ............................................... SUCCESS [0.730s]
[INFO] tez-api ........................................... SUCCESS [9.103s]
[INFO] tez-common ........................................ SUCCESS [0.328s]
[INFO] tez-runtime-internals ............................. SUCCESS [0.528s]
[INFO] tez-runtime-library ............................... SUCCESS [1.601s]
[INFO] tez-mapreduce ..................................... SUCCESS [0.665s]
[INFO] tez-examples ...................................... SUCCESS [0.166s]
[INFO] tez-dag ........................................... SUCCESS [2.063s]
[INFO] tez-tests ......................................... SUCCESS [0.521s]
[INFO] tez-ui ............................................ FAILURE [1.561s]
[INFO] tez-plugins ....................................... SKIPPED
[INFO] tez-yarn-timeline-history ......................... SKIPPED
[INFO] tez-yarn-timeline-history-with-acls ............... SKIPPED
[INFO] tez-mbeans-resource-calculator .................... SKIPPED
[INFO] tez-tools ......................................... SKIPPED
[INFO] tez-dist .......................................... SKIPPED
[INFO] Tez ............................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.784s
[INFO] Finished at: Thu Jun 04 11:15:10 CST 2015
[INFO] Final Memory: 67M/794M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.2:exec (Bower install) on project tez-ui: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [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 :tez-ui
r7raul1984@163.com
Re: Tez 0.7 src build fail
Posted by "Jianfeng (Jeff) Zhang" <jz...@hortonworks.com>.
It is a known issue as https://issues.apache.org/jira/browse/TEZ-2229
Before it is fixed, a workaround for you is to build tez by another user rather than root.
Best Regard,
Jeff Zhang
From: "r7raul1984@163.com<ma...@163.com>" <r7...@163.com>>
Reply-To: user <us...@tez.apache.org>>
Date: Thursday, June 4, 2015 at 11:19 AM
To: user <us...@tez.apache.org>>
Subject: Tez 0.7 src build fail
bower ESUDO Cannot be run with sudo
Additional error details:
Since bower is a user command, there is no need to execute it with superuser permissions.
If you're having permission errors when using bower without sudo, please spend a few minutes learning more about how your system should work and make any necessary repairs.
http://www.joyent.com/blog/installing-node-and-npm
https://gist.github.com/isaacs/579814
You can however run a command with sudo using --allow-root option
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] tez ............................................... SUCCESS [0.730s]
[INFO] tez-api ........................................... SUCCESS [9.103s]
[INFO] tez-common ........................................ SUCCESS [0.328s]
[INFO] tez-runtime-internals ............................. SUCCESS [0.528s]
[INFO] tez-runtime-library ............................... SUCCESS [1.601s]
[INFO] tez-mapreduce ..................................... SUCCESS [0.665s]
[INFO] tez-examples ...................................... SUCCESS [0.166s]
[INFO] tez-dag ........................................... SUCCESS [2.063s]
[INFO] tez-tests ......................................... SUCCESS [0.521s]
[INFO] tez-ui ............................................ FAILURE [1.561s]
[INFO] tez-plugins ....................................... SKIPPED
[INFO] tez-yarn-timeline-history ......................... SKIPPED
[INFO] tez-yarn-timeline-history-with-acls ............... SKIPPED
[INFO] tez-mbeans-resource-calculator .................... SKIPPED
[INFO] tez-tools ......................................... SKIPPED
[INFO] tez-dist .......................................... SKIPPED
[INFO] Tez ............................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.784s
[INFO] Finished at: Thu Jun 04 11:15:10 CST 2015
[INFO] Final Memory: 67M/794M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.2:exec (Bower install) on project tez-ui: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [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 :tez-ui
________________________________
r7raul1984@163.com<ma...@163.com>