[jira] [Commented] (TEZ-3182) linux superuser use maven compile bower always fail
[ https://issues.apache.org/jira/browse/TEZ-3182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15794856#comment-15794856 ] Sreenath Somarajapuram commented on TEZ-3182: - [~shenxianqiang] Are you working on this? Shall I take it? > linux superuser use maven compile bower always fail > --- > > Key: TEZ-3182 > URL: https://issues.apache.org/jira/browse/TEZ-3182 > Project: Apache Tez > Issue Type: Bug > Components: UI >Affects Versions: 0.6.2, 0.8.2 > Environment: linux rh6 >Reporter: shenxianqiang >Assignee: shenxianqiang >Priority: Trivial > Attachments: TEZ-3182.1.patch, TEZ-3182.4.patch, TEZ-3182.patch > > Original Estimate: 96h > Remaining Estimate: 96h > > When I am root. Using 'mvn clean package -DskipTests=true' command always > fail. > [INFO] --- exec-maven-plugin:1.3.2:exec (Bower install) @ tez-ui --- > 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 > I have to modify pom.xml.Why not modify pom.xml in future? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TEZ-3182) linux superuser use maven compile bower always fail
[ https://issues.apache.org/jira/browse/TEZ-3182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15232110#comment-15232110 ] Sreenath Somarajapuram commented on TEZ-3182: - [~shenxianqiang] - Just tried patch 4. It gives failures as some new changes were added to pom.xml. Please create a fresh patch after doing a pull on master. - And probably its better to use just one property instead of 4, as only on values would ever change. > linux superuser use maven compile bower always fail > --- > > Key: TEZ-3182 > URL: https://issues.apache.org/jira/browse/TEZ-3182 > Project: Apache Tez > Issue Type: Bug > Components: UI >Affects Versions: 0.6.2, 0.8.2 > Environment: linux rh6 >Reporter: shenxianqiang >Assignee: shenxianqiang >Priority: Trivial > Attachments: TEZ-3182.1.patch, TEZ-3182.4.patch, TEZ-3182.patch > > Original Estimate: 96h > Remaining Estimate: 96h > > When I am root. Using 'mvn clean package -DskipTests=true' command always > fail. > [INFO] --- exec-maven-plugin:1.3.2:exec (Bower install) @ tez-ui --- > 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 > I have to modify pom.xml.Why not modify pom.xml in future? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TEZ-3182) linux superuser use maven compile bower always fail
[ https://issues.apache.org/jira/browse/TEZ-3182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15232027#comment-15232027 ] TezQA commented on TEZ-3182: {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12797707/TEZ-3182.4.patch against master revision 5b1f1a9. {color:red}-1 patch{color}. The patch command could not apply the patch. Console output: https://builds.apache.org/job/PreCommit-TEZ-Build/1639//console This message is automatically generated. > linux superuser use maven compile bower always fail > --- > > Key: TEZ-3182 > URL: https://issues.apache.org/jira/browse/TEZ-3182 > Project: Apache Tez > Issue Type: Bug > Components: UI >Affects Versions: 0.6.2, 0.8.2 > Environment: linux rh6 >Reporter: shenxianqiang >Assignee: shenxianqiang >Priority: Trivial > Attachments: TEZ-3182.1.patch, TEZ-3182.4.patch, TEZ-3182.patch > > Original Estimate: 96h > Remaining Estimate: 96h > > When I am root. Using 'mvn clean package -DskipTests=true' command always > fail. > [INFO] --- exec-maven-plugin:1.3.2:exec (Bower install) @ tez-ui --- > 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 > I have to modify pom.xml.Why not modify pom.xml in future? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TEZ-3182) linux superuser use maven compile bower always fail
[ https://issues.apache.org/jira/browse/TEZ-3182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15226049#comment-15226049 ] TezQA commented on TEZ-3182: {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12797035/TEZ-3182.3.patch against master revision 8e9e5ae. {color:red}-1 patch{color}. master compilation may be broken. Console output: https://builds.apache.org/job/PreCommit-TEZ-Build/1609//console This message is automatically generated. > linux superuser use maven compile bower always fail > --- > > Key: TEZ-3182 > URL: https://issues.apache.org/jira/browse/TEZ-3182 > Project: Apache Tez > Issue Type: Bug > Components: UI >Affects Versions: 0.6.2, 0.8.2 > Environment: linux rh6 >Reporter: shenxianqiang >Assignee: shenxianqiang >Priority: Trivial > Attachments: TEZ-3182.1.patch, TEZ-3182.2.patch, TEZ-3182.3.patch, > TEZ-3182.patch > > Original Estimate: 96h > Remaining Estimate: 96h > > When I am root. Using 'mvn clean package -DskipTests=true' command always > fail. > [INFO] --- exec-maven-plugin:1.3.2:exec (Bower install) @ tez-ui --- > 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 > I have to modify pom.xml.Why not modify pom.xml in future? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TEZ-3182) linux superuser use maven compile bower always fail
[ https://issues.apache.org/jira/browse/TEZ-3182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15225864#comment-15225864 ] TezQA commented on TEZ-3182: {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12797018/TEZ-3182.2.patch against master revision 0c7e1c5. {color:red}-1 patch{color}. master compilation may be broken. Console output: https://builds.apache.org/job/PreCommit-TEZ-Build/1608//console This message is automatically generated. > linux superuser use maven compile bower always fail > --- > > Key: TEZ-3182 > URL: https://issues.apache.org/jira/browse/TEZ-3182 > Project: Apache Tez > Issue Type: Bug > Components: UI >Affects Versions: 0.6.2, 0.8.2 > Environment: linux rh6 >Reporter: shenxianqiang >Assignee: shenxianqiang >Priority: Trivial > Attachments: TEZ-3182.1.patch, TEZ-3182.2.patch, TEZ-3182.patch > > Original Estimate: 96h > Remaining Estimate: 96h > > When I am root. Using 'mvn clean package -DskipTests=true' command always > fail. > [INFO] --- exec-maven-plugin:1.3.2:exec (Bower install) @ tez-ui --- > 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 > I have to modify pom.xml.Why not modify pom.xml in future? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TEZ-3182) linux superuser use maven compile bower always fail
[ https://issues.apache.org/jira/browse/TEZ-3182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15224515#comment-15224515 ] Hitesh Shah commented on TEZ-3182: -- [~Sreenath] please ensure that the patch addresses both v1 and v2 of the UI. > linux superuser use maven compile bower always fail > --- > > Key: TEZ-3182 > URL: https://issues.apache.org/jira/browse/TEZ-3182 > Project: Apache Tez > Issue Type: Bug > Components: UI >Affects Versions: 0.6.2, 0.8.2 > Environment: linux rh6 >Reporter: shenxianqiang >Assignee: shenxianqiang >Priority: Trivial > Attachments: TEZ-3182.1.patch, TEZ-3182.patch > > Original Estimate: 96h > Remaining Estimate: 96h > > When I am root. Using 'mvn clean package -DskipTests=true' command always > fail. > [INFO] --- exec-maven-plugin:1.3.2:exec (Bower install) @ tez-ui --- > 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 > I have to modify pom.xml.Why not modify pom.xml in future? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TEZ-3182) linux superuser use maven compile bower always fail
[ https://issues.apache.org/jira/browse/TEZ-3182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15223955#comment-15223955 ] Sreenath Somarajapuram commented on TEZ-3182: - You can do either of the following. 1. Put a default value of -- to bower-allow-root 2. Use commandlineArgs {code} ${webappDir} ${node.executable} node_modules/bower/bin/bower install ${bower-allow-root} --remove-unnecessary-resolutions=false {code} > linux superuser use maven compile bower always fail > --- > > Key: TEZ-3182 > URL: https://issues.apache.org/jira/browse/TEZ-3182 > Project: Apache Tez > Issue Type: Bug > Components: UI >Affects Versions: 0.6.2, 0.8.2 > Environment: linux rh6 >Reporter: shenxianqiang >Assignee: shenxianqiang >Priority: Trivial > Attachments: TEZ-3182.1.patch, TEZ-3182.patch > > Original Estimate: 96h > Remaining Estimate: 96h > > When I am root. Using 'mvn clean package -DskipTests=true' command always > fail. > [INFO] --- exec-maven-plugin:1.3.2:exec (Bower install) @ tez-ui --- > 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 > I have to modify pom.xml.Why not modify pom.xml in future? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TEZ-3182) linux superuser use maven compile bower always fail
[ https://issues.apache.org/jira/browse/TEZ-3182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15222898#comment-15222898 ] shenxianqiang commented on TEZ-3182: Thanks Sreenath Somarajapuram. My bad If I set default bower-allow-root as a empty value.Is that OK? > linux superuser use maven compile bower always fail > --- > > Key: TEZ-3182 > URL: https://issues.apache.org/jira/browse/TEZ-3182 > Project: Apache Tez > Issue Type: Bug > Components: UI >Affects Versions: 0.6.2, 0.8.2 > Environment: linux rh6 >Reporter: shenxianqiang >Assignee: shenxianqiang >Priority: Trivial > Attachments: TEZ-3182.1.patch, TEZ-3182.patch > > Original Estimate: 96h > Remaining Estimate: 96h > > When I am root. Using 'mvn clean package -DskipTests=true' command always > fail. > [INFO] --- exec-maven-plugin:1.3.2:exec (Bower install) @ tez-ui --- > 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 > I have to modify pom.xml.Why not modify pom.xml in future? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TEZ-3182) linux superuser use maven compile bower always fail
[ https://issues.apache.org/jira/browse/TEZ-3182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15217500#comment-15217500 ] Sreenath Somarajapuram commented on TEZ-3182: - Thanks [~shenxianqiang] 1. When the profile is not used, ${bower-allow-root} is going as null causing the build to fail. 2. In Tez we use p0 patches. `git diff --no-prefix` can be used for generating the same. > linux superuser use maven compile bower always fail > --- > > Key: TEZ-3182 > URL: https://issues.apache.org/jira/browse/TEZ-3182 > Project: Apache Tez > Issue Type: Bug > Components: UI >Affects Versions: 0.6.2, 0.8.2 > Environment: linux rh6 >Reporter: shenxianqiang >Assignee: shenxianqiang >Priority: Trivial > Attachments: TEZ-3182.1.patch, TEZ-3182.patch > > Original Estimate: 96h > Remaining Estimate: 96h > > When I am root. Using 'mvn clean package -DskipTests=true' command always > fail. > [INFO] --- exec-maven-plugin:1.3.2:exec (Bower install) @ tez-ui --- > 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 > I have to modify pom.xml.Why not modify pom.xml in future? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TEZ-3182) linux superuser use maven compile bower always fail
[ https://issues.apache.org/jira/browse/TEZ-3182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15215463#comment-15215463 ] TezQA commented on TEZ-3182: {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12795763/TEZ-3182.1.patch against master revision 182c997. {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:red}-1 tests included{color}. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. {color:red}-1 javac{color:red}. The patch appears to cause the build to fail. Console output: https://builds.apache.org/job/PreCommit-TEZ-Build/1596//console This message is automatically generated. > linux superuser use maven compile bower always fail > --- > > Key: TEZ-3182 > URL: https://issues.apache.org/jira/browse/TEZ-3182 > Project: Apache Tez > Issue Type: Bug > Components: UI >Affects Versions: 0.6.2, 0.8.2 > Environment: linux rh6 >Reporter: shenxianqiang >Assignee: shenxianqiang >Priority: Trivial > Attachments: TEZ-3182.1.patch, TEZ-3182.patch > > Original Estimate: 96h > Remaining Estimate: 96h > > When I am root. Using 'mvn clean package -DskipTests=true' command always > fail. > [INFO] --- exec-maven-plugin:1.3.2:exec (Bower install) @ tez-ui --- > 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 > I have to modify pom.xml.Why not modify pom.xml in future? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TEZ-3182) linux superuser use maven compile bower always fail
[ https://issues.apache.org/jira/browse/TEZ-3182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15215349#comment-15215349 ] shenxianqiang commented on TEZ-3182: I add a profile for control the tag. 'mvn clean package -DskipTests=true -Dbower.allow.root' will use bower with root By default, root would be disabled.Thinks for all your help. [#Hitesh Shah] [#Sreenath Somarajapuram]Please help in the review. > linux superuser use maven compile bower always fail > --- > > Key: TEZ-3182 > URL: https://issues.apache.org/jira/browse/TEZ-3182 > Project: Apache Tez > Issue Type: Bug > Components: UI >Affects Versions: 0.6.2, 0.8.2 > Environment: linux rh6 >Reporter: shenxianqiang >Assignee: shenxianqiang >Priority: Trivial > Attachments: TEZ-3182.1.patch, TEZ-3182.patch > > Original Estimate: 96h > Remaining Estimate: 96h > > When I am root. Using 'mvn clean package -DskipTests=true' command always > fail. > [INFO] --- exec-maven-plugin:1.3.2:exec (Bower install) @ tez-ui --- > 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 > I have to modify pom.xml.Why not modify pom.xml in future? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TEZ-3182) linux superuser use maven compile bower always fail
[ https://issues.apache.org/jira/browse/TEZ-3182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15215344#comment-15215344 ] shenxianqiang commented on TEZ-3182: Thinks for your comment,Hitesh Shah and Sreenath Somarajapuram Sorry for not update in time. Please help in the review. > linux superuser use maven compile bower always fail > --- > > Key: TEZ-3182 > URL: https://issues.apache.org/jira/browse/TEZ-3182 > Project: Apache Tez > Issue Type: Bug > Components: UI >Affects Versions: 0.6.2, 0.8.2 > Environment: linux rh6 >Reporter: shenxianqiang >Assignee: shenxianqiang >Priority: Trivial > Attachments: TEZ-3182.1.patch, TEZ-3182.patch > > Original Estimate: 96h > Remaining Estimate: 96h > > When I am root. Using 'mvn clean package -DskipTests=true' command always > fail. > [INFO] --- exec-maven-plugin:1.3.2:exec (Bower install) @ tez-ui --- > 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 > I have to modify pom.xml.Why not modify pom.xml in future? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TEZ-3182) linux superuser use maven compile bower always fail
[ https://issues.apache.org/jira/browse/TEZ-3182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15211885#comment-15211885 ] Sreenath Somarajapuram commented on TEZ-3182: - [~shenxianqiang] Thanks for the patch. But it enables root by default. It's better to go with [~hitesh]'s comment, and enable it based on a mvn property or profile. https://github.com/bower/bower/issues/498 can give some leads on why bower doesn't allow root by default. > linux superuser use maven compile bower always fail > --- > > Key: TEZ-3182 > URL: https://issues.apache.org/jira/browse/TEZ-3182 > Project: Apache Tez > Issue Type: Bug > Components: UI >Affects Versions: 0.6.2, 0.8.2 > Environment: linux rh6 >Reporter: shenxianqiang >Assignee: shenxianqiang >Priority: Trivial > Attachments: TEZ-3182.patch > > Original Estimate: 96h > Remaining Estimate: 96h > > When I am root. Using 'mvn clean package -DskipTests=true' command always > fail. > [INFO] --- exec-maven-plugin:1.3.2:exec (Bower install) @ tez-ui --- > 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 > I have to modify pom.xml.Why not modify pom.xml in future? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TEZ-3182) linux superuser use maven compile bower always fail
[ https://issues.apache.org/jira/browse/TEZ-3182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15211078#comment-15211078 ] Hitesh Shah commented on TEZ-3182: -- [~Sreenath] please help in the review. > linux superuser use maven compile bower always fail > --- > > Key: TEZ-3182 > URL: https://issues.apache.org/jira/browse/TEZ-3182 > Project: Apache Tez > Issue Type: Bug > Components: UI >Affects Versions: 0.6.2, 0.8.2 > Environment: linux rh6 >Reporter: shenxianqiang >Assignee: shenxianqiang >Priority: Trivial > Attachments: TEZ-3182.patch > > Original Estimate: 96h > Remaining Estimate: 96h > > When I am root. Using 'mvn clean package -DskipTests=true' command always > fail. > [INFO] --- exec-maven-plugin:1.3.2:exec (Bower install) @ tez-ui --- > 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 > I have to modify pom.xml.Why not modify pom.xml in future? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TEZ-3182) linux superuser use maven compile bower always fail
[ https://issues.apache.org/jira/browse/TEZ-3182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15209185#comment-15209185 ] Hitesh Shah commented on TEZ-3182: -- Updated target versions so that this is backported to both branch 0.7 and master. > linux superuser use maven compile bower always fail > --- > > Key: TEZ-3182 > URL: https://issues.apache.org/jira/browse/TEZ-3182 > Project: Apache Tez > Issue Type: Bug > Components: UI >Affects Versions: 0.6.2, 0.8.2 > Environment: linux rh6 >Reporter: shenxianqiang >Assignee: shenxianqiang >Priority: Trivial > Attachments: TEZ-3182.patch > > Original Estimate: 96h > Remaining Estimate: 96h > > When I am root. Using 'mvn clean package -DskipTests=true' command always > fail. > [INFO] --- exec-maven-plugin:1.3.2:exec (Bower install) @ tez-ui --- > 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 > I have to modify pom.xml.Why not modify pom.xml in future? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TEZ-3182) linux superuser use maven compile bower always fail
[ https://issues.apache.org/jira/browse/TEZ-3182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15209183#comment-15209183 ] Hitesh Shah commented on TEZ-3182: -- Thanks for the patch [~shenxianqiang]. Lets wait for [~Sreenath] to review and commit if the fix looks good to him > linux superuser use maven compile bower always fail > --- > > Key: TEZ-3182 > URL: https://issues.apache.org/jira/browse/TEZ-3182 > Project: Apache Tez > Issue Type: Bug > Components: UI >Affects Versions: 0.6.2, 0.8.2 > Environment: linux rh6 >Reporter: shenxianqiang >Assignee: shenxianqiang >Priority: Trivial > Attachments: TEZ-3182.patch > > Original Estimate: 96h > Remaining Estimate: 96h > > When I am root. Using 'mvn clean package -DskipTests=true' command always > fail. > [INFO] --- exec-maven-plugin:1.3.2:exec (Bower install) @ tez-ui --- > 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 > I have to modify pom.xml.Why not modify pom.xml in future? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TEZ-3182) linux superuser use maven compile bower always fail
[ https://issues.apache.org/jira/browse/TEZ-3182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15206933#comment-15206933 ] Sreenath Somarajapuram commented on TEZ-3182: - The approach looks good. > linux superuser use maven compile bower always fail > --- > > Key: TEZ-3182 > URL: https://issues.apache.org/jira/browse/TEZ-3182 > Project: Apache Tez > Issue Type: Bug > Components: UI >Affects Versions: 0.6.2, 0.8.2 > Environment: linux rh6 >Reporter: shenxianqiang >Priority: Trivial > Original Estimate: 96h > Remaining Estimate: 96h > > When I am root. Using 'mvn clean package -DskipTests=true' command always > fail. > [INFO] --- exec-maven-plugin:1.3.2:exec (Bower install) @ tez-ui --- > 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 > I have to modify pom.xml.Why not modify pom.xml in future? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TEZ-3182) linux superuser use maven compile bower always fail
[ https://issues.apache.org/jira/browse/TEZ-3182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15206500#comment-15206500 ] Hitesh Shah commented on TEZ-3182: -- [~shenxianqiang] would it be possible for you to supply a patch for this which allows a maven property to control whether root is allowed. By default, root would be disabled but the patch should allow a user to set either a mvn property or enable a profile to allow such builds. \cc [~Sreenath] any concerns with the above approach? > linux superuser use maven compile bower always fail > --- > > Key: TEZ-3182 > URL: https://issues.apache.org/jira/browse/TEZ-3182 > Project: Apache Tez > Issue Type: Bug > Components: UI >Affects Versions: 0.6.2, 0.8.2 > Environment: linux rh6 >Reporter: shenxianqiang >Priority: Trivial > Original Estimate: 96h > Remaining Estimate: 96h > > When I am root. Using 'mvn clean package -DskipTests=true' command always > fail. > [INFO] --- exec-maven-plugin:1.3.2:exec (Bower install) @ tez-ui --- > 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 > I have to modify pom.xml.Why not modify pom.xml in future? -- This message was sent by Atlassian JIRA (v6.3.4#6332)