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.

Reply via email to