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

Add log about how to solve Error: Could not find or load main class org.apache.hadoop.mapreduce.v2.app.MRAppMaster

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-beta1
    • Fix Version/s: 2.9.0, 3.0.0-beta1
    • Component/s: documentation, security
    • Labels:
    • Environment:

      All operating systems.

      Description

      According Setting up a Single Node Cluster https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-common/SingleCluster.html, we would still failed to run the MapReduce job example. Due to a security fix, yarn use user's environment variables to init, and user's environment variable usually doesn't include MapReduce related settings. So we need to add the related config in etc/hadoop/mapred-site.xml manually. Currently the log only tells there is an Error:
      Could not find or load main class org.apache.hadoop.mapreduce.v2.app.MRAppMaster, without suggestion on how to solve it. I want to add the useful suggestion in log.

      1. yarn-6999.002.patch
        3 kB
        Linlin Zhou
      2. yarn-6999.003.patch
        3 kB
        Linlin Zhou
      3. yarn-6999.patch
        2 kB
        Linlin Zhou

        Activity

        Hide
        littlestone00 Linlin Zhou added a comment -

        diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/launcher/ContainerLaunch.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/launcher/ContainerLaunch.java
        index 0b599a873f..4b4c2293f1 100644
        — a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/launcher/ContainerLaunch.java
        +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/launcher/ContainerLaunch.java
        @@ -562,9 +562,23 @@ protected void handleContainerExitWithFailure(ContainerId containerID,
        errorFileIS = fileSystem.open(errorFile);
        errorFileIS.readFully(startPosition, tailBuffer);

        + String tailBufferMsg = new String(tailBuffer, StandardCharsets.UTF_8);
        diagnosticInfo.append("Last ").append(tailSizeInBytes)
        .append(" bytes of ").append(errorFile.getName()).append(" :\n")

        • .append(new String(tailBuffer, StandardCharsets.UTF_8));
          + .append(tailBufferMsg).append("\n");
          + if (tailBufferMsg.indexOf("Error: Could not find or load main class org.apache.hadoop.mapreduce") != -1)
          Unknown macro: {+ diagnosticInfo.append("Please check whether your etc/hadoop/mapred-site.xml contains the below configuration}

          }
          } catch (IOException e) {
          LOG.error("Failed to get tail of the container's error log file", e);

        Show
        littlestone00 Linlin Zhou added a comment - diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/launcher/ContainerLaunch.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/launcher/ContainerLaunch.java index 0b599a873f..4b4c2293f1 100644 — a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/launcher/ContainerLaunch.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/launcher/ContainerLaunch.java @@ -562,9 +562,23 @@ protected void handleContainerExitWithFailure(ContainerId containerID, errorFileIS = fileSystem.open(errorFile); errorFileIS.readFully(startPosition, tailBuffer); + String tailBufferMsg = new String(tailBuffer, StandardCharsets.UTF_8); diagnosticInfo.append("Last ").append(tailSizeInBytes) .append(" bytes of ").append(errorFile.getName()).append(" :\n") .append(new String(tailBuffer, StandardCharsets.UTF_8)); + .append(tailBufferMsg).append("\n"); + if (tailBufferMsg.indexOf("Error: Could not find or load main class org.apache.hadoop.mapreduce") != -1) Unknown macro: {+ diagnosticInfo.append("Please check whether your etc/hadoop/mapred-site.xml contains the below configuration} } } catch (IOException e) { LOG.error("Failed to get tail of the container's error log file", e);
        Hide
        gtCarrera9 Li Lu added a comment -

        Thanks for the work Linlin Zhou, this appears to be a real usability issue for a lot of new Hadoop developers. Since you have already uploaded a patch, I'm assigning this JIRA to you. The general direction of the fix looks fine. Adding log message clearly acknowledge users potential root cause sounds quite helpful.

        One potential issue is that the fix appears to be in node manager's code, but there is logic specifically for MapReduce. Maybe we can make this error message less hard-coded? (I'm still thinking about possible ways to improve this but so far I've got no trivial answer...)

        Show
        gtCarrera9 Li Lu added a comment - Thanks for the work Linlin Zhou , this appears to be a real usability issue for a lot of new Hadoop developers. Since you have already uploaded a patch, I'm assigning this JIRA to you. The general direction of the fix looks fine. Adding log message clearly acknowledge users potential root cause sounds quite helpful. One potential issue is that the fix appears to be in node manager's code, but there is logic specifically for MapReduce. Maybe we can make this error message less hard-coded? (I'm still thinking about possible ways to improve this but so far I've got no trivial answer...)
        Hide
        gtCarrera9 Li Lu added a comment -

        I kicked Jenkins for a precommit build. Not sure why this was missed.

        Show
        gtCarrera9 Li Lu added a comment - I kicked Jenkins for a precommit build. Not sure why this was missed.
        Hide
        hadoopqa Hadoop QA added a comment -
        -1 overall



        Vote Subsystem Runtime Comment
        0 reexec 0m 19s Docker mode activated.
              Prechecks
        +1 @author 0m 0s The patch does not contain any @author tags.
        -1 test4tests 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.
              trunk Compile Tests
        +1 mvninstall 13m 57s trunk passed
        +1 compile 0m 41s trunk passed
        +1 checkstyle 0m 19s trunk passed
        +1 mvnsite 0m 29s trunk passed
        -1 findbugs 0m 44s hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager in trunk has 1 extant Findbugs warnings.
        +1 javadoc 0m 18s trunk passed
              Patch Compile Tests
        +1 mvninstall 0m 25s the patch passed
        +1 compile 0m 39s the patch passed
        +1 javac 0m 39s the patch passed
        -0 checkstyle 0m 16s hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager: The patch generated 11 new + 41 unchanged - 1 fixed = 52 total (was 42)
        +1 mvnsite 0m 25s the patch passed
        -1 whitespace 0m 0s The patch 11 line(s) with tabs.
        +1 findbugs 0m 48s the patch passed
        +1 javadoc 0m 15s the patch passed
              Other Tests
        +1 unit 13m 26s hadoop-yarn-server-nodemanager in the patch passed.
        +1 asflicense 0m 13s The patch does not generate ASF License warnings.
        34m 28s



        Subsystem Report/Notes
        Docker Image:yetus/hadoop:14b5c93
        JIRA Issue YARN-6999
        JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12881624/yarn-6999.patch
        Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle
        uname Linux c584249b493a 3.13.0-119-generic #166-Ubuntu SMP Wed May 3 12:18:55 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
        Build tool maven
        Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
        git revision trunk / 99e558b
        Default Java 1.8.0_144
        findbugs v3.1.0-RC1
        findbugs https://builds.apache.org/job/PreCommit-YARN-Build/16982/artifact/patchprocess/branch-findbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager-warnings.html
        checkstyle https://builds.apache.org/job/PreCommit-YARN-Build/16982/artifact/patchprocess/diff-checkstyle-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager.txt
        whitespace https://builds.apache.org/job/PreCommit-YARN-Build/16982/artifact/patchprocess/whitespace-tabs.txt
        Test Results https://builds.apache.org/job/PreCommit-YARN-Build/16982/testReport/
        modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager
        Console output https://builds.apache.org/job/PreCommit-YARN-Build/16982/console
        Powered by Apache Yetus 0.6.0-SNAPSHOT http://yetus.apache.org

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 reexec 0m 19s Docker mode activated.       Prechecks +1 @author 0m 0s The patch does not contain any @author tags. -1 test4tests 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.       trunk Compile Tests +1 mvninstall 13m 57s trunk passed +1 compile 0m 41s trunk passed +1 checkstyle 0m 19s trunk passed +1 mvnsite 0m 29s trunk passed -1 findbugs 0m 44s hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager in trunk has 1 extant Findbugs warnings. +1 javadoc 0m 18s trunk passed       Patch Compile Tests +1 mvninstall 0m 25s the patch passed +1 compile 0m 39s the patch passed +1 javac 0m 39s the patch passed -0 checkstyle 0m 16s hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager: The patch generated 11 new + 41 unchanged - 1 fixed = 52 total (was 42) +1 mvnsite 0m 25s the patch passed -1 whitespace 0m 0s The patch 11 line(s) with tabs. +1 findbugs 0m 48s the patch passed +1 javadoc 0m 15s the patch passed       Other Tests +1 unit 13m 26s hadoop-yarn-server-nodemanager in the patch passed. +1 asflicense 0m 13s The patch does not generate ASF License warnings. 34m 28s Subsystem Report/Notes Docker Image:yetus/hadoop:14b5c93 JIRA Issue YARN-6999 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12881624/yarn-6999.patch Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle uname Linux c584249b493a 3.13.0-119-generic #166-Ubuntu SMP Wed May 3 12:18:55 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / 99e558b Default Java 1.8.0_144 findbugs v3.1.0-RC1 findbugs https://builds.apache.org/job/PreCommit-YARN-Build/16982/artifact/patchprocess/branch-findbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager-warnings.html checkstyle https://builds.apache.org/job/PreCommit-YARN-Build/16982/artifact/patchprocess/diff-checkstyle-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager.txt whitespace https://builds.apache.org/job/PreCommit-YARN-Build/16982/artifact/patchprocess/whitespace-tabs.txt Test Results https://builds.apache.org/job/PreCommit-YARN-Build/16982/testReport/ modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager Console output https://builds.apache.org/job/PreCommit-YARN-Build/16982/console Powered by Apache Yetus 0.6.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
        Hide
        littlestone00 Linlin Zhou added a comment -

        Thank you very much for your nice suggestions @ Li Lu. I thought it yesterday and today but still can't figure out a good solution to solve this problem without hard-coding. I add a new patch in which I extract the new suggestion log in a separate method which maybe better for extension in the future.

        Show
        littlestone00 Linlin Zhou added a comment - Thank you very much for your nice suggestions @ Li Lu . I thought it yesterday and today but still can't figure out a good solution to solve this problem without hard-coding. I add a new patch in which I extract the new suggestion log in a separate method which maybe better for extension in the future.
        Hide
        gtCarrera9 Li Lu added a comment -

        This looks much better, thanks for the work Linlin Zhou! Could you please rename the patch to .patch so that we can rerun Jenkins again? Also, the concerns raised by checkstyle appears to be valid, could you please fix that as well? The warning from findbugs appears to be irrelevant, so let's focus on checkstyle and whitespaces first.

        Show
        gtCarrera9 Li Lu added a comment - This looks much better, thanks for the work Linlin Zhou ! Could you please rename the patch to .patch so that we can rerun Jenkins again? Also, the concerns raised by checkstyle appears to be valid, could you please fix that as well? The warning from findbugs appears to be irrelevant, so let's focus on checkstyle and whitespaces first.
        Hide
        littlestone00 Linlin Zhou added a comment -

        Thanks for the advice Li Lu (inactive). I have rename the patch and fix the whitespaces problem. Is the checkstyle concern caused by using tab instead of whitespaces, if so, it is fixed in the new patch.

        Show
        littlestone00 Linlin Zhou added a comment - Thanks for the advice Li Lu (inactive) . I have rename the patch and fix the whitespaces problem. Is the checkstyle concern caused by using tab instead of whitespaces, if so, it is fixed in the new patch.
        Hide
        hadoopqa Hadoop QA added a comment -
        -1 overall



        Vote Subsystem Runtime Comment
        0 reexec 0m 25s Docker mode activated.
              Prechecks
        +1 @author 0m 0s The patch does not contain any @author tags.
        -1 test4tests 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.
              trunk Compile Tests
        +1 mvninstall 17m 33s trunk passed
        +1 compile 1m 11s trunk passed
        +1 checkstyle 0m 31s trunk passed
        +1 mvnsite 0m 44s trunk passed
        -1 findbugs 1m 2s hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager in trunk has 1 extant Findbugs warnings.
        +1 javadoc 0m 26s trunk passed
              Patch Compile Tests
        +1 mvninstall 0m 36s the patch passed
        +1 compile 0m 55s the patch passed
        +1 javac 0m 55s the patch passed
        -0 checkstyle 0m 21s hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager: The patch generated 6 new + 42 unchanged - 0 fixed = 48 total (was 42)
        +1 mvnsite 0m 34s the patch passed
        -1 whitespace 0m 0s The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
        +1 findbugs 1m 4s the patch passed
        +1 javadoc 0m 23s the patch passed
              Other Tests
        -1 unit 15m 39s hadoop-yarn-server-nodemanager in the patch failed.
        +1 asflicense 0m 21s The patch does not generate ASF License warnings.
        43m 28s



        Reason Tests
        Failed junit tests hadoop.yarn.server.nodemanager.containermanager.logaggregation.TestLogAggregationService



        Subsystem Report/Notes
        Docker Image:yetus/hadoop:14b5c93
        JIRA Issue YARN-6999
        JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12883567/yarn-6999.002.patch
        Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle
        uname Linux 9d498ee3a4a5 3.13.0-116-generic #163-Ubuntu SMP Fri Mar 31 14:13:22 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
        Build tool maven
        Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
        git revision trunk / 8196a07
        Default Java 1.8.0_144
        findbugs v3.1.0-RC1
        findbugs https://builds.apache.org/job/PreCommit-YARN-Build/17116/artifact/patchprocess/branch-findbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager-warnings.html
        checkstyle https://builds.apache.org/job/PreCommit-YARN-Build/17116/artifact/patchprocess/diff-checkstyle-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager.txt
        whitespace https://builds.apache.org/job/PreCommit-YARN-Build/17116/artifact/patchprocess/whitespace-eol.txt
        unit https://builds.apache.org/job/PreCommit-YARN-Build/17116/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager.txt
        Test Results https://builds.apache.org/job/PreCommit-YARN-Build/17116/testReport/
        modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager
        Console output https://builds.apache.org/job/PreCommit-YARN-Build/17116/console
        Powered by Apache Yetus 0.6.0-SNAPSHOT http://yetus.apache.org

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 reexec 0m 25s Docker mode activated.       Prechecks +1 @author 0m 0s The patch does not contain any @author tags. -1 test4tests 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.       trunk Compile Tests +1 mvninstall 17m 33s trunk passed +1 compile 1m 11s trunk passed +1 checkstyle 0m 31s trunk passed +1 mvnsite 0m 44s trunk passed -1 findbugs 1m 2s hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager in trunk has 1 extant Findbugs warnings. +1 javadoc 0m 26s trunk passed       Patch Compile Tests +1 mvninstall 0m 36s the patch passed +1 compile 0m 55s the patch passed +1 javac 0m 55s the patch passed -0 checkstyle 0m 21s hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager: The patch generated 6 new + 42 unchanged - 0 fixed = 48 total (was 42) +1 mvnsite 0m 34s the patch passed -1 whitespace 0m 0s The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply +1 findbugs 1m 4s the patch passed +1 javadoc 0m 23s the patch passed       Other Tests -1 unit 15m 39s hadoop-yarn-server-nodemanager in the patch failed. +1 asflicense 0m 21s The patch does not generate ASF License warnings. 43m 28s Reason Tests Failed junit tests hadoop.yarn.server.nodemanager.containermanager.logaggregation.TestLogAggregationService Subsystem Report/Notes Docker Image:yetus/hadoop:14b5c93 JIRA Issue YARN-6999 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12883567/yarn-6999.002.patch Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle uname Linux 9d498ee3a4a5 3.13.0-116-generic #163-Ubuntu SMP Fri Mar 31 14:13:22 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / 8196a07 Default Java 1.8.0_144 findbugs v3.1.0-RC1 findbugs https://builds.apache.org/job/PreCommit-YARN-Build/17116/artifact/patchprocess/branch-findbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager-warnings.html checkstyle https://builds.apache.org/job/PreCommit-YARN-Build/17116/artifact/patchprocess/diff-checkstyle-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager.txt whitespace https://builds.apache.org/job/PreCommit-YARN-Build/17116/artifact/patchprocess/whitespace-eol.txt unit https://builds.apache.org/job/PreCommit-YARN-Build/17116/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager.txt Test Results https://builds.apache.org/job/PreCommit-YARN-Build/17116/testReport/ modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager Console output https://builds.apache.org/job/PreCommit-YARN-Build/17116/console Powered by Apache Yetus 0.6.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
        Hide
        hadoopqa Hadoop QA added a comment -
        -1 overall



        Vote Subsystem Runtime Comment
        0 reexec 0m 19s Docker mode activated.
              Prechecks
        +1 @author 0m 0s The patch does not contain any @author tags.
        -1 test4tests 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.
              trunk Compile Tests
        +1 mvninstall 13m 55s trunk passed
        +1 compile 0m 41s trunk passed
        +1 checkstyle 0m 18s trunk passed
        +1 mvnsite 0m 28s trunk passed
        -1 findbugs 0m 43s hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager in trunk has 1 extant Findbugs warnings.
        +1 javadoc 0m 17s trunk passed
              Patch Compile Tests
        +1 mvninstall 0m 25s the patch passed
        +1 compile 0m 38s the patch passed
        +1 javac 0m 38s the patch passed
        +1 checkstyle 0m 15s the patch passed
        +1 mvnsite 0m 26s the patch passed
        -1 whitespace 0m 0s The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
        +1 findbugs 0m 48s the patch passed
        +1 javadoc 0m 14s the patch passed
              Other Tests
        +1 unit 13m 32s hadoop-yarn-server-nodemanager in the patch passed.
        +1 asflicense 0m 17s The patch does not generate ASF License warnings.
        34m 30s



        Subsystem Report/Notes
        Docker Image:yetus/hadoop:14b5c93
        JIRA Issue YARN-6999
        JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12883576/yarn-6999.002.patch
        Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle
        uname Linux 9bacd46d8dc1 3.13.0-119-generic #166-Ubuntu SMP Wed May 3 12:18:55 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
        Build tool maven
        Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
        git revision trunk / 8196a07
        Default Java 1.8.0_144
        findbugs v3.1.0-RC1
        findbugs https://builds.apache.org/job/PreCommit-YARN-Build/17118/artifact/patchprocess/branch-findbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager-warnings.html
        whitespace https://builds.apache.org/job/PreCommit-YARN-Build/17118/artifact/patchprocess/whitespace-eol.txt
        Test Results https://builds.apache.org/job/PreCommit-YARN-Build/17118/testReport/
        modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager
        Console output https://builds.apache.org/job/PreCommit-YARN-Build/17118/console
        Powered by Apache Yetus 0.6.0-SNAPSHOT http://yetus.apache.org

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 reexec 0m 19s Docker mode activated.       Prechecks +1 @author 0m 0s The patch does not contain any @author tags. -1 test4tests 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.       trunk Compile Tests +1 mvninstall 13m 55s trunk passed +1 compile 0m 41s trunk passed +1 checkstyle 0m 18s trunk passed +1 mvnsite 0m 28s trunk passed -1 findbugs 0m 43s hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager in trunk has 1 extant Findbugs warnings. +1 javadoc 0m 17s trunk passed       Patch Compile Tests +1 mvninstall 0m 25s the patch passed +1 compile 0m 38s the patch passed +1 javac 0m 38s the patch passed +1 checkstyle 0m 15s the patch passed +1 mvnsite 0m 26s the patch passed -1 whitespace 0m 0s The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply +1 findbugs 0m 48s the patch passed +1 javadoc 0m 14s the patch passed       Other Tests +1 unit 13m 32s hadoop-yarn-server-nodemanager in the patch passed. +1 asflicense 0m 17s The patch does not generate ASF License warnings. 34m 30s Subsystem Report/Notes Docker Image:yetus/hadoop:14b5c93 JIRA Issue YARN-6999 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12883576/yarn-6999.002.patch Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle uname Linux 9bacd46d8dc1 3.13.0-119-generic #166-Ubuntu SMP Wed May 3 12:18:55 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / 8196a07 Default Java 1.8.0_144 findbugs v3.1.0-RC1 findbugs https://builds.apache.org/job/PreCommit-YARN-Build/17118/artifact/patchprocess/branch-findbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager-warnings.html whitespace https://builds.apache.org/job/PreCommit-YARN-Build/17118/artifact/patchprocess/whitespace-eol.txt Test Results https://builds.apache.org/job/PreCommit-YARN-Build/17118/testReport/ modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager Console output https://builds.apache.org/job/PreCommit-YARN-Build/17118/console Powered by Apache Yetus 0.6.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
        Hide
        hadoopqa Hadoop QA added a comment -
        -1 overall



        Vote Subsystem Runtime Comment
        0 reexec 0m 22s Docker mode activated.
              Prechecks
        +1 @author 0m 0s The patch does not contain any @author tags.
        -1 test4tests 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.
              trunk Compile Tests
        +1 mvninstall 15m 29s trunk passed
        +1 compile 0m 45s trunk passed
        +1 checkstyle 0m 21s trunk passed
        +1 mvnsite 0m 30s trunk passed
        -1 findbugs 0m 45s hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager in trunk has 1 extant Findbugs warnings.
        +1 javadoc 0m 19s trunk passed
              Patch Compile Tests
        +1 mvninstall 0m 25s the patch passed
        +1 compile 0m 40s the patch passed
        +1 javac 0m 40s the patch passed
        +1 checkstyle 0m 16s the patch passed
        +1 mvnsite 0m 27s the patch passed
        +1 whitespace 0m 0s The patch has no whitespace issues.
        +1 findbugs 0m 51s the patch passed
        +1 javadoc 0m 17s the patch passed
              Other Tests
        +1 unit 14m 17s hadoop-yarn-server-nodemanager in the patch passed.
        +1 asflicense 0m 15s The patch does not generate ASF License warnings.
        37m 14s



        Subsystem Report/Notes
        Docker Image:yetus/hadoop:14b5c93
        JIRA Issue YARN-6999
        JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12883584/yarn-6999.003.patch
        Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle
        uname Linux aa38e52e3f03 3.13.0-123-generic #172-Ubuntu SMP Mon Jun 26 18:04:35 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
        Build tool maven
        Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
        git revision trunk / 8196a07
        Default Java 1.8.0_144
        findbugs v3.1.0-RC1
        findbugs https://builds.apache.org/job/PreCommit-YARN-Build/17120/artifact/patchprocess/branch-findbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager-warnings.html
        Test Results https://builds.apache.org/job/PreCommit-YARN-Build/17120/testReport/
        modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager
        Console output https://builds.apache.org/job/PreCommit-YARN-Build/17120/console
        Powered by Apache Yetus 0.6.0-SNAPSHOT http://yetus.apache.org

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 reexec 0m 22s Docker mode activated.       Prechecks +1 @author 0m 0s The patch does not contain any @author tags. -1 test4tests 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.       trunk Compile Tests +1 mvninstall 15m 29s trunk passed +1 compile 0m 45s trunk passed +1 checkstyle 0m 21s trunk passed +1 mvnsite 0m 30s trunk passed -1 findbugs 0m 45s hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager in trunk has 1 extant Findbugs warnings. +1 javadoc 0m 19s trunk passed       Patch Compile Tests +1 mvninstall 0m 25s the patch passed +1 compile 0m 40s the patch passed +1 javac 0m 40s the patch passed +1 checkstyle 0m 16s the patch passed +1 mvnsite 0m 27s the patch passed +1 whitespace 0m 0s The patch has no whitespace issues. +1 findbugs 0m 51s the patch passed +1 javadoc 0m 17s the patch passed       Other Tests +1 unit 14m 17s hadoop-yarn-server-nodemanager in the patch passed. +1 asflicense 0m 15s The patch does not generate ASF License warnings. 37m 14s Subsystem Report/Notes Docker Image:yetus/hadoop:14b5c93 JIRA Issue YARN-6999 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12883584/yarn-6999.003.patch Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle uname Linux aa38e52e3f03 3.13.0-123-generic #172-Ubuntu SMP Mon Jun 26 18:04:35 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / 8196a07 Default Java 1.8.0_144 findbugs v3.1.0-RC1 findbugs https://builds.apache.org/job/PreCommit-YARN-Build/17120/artifact/patchprocess/branch-findbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager-warnings.html Test Results https://builds.apache.org/job/PreCommit-YARN-Build/17120/testReport/ modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager Console output https://builds.apache.org/job/PreCommit-YARN-Build/17120/console Powered by Apache Yetus 0.6.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
        Hide
        gtCarrera9 Li Lu added a comment -

        Patch LGTM. The patch is trivial for unit tests. Findbugs warning appears to be irrelevant. I'll wait for ~24 hrs before commit.

        Show
        gtCarrera9 Li Lu added a comment - Patch LGTM. The patch is trivial for unit tests. Findbugs warning appears to be irrelevant. I'll wait for ~24 hrs before commit.
        Hide
        gtCarrera9 Li Lu added a comment -

        Committed to trunk and branch-2. Thanks Linlin Zhou for the work!

        Show
        gtCarrera9 Li Lu added a comment - Committed to trunk and branch-2. Thanks Linlin Zhou for the work!
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #12249 (See https://builds.apache.org/job/Hadoop-trunk-Commit/12249/)
        YARN-6999. Add log about how to solve Error: Could not find or load main (gtcarrera9: rev 3bee7046c52bff681a5aecc956ba9be6c3543397)

        • (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/launcher/ContainerLaunch.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #12249 (See https://builds.apache.org/job/Hadoop-trunk-Commit/12249/ ) YARN-6999 . Add log about how to solve Error: Could not find or load main (gtcarrera9: rev 3bee7046c52bff681a5aecc956ba9be6c3543397) (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/launcher/ContainerLaunch.java

          People

          • Assignee:
            littlestone00 Linlin Zhou
            Reporter:
            littlestone00 Linlin Zhou
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

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

                Development