You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Owen O'Malley (JIRA)" <ji...@apache.org> on 2008/05/13 05:32:57 UTC

[jira] Commented: (HADOOP-3343) Replace Strings with Objects for representing the slaves in the JobTracker.

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

Owen O'Malley commented on HADOOP-3343:
---------------------------------------

You should also probably track how many tasks it has run, how many failed, how many jobs blacklisted it, and when it was last heard from.

> Replace Strings with Objects for representing the slaves in the JobTracker.
> ---------------------------------------------------------------------------
>
>                 Key: HADOOP-3343
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3343
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: mapred
>            Reporter: Amar Kamat
>
> Currently the JobTracker stores the trackername as a String. JobTracker relies on a hack (string parsing) to deduce the hostname/port information from the trackername. It would be better if the slaves/trackers are represented by an ID and the ID provides certain APIs for getting this information. Something like
> {code}
> class TrackerId {
> getHostname()
> getPort()
> toString()
> readFrom()
> write()
> }
> {code}

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