Issue Details (XML | Word | Printable)

Key: HADOOP-5166
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Amar Kamat
Reporter: Karam Singh
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Hadoop Common

JobTracker fails to restart if recovery and ACLs are enabled

Created: 04/Feb/09 01:27 PM   Updated: 08/Jul/09 04:53 PM
Return to search
Component/s: None
Affects Version/s: 0.20.0
Fix Version/s: 0.19.1

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works HADOOP-5166-v1.0-0.19.patch 2009-02-12 01:52 PM Amar Kamat 2 kB
Text File Licensed for inclusion in ASF works HADOOP-5166-v1.0.patch 2009-02-04 01:55 PM Amar Kamat 2 kB

Hadoop Flags: Reviewed
Resolution Date: 12/Feb/09 02:17 PM


 Description  « Hide
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



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Amar Kamat added a comment - 04/Feb/09 01:55 PM
A straightforward fix. In JobTracker.java, moving the access check to submitJob() instead of addJob().

rahul k singh added a comment - 10/Feb/09 08:38 AM
reviewed . +1

Hadoop QA added a comment - 11/Feb/09 08:40 AM
-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 added a comment - 11/Feb/09 10:13 AM
Tests hdfs.TestInjectionForSimulatedStorage.testInjection and chukwa.datacollection.agent.TestAgentConfig.testInitAdaptors_vs_Checkpoint failed. I dont think they are related.

Amar Kamat added a comment - 12/Feb/09 01:52 PM
The current patch applies to 0.20. Attaching a patch for 0.19.

Hemanth Yamijala added a comment - 12/Feb/09 02:17 PM
I committed this to trunk, branches 0.20 and 0.19. Thanks, Amar !

Hudson added a comment - 16/Feb/09 05:00 PM