Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2997

MR task fails before launch itself with an NPE in ContainerLauncher

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.0
    • Fix Version/s: 0.23.0
    • Component/s: applicationmaster, mrv2
    • Labels:
      None

      Description

      Exception found on the AM web UI while the application is running:

      Container launch failed for container_1315908079531_0002_01_000387 : java.lang.NullPointerException
        at org.apache.hadoop.mapreduce.v2.app.launcher.ContainerLauncherImpl.getCMProxy(ContainerLauncherImpl.java:162)
        at org.apache.hadoop.mapreduce.v2.app.launcher.ContainerLauncherImpl$EventProcessor.run(ContainerLauncherImpl.java:204)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619) 
      
      1. MAPREDUCE-2997-20110913.txt
        3 kB
        Vinod Kumar Vavilapalli

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        27m 46s 1 Vinod Kumar Vavilapalli 13/Sep/11 12:06
        Patch Available Patch Available Resolved Resolved
        7h 10m 1 Arun C Murthy 13/Sep/11 19:16
        Resolved Resolved Closed Closed
        62d 6h 32m 1 Arun C Murthy 15/Nov/11 00:48
        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Arun C Murthy made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Arun C Murthy added a comment -

        +1, hard to write a unit test for.

        I just committed this. Thanks Vinod!

        Show
        Arun C Murthy added a comment - +1, hard to write a unit test for. I just committed this. Thanks Vinod!
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12494214/MAPREDUCE-2997-20110913.txt
        against trunk revision .

        +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 javadoc. The javadoc tool did not generate any warning messages.

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

        +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) 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 .

        +1 contrib tests. The patch passed contrib unit tests.

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

        This message is automatically generated.

        Show
        Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12494214/MAPREDUCE-2997-20110913.txt against trunk revision . +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 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) 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 . +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/715//testReport/ Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/715//console This message is automatically generated.
        Vinod Kumar Vavilapalli made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Assignee Vinod Kumar Vavilapalli [ vinodkv ]
        Vinod Kumar Vavilapalli made changes -
        Field Original Value New Value
        Attachment MAPREDUCE-2997-20110913.txt [ 12494214 ]
        Hide
        Vinod Kumar Vavilapalli added a comment -

        This is because of a race in ContainerLauncher. I do see the synchronization TODO I put long time back

        Show
        Vinod Kumar Vavilapalli added a comment - This is because of a race in ContainerLauncher. I do see the synchronization TODO I put long time back
        Vinod Kumar Vavilapalli created issue -

          People

          • Assignee:
            Vinod Kumar Vavilapalli
            Reporter:
            Vinod Kumar Vavilapalli
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development