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

Log container-executor invocation details when exit code is non-zero

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: nodemanager
    • Labels:
      None

      Description

      It would be useful for debugging/troubleshooting purposes to know the invocation parameters for container-executor (used in LinuxContainerExecutor) if there is a failures. These invocation parameters should be logged in the NM logs at WARN/ERROR level.

      1. YARN-4252.001.patch
        2 kB
        Sidharta Seethana

        Activity

        Hide
        sidharta-s Sidharta Seethana added a comment -

        Uploading a patch

        Show
        sidharta-s Sidharta Seethana added a comment - Uploading a patch
        Hide
        hadoopqa Hadoop QA added a comment -



        -1 overall



        Vote Subsystem Runtime Comment
        -1 pre-patch 17m 20s Pre-patch trunk has 1 extant Findbugs (version 3.0.0) warnings.
        +1 @author 0m 0s The patch does not contain any @author tags.
        -1 tests included 0m 0s 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 8m 13s There were no new javac warning messages.
        +1 javadoc 10m 50s There were no new javadoc warning messages.
        -1 release audit 0m 22s The applied patch generated 1 release audit warnings.
        +1 checkstyle 0m 38s There were no new checkstyle issues.
        +1 whitespace 0m 0s The patch has no lines that end in whitespace.
        +1 install 1m 43s mvn install still works.
        +1 eclipse:eclipse 0m 36s The patch built with eclipse:eclipse.
        +1 findbugs 1m 16s The patch does not introduce any new Findbugs (version 3.0.0) warnings.
        +1 yarn tests 8m 50s Tests passed in hadoop-yarn-server-nodemanager.
            49m 52s  



        Subsystem Report/Notes
        Patch URL http://issues.apache.org/jira/secure/attachment/12766098/YARN-4252.001.patch
        Optional Tests javadoc javac unit findbugs checkstyle
        git revision trunk / e617cf6
        Pre-patch Findbugs warnings https://builds.apache.org/job/PreCommit-YARN-Build/9407/artifact/patchprocess/trunkFindbugsWarningshadoop-yarn-server-nodemanager.html
        Release Audit https://builds.apache.org/job/PreCommit-YARN-Build/9407/artifact/patchprocess/patchReleaseAuditProblems.txt
        hadoop-yarn-server-nodemanager test log https://builds.apache.org/job/PreCommit-YARN-Build/9407/artifact/patchprocess/testrun_hadoop-yarn-server-nodemanager.txt
        Test Results https://builds.apache.org/job/PreCommit-YARN-Build/9407/testReport/
        Java 1.7.0_55
        uname Linux asf905.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
        Console output https://builds.apache.org/job/PreCommit-YARN-Build/9407/console

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment -1 pre-patch 17m 20s Pre-patch trunk has 1 extant Findbugs (version 3.0.0) warnings. +1 @author 0m 0s The patch does not contain any @author tags. -1 tests included 0m 0s 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 8m 13s There were no new javac warning messages. +1 javadoc 10m 50s There were no new javadoc warning messages. -1 release audit 0m 22s The applied patch generated 1 release audit warnings. +1 checkstyle 0m 38s There were no new checkstyle issues. +1 whitespace 0m 0s The patch has no lines that end in whitespace. +1 install 1m 43s mvn install still works. +1 eclipse:eclipse 0m 36s The patch built with eclipse:eclipse. +1 findbugs 1m 16s The patch does not introduce any new Findbugs (version 3.0.0) warnings. +1 yarn tests 8m 50s Tests passed in hadoop-yarn-server-nodemanager.     49m 52s   Subsystem Report/Notes Patch URL http://issues.apache.org/jira/secure/attachment/12766098/YARN-4252.001.patch Optional Tests javadoc javac unit findbugs checkstyle git revision trunk / e617cf6 Pre-patch Findbugs warnings https://builds.apache.org/job/PreCommit-YARN-Build/9407/artifact/patchprocess/trunkFindbugsWarningshadoop-yarn-server-nodemanager.html Release Audit https://builds.apache.org/job/PreCommit-YARN-Build/9407/artifact/patchprocess/patchReleaseAuditProblems.txt hadoop-yarn-server-nodemanager test log https://builds.apache.org/job/PreCommit-YARN-Build/9407/artifact/patchprocess/testrun_hadoop-yarn-server-nodemanager.txt Test Results https://builds.apache.org/job/PreCommit-YARN-Build/9407/testReport/ Java 1.7.0_55 uname Linux asf905.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Console output https://builds.apache.org/job/PreCommit-YARN-Build/9407/console This message was automatically generated.
        Hide
        sidharta-s Sidharta Seethana added a comment -

        Tests : this is only a logging change, no additional tests required. Other subsystem failures are not related to this patch.

        Show
        sidharta-s Sidharta Seethana added a comment - Tests : this is only a logging change, no additional tests required. Other subsystem failures are not related to this patch.
        Hide
        vvasudev Varun Vasudev added a comment -

        +1. I'll commit this tomorrow if no one objects.

        Show
        vvasudev Varun Vasudev added a comment - +1. I'll commit this tomorrow if no one objects.
        Hide
        vvasudev Varun Vasudev added a comment -

        Committed to trunk and branch-2. Thanks Sidharta Seethana!

        Show
        vvasudev Varun Vasudev added a comment - Committed to trunk and branch-2. Thanks Sidharta Seethana !
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-trunk-Commit #8630 (See https://builds.apache.org/job/Hadoop-trunk-Commit/8630/)
        YARN-4252. Log container-executor invocation details when exit code is (vvasudev: rev fb9c1519b30cf8113cf9b8deed9b9901db5e9693)

        • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/linux/privileged/PrivilegedOperationExecutor.java
        • hadoop-yarn-project/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #8630 (See https://builds.apache.org/job/Hadoop-trunk-Commit/8630/ ) YARN-4252 . Log container-executor invocation details when exit code is (vvasudev: rev fb9c1519b30cf8113cf9b8deed9b9901db5e9693) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/linux/privileged/PrivilegedOperationExecutor.java hadoop-yarn-project/CHANGES.txt
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #527 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/527/)
        YARN-4252. Log container-executor invocation details when exit code is (vvasudev: rev fb9c1519b30cf8113cf9b8deed9b9901db5e9693)

        • hadoop-yarn-project/CHANGES.txt
        • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/linux/privileged/PrivilegedOperationExecutor.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #527 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/527/ ) YARN-4252 . Log container-executor invocation details when exit code is (vvasudev: rev fb9c1519b30cf8113cf9b8deed9b9901db5e9693) hadoop-yarn-project/CHANGES.txt hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/linux/privileged/PrivilegedOperationExecutor.java
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #539 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/539/)
        YARN-4252. Log container-executor invocation details when exit code is (vvasudev: rev fb9c1519b30cf8113cf9b8deed9b9901db5e9693)

        • hadoop-yarn-project/CHANGES.txt
        • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/linux/privileged/PrivilegedOperationExecutor.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #539 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/539/ ) YARN-4252 . Log container-executor invocation details when exit code is (vvasudev: rev fb9c1519b30cf8113cf9b8deed9b9901db5e9693) hadoop-yarn-project/CHANGES.txt hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/linux/privileged/PrivilegedOperationExecutor.java
        Hide
        sidharta-s Sidharta Seethana added a comment -

        Thanks!

        Show
        sidharta-s Sidharta Seethana added a comment - Thanks!
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Mapreduce-trunk #2475 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2475/)
        YARN-4252. Log container-executor invocation details when exit code is (vvasudev: rev fb9c1519b30cf8113cf9b8deed9b9901db5e9693)

        • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/linux/privileged/PrivilegedOperationExecutor.java
        • hadoop-yarn-project/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk #2475 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2475/ ) YARN-4252 . Log container-executor invocation details when exit code is (vvasudev: rev fb9c1519b30cf8113cf9b8deed9b9901db5e9693) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/linux/privileged/PrivilegedOperationExecutor.java hadoop-yarn-project/CHANGES.txt
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Yarn-trunk #1263 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/1263/)
        YARN-4252. Log container-executor invocation details when exit code is (vvasudev: rev fb9c1519b30cf8113cf9b8deed9b9901db5e9693)

        • hadoop-yarn-project/CHANGES.txt
        • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/linux/privileged/PrivilegedOperationExecutor.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk #1263 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/1263/ ) YARN-4252 . Log container-executor invocation details when exit code is (vvasudev: rev fb9c1519b30cf8113cf9b8deed9b9901db5e9693) hadoop-yarn-project/CHANGES.txt hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/linux/privileged/PrivilegedOperationExecutor.java
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #494 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/494/)
        YARN-4252. Log container-executor invocation details when exit code is (vvasudev: rev fb9c1519b30cf8113cf9b8deed9b9901db5e9693)

        • hadoop-yarn-project/CHANGES.txt
        • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/linux/privileged/PrivilegedOperationExecutor.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #494 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/494/ ) YARN-4252 . Log container-executor invocation details when exit code is (vvasudev: rev fb9c1519b30cf8113cf9b8deed9b9901db5e9693) hadoop-yarn-project/CHANGES.txt hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/linux/privileged/PrivilegedOperationExecutor.java
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Hdfs-trunk #2432 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2432/)
        YARN-4252. Log container-executor invocation details when exit code is (vvasudev: rev fb9c1519b30cf8113cf9b8deed9b9901db5e9693)

        • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/linux/privileged/PrivilegedOperationExecutor.java
        • hadoop-yarn-project/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk #2432 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2432/ ) YARN-4252 . Log container-executor invocation details when exit code is (vvasudev: rev fb9c1519b30cf8113cf9b8deed9b9901db5e9693) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/linux/privileged/PrivilegedOperationExecutor.java hadoop-yarn-project/CHANGES.txt

          People

          • Assignee:
            sidharta-s Sidharta Seethana
            Reporter:
            sidharta-s Sidharta Seethana
          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development