[ https://issues.apache.org/jira/browse/MAPREDUCE-2059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konstantin Shvachko updated MAPREDUCE-2059: ------------------------------------------- Attachment: MAPREDUCE-2059.patch I was impatient. It runs for about 5 minutes. But the new test was failing, because the previous test case testJobTrackerInfoCreation() was not closing MiniDFSCluter. I added the shutdown statement, and cleaned up some deprecations in the new test. Also change job completion threshold from 50% to 20%, which reduced running time from 290 sec to 150. > RecoveryManager attempts to add jobtracker.info > ----------------------------------------------- > > Key: MAPREDUCE-2059 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-2059 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: jobtracker > Affects Versions: 0.20.203.0, 0.22.0 > Environment: > https://svn.apache.org/repos/asf/hadoop/mapreduce/trunk@994941 > Reporter: Dan Adkins > Labels: hadoop > Fix For: 0.22.0 > > Attachments: MAPREDUCE-2059.patch, MAPREDUCE-2059.patch > > > The jobtracker is treating the file 'jobtracker.info' in the system data > directory as a job to be recovered, resulting in the following: > 10/09/09 18:06:02 WARN mapred.JobTracker: Failed to add the job > jobtracker.info > java.lang.IllegalArgumentException: JobId string : jobtracker.info is not > properly formed > at org.apache.hadoop.mapreduce.JobID.forName(JobID.java:158) > at org.apache.hadoop.mapred.JobID.forName(JobID.java:84) > at > org.apache.hadoop.mapred.JobTracker$RecoveryManager.addJobForRecovery(JobTracker.java:1057) > at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:1565) > at > org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:275) > at > org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:267) > at > org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:262) > at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:4256) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira