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

        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() .
        Hide
        rahul k singh added a comment -

        reviewed . +1

        Show
        rahul k singh added a comment - reviewed . +1
        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.
        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
        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
        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 !
        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/ )

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development