Details
-
Bug
-
Status: Patch Available
-
Minor
-
Resolution: Unresolved
-
1.2.0
-
None
Description
JobID output by "hadoop job -history" command is wrong string.
[hadoop@hadoop hadoop]$ hadoop job -history terasort
Hadoop job: 0001_1374260789919_hadoop
=====================================
Job tracker host name: job
job tracker start time: Tue May 18 15:39:51 PDT 1976
User: hadoop
JobName: TeraSort
JobConf: hdfs://hadoop:8020/hadoop/mapred/staging/hadoop/.staging/job_201307191206_0001/job.xml
Submitted At: 19-7-2013 12:06:29
Launched At: 19-7-2013 12:06:30 (0sec)
Finished At: 19-7-2013 12:06:44 (14sec)
Status: SUCCESS
In this example, it should show "job_201307191206_0001" at "Hadoop job:", but shows "0001_1374260789919_hadoop". In addition, "Job tracker host name" and "job tracker start time" is invalid.
This problem can solve by fixing setting of jobId in HistoryViewer(). In addition, it should fix the information of JobTracker at HistoryViewr.