[ 
https://issues.apache.org/jira/browse/MAPREDUCE-2455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13040367#comment-13040367
 ] 

Tom White commented on MAPREDUCE-2455:
--------------------------------------

> In fact, I'd go further and actually consider removing this api.

I agree with the sentiment. ClusterStatus shouldn't be used as a monitoring 
API, since metrics (or other monitoring systems) should be used for that 
purpose. In particular, the API that ClusterStatus (or ClusterMetrics in the 
new API) exposes doesn't fit with MAPREDUCE-279. It's premature to remove them 
in 0.23, but it makes sense to consider replacements for them.

Of course, we still need this JIRA to move forward with MAPREDUCE-1638 and the 
code organization for MAPREDUCE-279. 

> Remove deprecated JobTracker.State in favour of JobTrackerStatus
> ----------------------------------------------------------------
>
>                 Key: MAPREDUCE-2455
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2455
>             Project: Hadoop Map/Reduce
>          Issue Type: Sub-task
>          Components: build, client
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: 0.23.0
>
>         Attachments: MAPREDUCE-2455.patch
>
>
> MAPREDUCE-2337 deprecated getJobTrackerState() on ClusterStatus, this issue 
> is to remove the getter (in favour of getJobTrackerStatus(), which will 
> remain) so there is no longer a direct dependency of the public API on 
> JobTracker. This is for MAPREDUCE-1638.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to