hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira AJISAKA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1851) Unable to parse launch time from job history file
Date Wed, 19 Mar 2014 18:19:44 GMT

    [ https://issues.apache.org/jira/browse/YARN-1851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13940779#comment-13940779
] 

Akira AJISAKA commented on YARN-1851:
-------------------------------------

I looked around the code and found that user name and job name are escaped, but queue name
is not escaped. I'll create a patch to escape queue name shortly.

> 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
>            Assignee: Akira AJISAKA
>            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)

Mime
View raw message