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

Allen Wittenauer commented on HADOOP-6636:
------------------------------------------

A few random comments:

a) mradmin -report is in 21 or 22

b) Both of these *should* report the NN and JT info and it is kind of funny 
that no one noticed.

c) A separate, unprivileged command makes sense, especially when you consider 
something like HADOOP-5670 .

d) PLEASE don't make the option camelCase.  This is the shell, not Java.  The 
current camelCase options drive me batty as it is. :)


> New hadoop command to show NameNode & JobTracker assosiated with client.
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-6636
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6636
>             Project: Hadoop Common
>          Issue Type: New Feature
>            Reporter: Ravi Phulari
>
> Currently there is no command to show NameNode and JobTracker associated with 
> client node.
> Work around used for this is to grep for $HADOOP_CONF_DIR/hdfs-site.xml and 
> mapred-site.xml . 
> This process is very tedious when more than 1 hadoop clusters are configured. 
> We can add hadoop command option to show which Name node and Job tracker is 
> associated with client. 
> Command should work something like -- 
> {noformat}
> [u...@clientnode ~]$hadoop clusterInfo
> NameNode -  nnNode.foo.corp.com:50070
> JobTracker -  jtNode.foo.corp.com:50030
> {noformat} 
> *dfsadmin -report is restricted to admin only and it shows only datanodes and 
> does not include NN and JT information*

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