hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amar Kamat (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4017) Unify the way job history filename is parsed
Date Wed, 03 Sep 2008 08:47:44 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-4017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627934#action_12627934
] 

Amar Kamat commented on HADOOP-4017:
------------------------------------

The way job details are recovered from the jobhistory filename is buggy. Every piece of code
that tries to infer this information does  something like
{code}
1. split on '_'
2) username = split[5].
{code}
But the username can also have a '_' and this trick might no longer work. Same is true for
jobname. 

> Unify  the way job history filename is parsed
> ---------------------------------------------
>
>                 Key: HADOOP-4017
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4017
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred
>            Reporter: Amar Kamat
>
> Job history filename has the following meta-info :
> - jobtracker's hostname
> - job id
> - username
> - jobname
> {{HistoryViewer.java}} and {{jobhistory.jsp}} are required to parse the history filename
to extract the meta-info. It makes more sense to provide a common utility in {{JobHistory}}
to do it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message