Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-3182

linux superuser use maven compile bower always fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Won't Fix
    • 0.6.2, 0.8.2
    • None
    • UI
    • None
    • linux rh6

    Description

      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?

      Attachments

        1. TEZ-3182.patch
          0.5 kB
          shenxianqiang
        2. TEZ-3182.4.patch
          2 kB
          shenxianqiang
        3. TEZ-3182.1.patch
          0.9 kB
          shenxianqiang

        Activity

          People

            shenxianqiang shenxianqiang
            shenxianqiang shenxianqiang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 96h
                96h
                Remaining:
                Remaining Estimate - 96h
                96h
                Logged:
                Time Spent - Not Specified
                Not Specified