hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sameer Paranjpye (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-544) Replace the job, tip and task ids with objects.
Date Thu, 28 Sep 2006 20:22:58 GMT
     [ http://issues.apache.org/jira/browse/HADOOP-544?page=all ]

Sameer Paranjpye updated HADOOP-544:
------------------------------------

    Component/s: mapred

> Replace the job, tip and task ids with objects.
> -----------------------------------------------
>
>                 Key: HADOOP-544
>                 URL: http://issues.apache.org/jira/browse/HADOOP-544
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: mapred
>    Affects Versions: 0.6.2
>            Reporter: Owen O'Malley
>         Assigned To: Owen O'Malley
>
> I think that it is silly to have tools parsing the strings that the framework builds
for task ids. I propose:
> class JobId implements Writable {
>   private int;
>   ...
> }
> class TaskId extends JobId { 
>   private boolean isMap;
>   private int taskId;
>   ...
> }
> class TaskAttemptId extends TaskId {
>   private int attemptId;
>   ...
> }
> each of the classes will have a toString() method that generates the current string.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message