Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-2428

LCE default banned user list should have yarn

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-alpha1
    • Component/s: nodemanager
    • Labels:
    • Hadoop Flags:
      Incompatible change
    • Release Note:
      The user 'yarn' is no longer allowed to run tasks for security reasons.

      Description

      When task-controller was retrofitted to YARN, the default banned user list didn't add yarn.

        Activity

        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Mapreduce-trunk #2040 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2040/)
        YARN-2428. LCE default banned user list should have yarn (Varun Saxena via aw) (aw: rev 9dd0b7a2ab6538d8f72b004eb97c2750ff3d98dd)

        • hadoop-yarn-project/CHANGES.txt
        • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/container-executor.c
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk #2040 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2040/ ) YARN-2428 . LCE default banned user list should have yarn (Varun Saxena via aw) (aw: rev 9dd0b7a2ab6538d8f72b004eb97c2750ff3d98dd) hadoop-yarn-project/CHANGES.txt hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/container-executor.c
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #90 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/90/)
        YARN-2428. LCE default banned user list should have yarn (Varun Saxena via aw) (aw: rev 9dd0b7a2ab6538d8f72b004eb97c2750ff3d98dd)

        • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/container-executor.c
        • hadoop-yarn-project/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #90 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/90/ ) YARN-2428 . LCE default banned user list should have yarn (Varun Saxena via aw) (aw: rev 9dd0b7a2ab6538d8f72b004eb97c2750ff3d98dd) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/container-executor.c hadoop-yarn-project/CHANGES.txt
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #86 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/86/)
        YARN-2428. LCE default banned user list should have yarn (Varun Saxena via aw) (aw: rev 9dd0b7a2ab6538d8f72b004eb97c2750ff3d98dd)

        • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/container-executor.c
        • hadoop-yarn-project/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #86 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/86/ ) YARN-2428 . LCE default banned user list should have yarn (Varun Saxena via aw) (aw: rev 9dd0b7a2ab6538d8f72b004eb97c2750ff3d98dd) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/container-executor.c hadoop-yarn-project/CHANGES.txt
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Hdfs-trunk #2021 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2021/)
        YARN-2428. LCE default banned user list should have yarn (Varun Saxena via aw) (aw: rev 9dd0b7a2ab6538d8f72b004eb97c2750ff3d98dd)

        • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/container-executor.c
        • hadoop-yarn-project/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk #2021 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2021/ ) YARN-2428 . LCE default banned user list should have yarn (Varun Saxena via aw) (aw: rev 9dd0b7a2ab6538d8f72b004eb97c2750ff3d98dd) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/container-executor.c hadoop-yarn-project/CHANGES.txt
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Yarn-trunk #823 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/823/)
        YARN-2428. LCE default banned user list should have yarn (Varun Saxena via aw) (aw: rev 9dd0b7a2ab6538d8f72b004eb97c2750ff3d98dd)

        • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/container-executor.c
        • hadoop-yarn-project/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk #823 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/823/ ) YARN-2428 . LCE default banned user list should have yarn (Varun Saxena via aw) (aw: rev 9dd0b7a2ab6538d8f72b004eb97c2750ff3d98dd) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/container-executor.c hadoop-yarn-project/CHANGES.txt
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #89 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/89/)
        YARN-2428. LCE default banned user list should have yarn (Varun Saxena via aw) (aw: rev 9dd0b7a2ab6538d8f72b004eb97c2750ff3d98dd)

        • hadoop-yarn-project/CHANGES.txt
        • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/container-executor.c
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #89 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/89/ ) YARN-2428 . LCE default banned user list should have yarn (Varun Saxena via aw) (aw: rev 9dd0b7a2ab6538d8f72b004eb97c2750ff3d98dd) hadoop-yarn-project/CHANGES.txt hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/container-executor.c
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-trunk-Commit #6960 (See https://builds.apache.org/job/Hadoop-trunk-Commit/6960/)
        YARN-2428. LCE default banned user list should have yarn (Varun Saxena via aw) (aw: rev 9dd0b7a2ab6538d8f72b004eb97c2750ff3d98dd)

        • hadoop-yarn-project/CHANGES.txt
        • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/container-executor.c
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #6960 (See https://builds.apache.org/job/Hadoop-trunk-Commit/6960/ ) YARN-2428 . LCE default banned user list should have yarn (Varun Saxena via aw) (aw: rev 9dd0b7a2ab6538d8f72b004eb97c2750ff3d98dd) hadoop-yarn-project/CHANGES.txt hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/container-executor.c
        Hide
        aw Allen Wittenauer added a comment -

        Committed to trunk.

        Show
        aw Allen Wittenauer added a comment - Committed to trunk.
        Hide
        aw Allen Wittenauer added a comment -

        +1, but I think I'm only going to commit this to trunk since it would be an incompatible change.

        Show
        aw Allen Wittenauer added a comment - +1, but I think I'm only going to commit this to trunk since it would be an incompatible change.
        Hide
        hadoopqa Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12690461/YARN-2428.001.patch
        against trunk revision 788ee35.

        +1 @author. The patch does not contain any @author tags.

        -1 tests included. 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.

        +1 javac. The applied patch does not increase the total number of javac compiler warnings.

        +1 javadoc. There were no new javadoc warning messages.

        +1 eclipse:eclipse. The patch built with eclipse:eclipse.

        +1 findbugs. The patch does not introduce any new Findbugs (version 2.0.3) warnings.

        +1 release audit. The applied patch does not increase the total number of release audit warnings.

        +1 core tests. The patch passed unit tests in hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager.

        Test results: https://builds.apache.org/job/PreCommit-YARN-Build/6263//testReport/
        Console output: https://builds.apache.org/job/PreCommit-YARN-Build/6263//console

        This message is automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - -1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12690461/YARN-2428.001.patch against trunk revision 788ee35. +1 @author . The patch does not contain any @author tags. -1 tests included . 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. +1 javac . The applied patch does not increase the total number of javac compiler warnings. +1 javadoc . There were no new javadoc warning messages. +1 eclipse:eclipse . The patch built with eclipse:eclipse. +1 findbugs . The patch does not introduce any new Findbugs (version 2.0.3) warnings. +1 release audit . The applied patch does not increase the total number of release audit warnings. +1 core tests . The patch passed unit tests in hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager. Test results: https://builds.apache.org/job/PreCommit-YARN-Build/6263//testReport/ Console output: https://builds.apache.org/job/PreCommit-YARN-Build/6263//console This message is automatically generated.
        Hide
        varun_saxena Varun Saxena added a comment -

        Resubmitting patch to kick Jenkins. Didnt run for some reason earlier.

        Show
        varun_saxena Varun Saxena added a comment - Resubmitting patch to kick Jenkins. Didnt run for some reason earlier.
        Hide
        dsalychev Dmitry Salychev added a comment -

        Can you explain the task a bit better? Is it about "container-executor.c"?

        static const char* DEFAULT_BANNED_USERS[] = {"mapred", "hdfs", "bin", 0};
        
        Show
        dsalychev Dmitry Salychev added a comment - Can you explain the task a bit better? Is it about "container-executor.c"? static const char * DEFAULT_BANNED_USERS[] = { "mapred" , "hdfs" , "bin" , 0};

          People

          • Assignee:
            varun_saxena Varun Saxena
            Reporter:
            aw Allen Wittenauer
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development