You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Pranay Varma (JIRA)" <ji...@apache.org> on 2013/06/23 04:18:20 UTC

[jira] [Created] (MAPREDUCE-5348) There are innconsistencies in the design of the Cluster and other classes.

Pranay Varma created MAPREDUCE-5348:
---------------------------------------

             Summary: There are innconsistencies in the design of the Cluster and other classes.
                 Key: MAPREDUCE-5348
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5348
             Project: Hadoop Map/Reduce
          Issue Type: Bug
            Reporter: Pranay Varma


Cluster seems to keep TaskTracker information using class TaskTrackerInfo[].
getTaskTrackers returns TaskTrackerInfo[]. Ideally, I would like it to simply return TaskTracker[] or else have the method be called getTaskTrackerInfos.

A user would expect JobTracker information as well. For consistency, I would expect a getJobTracker method to return JobTrackerInfo or JobTracker. This method is not available, instead I see getJobTrackerStatus which returns JobTrackerStatus.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira