Fengdong Yu created YARN-1851:
---------------------------------
Summary: Unable to parse launch time from job history file
Key: YARN-1851
URL: https://issues.apache.org/jira/browse/YARN-1851
Project: Hadoop YARN
Issue Type: Bug
Components: resourcemanager
Affects Versions: 2.4.0
Reporter: Fengdong Yu
Priority: Minor
Fix For: 2.4.0
when job complete, there are WARN complains in the log:
{code}
2014-03-19 13:31:10,036 WARN
org.apache.hadoop.mapreduce.v2.jobhistory.FileNameIndexUtils: Unable to parse
launch time from job history file
job_1395204058904_0003-1395206473646-root-test_one_word-1395206966214-4-2-SUCCEEDED-root.test-queue-1395206480070.jhist
: java.lang.NumberFormatException: For input string: "queue"
{code}
because there is '-' in the queue name 'test-queue', we split the job history
file name by '-', and get the ninth item as job start time.
FileNameIndexUtils.java
{code}
private static final int JOB_START_TIME_INDEX = 9;
{code}
but there is another potential issue:
if I also include '-' in the job name(test_one_world in this case), there are
all misunderstand.
--
This message was sent by Atlassian JIRA
(v6.2#6252)