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

Binglin Chang commented on MAPREDUCE-4944:
------------------------------------------

I look into the code and find some issue of this backport:
hadoop-1.x have similar command -list-active-trackers and 
-list-blacklisted-trackers, which just print trackerNames, they use 
JobSubmissionProtocol to talk to JobTracker, and their is no more information 
we can expose expect adding another protocol method into JobSubmissionProtocol, 
this wil break compatibility which I think is unacceptable for 
JobSubmissionProtocol, which is used by normal clients. 
Another option is add this to AdminOperationsProtocol(like MAPREDUCE-4900), it 
is a admin protocol, which I think has less compatibility requirement, still I 
don't think it's worth to break compatibility.
Another option is JMX, I haven't find out the proper way to write a command 
line tool using JMX, which needs to connect to some specific port in JobTracker 
host, this information is hard to get, because it is not in mapred-site.xml but 
depending some jvm config in hadoop-env.sh.

                
> Backport YARN-40 to support listClusterNodes and printNodeStatus in command 
> line tool
> -------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4944
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4944
>             Project: Hadoop Map/Reduce
>          Issue Type: New Feature
>    Affects Versions: 1.1.1
>            Reporter: Binglin Chang
>            Priority: Minor
>
>  support listClusterNodes and printNodeStatus in command line tool is useful 
> for admin to create certain automation tools, this can also used by 
> MAPREDUCE-4900 to get TaskTracker name so can set TT's slot dynamically

--
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

Reply via email to