Hadoop Common
  1. Hadoop Common
  2. HADOOP-5166

JobTracker fails to restart if recovery and ACLs are enabled

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.20.0
    • Fix Version/s: 0.19.1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      JobTracker fails to restart and throw NullPointerException when mapred.jobtracker.restart.recover and mapred.acls.enabled are set to true

      2009-02-04 12:28:19,834 FATAL org.apache.hadoop.mapred.JobTracker: java.lang.NullPointerException
      at org.apache.hadoop.mapred.QueueManager.hasAccess(QueueManager.java:185)
      at org.apache.hadoop.mapred.JobTracker.checkAccess(JobTracker.java:2694)
      at org.apache.hadoop.mapred.JobTracker.addJob(JobTracker.java:2663)
      at org.apache.hadoop.mapred.JobTracker.access$2300(JobTracker.java:86)
      at org.apache.hadoop.mapred.JobTracker$RecoveryManager.recover(JobTracker.java:1099)
      at org.apache.hadoop.mapred.JobTracker.offerS

      1. HADOOP-5166-v1.0.patch
        2 kB
        Amar Kamat
      2. HADOOP-5166-v1.0-0.19.patch
        2 kB
        Amar Kamat

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        6d 14h 33m 1 Amar Kamat 11/Feb/09 04:00
        Patch Available Patch Available Resolved Resolved
        1d 10h 16m 1 Hemanth Yamijala 12/Feb/09 14:17
        Resolved Resolved Closed Closed
        12d 9h 20m 1 Nigel Daley 24/Feb/09 23:37
        Owen O'Malley made changes -
        Component/s mapred [ 12310690 ]
        Nigel Daley made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        Hudson added a comment -
        Show
        Hudson added a comment - Integrated in Hadoop-trunk #756 (See http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/756/ )
        Hemanth Yamijala made changes -
        Fix Version/s 0.19.1 [ 12313473 ]
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Resolution Fixed [ 1 ]
        Hide
        Hemanth Yamijala added a comment -

        I committed this to trunk, branches 0.20 and 0.19. Thanks, Amar !

        Show
        Hemanth Yamijala added a comment - I committed this to trunk, branches 0.20 and 0.19. Thanks, Amar !
        Amar Kamat made changes -
        Attachment HADOOP-5166-v1.0-0.19.patch [ 12400105 ]
        Hide
        Amar Kamat added a comment -

        The current patch applies to 0.20. Attaching a patch for 0.19.

        Show
        Amar Kamat added a comment - The current patch applies to 0.20. Attaching a patch for 0.19.
        Hide
        Amar Kamat added a comment -

        Tests hdfs.TestInjectionForSimulatedStorage.testInjection and chukwa.datacollection.agent.TestAgentConfig.testInitAdaptors_vs_Checkpoint failed. I dont think they are related.

        Show
        Amar Kamat added a comment - Tests hdfs.TestInjectionForSimulatedStorage.testInjection and chukwa.datacollection.agent.TestAgentConfig.testInitAdaptors_vs_Checkpoint failed. I dont think they are related.
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12399452/HADOOP-5166-v1.0.patch
        against trunk revision 743045.

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

        +1 tests included. The patch appears to include 3 new or modified tests.

        +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 warnings.

        +1 Eclipse classpath. The patch retains Eclipse classpath integrity.

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

        -1 core tests. The patch failed core unit tests.

        -1 contrib tests. The patch failed contrib unit tests.

        Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3831/testReport/
        Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3831/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
        Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3831/artifact/trunk/build/test/checkstyle-errors.html
        Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3831/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/12399452/HADOOP-5166-v1.0.patch against trunk revision 743045. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +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 warnings. +1 Eclipse classpath. The patch retains Eclipse classpath integrity. +1 release audit. The applied patch does not increase the total number of release audit warnings. -1 core tests. The patch failed core unit tests. -1 contrib tests. The patch failed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3831/testReport/ Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3831/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3831/artifact/trunk/build/test/checkstyle-errors.html Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3831/console This message is automatically generated.
        Amar Kamat made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hide
        rahul k singh added a comment -

        reviewed . +1

        Show
        rahul k singh added a comment - reviewed . +1
        Amar Kamat made changes -
        Component/s mapred [ 12310690 ]
        Assignee Amar Kamat [ amar_kamat ]
        Priority Major [ 3 ] Blocker [ 1 ]
        Amar Kamat made changes -
        Field Original Value New Value
        Attachment HADOOP-5166-v1.0.patch [ 12399452 ]
        Hide
        Amar Kamat added a comment -

        A straightforward fix. In JobTracker.java, moving the access check to submitJob() instead of addJob().

        Show
        Amar Kamat added a comment - A straightforward fix. In JobTracker.java , moving the access check to submitJob() instead of addJob() .
        Karam Singh created issue -

          People

          • Assignee:
            Amar Kamat
            Reporter:
            Karam Singh
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development