[
https://issues.apache.org/jira/browse/HADOOP-6636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ravi Phulari updated HADOOP-6636:
---------------------------------
Description:
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 display this information in *hadoop version* command
I will be uploading patch which shows like NN & JT information in version
command as shown below.
{noformat}
[rphul...@statepick-lm]> bin/hadoop version
Hadoop 0.20.100.0-SNAPSHOT
Subversion git://local-lm/ on branch H20s -r
af2da4db0328975f929c8ece9aa8d3079fa60c4a
Compiled by rphulari on Fri Mar 26 18:20:35 PDT 2010
Name Node Host hdfs://localhost
Job Tracker Host localhost
{noformat}
*dfsadmin -report is restricted to admin only and it shows only datanodes and
does not include NN and JT information*
was:
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*
Priority: Minor (was: Major)
Summary: New hadoop version command to show which NameNode and
JobTracker hosts are associated with the client node . (was: New hadoop
command to show NameNode & JobTracker assosiated with client.)
> New hadoop version command to show which NameNode and JobTracker hosts are
> associated with the client node .
> ------------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-6636
> URL: https://issues.apache.org/jira/browse/HADOOP-6636
> Project: Hadoop Common
> Issue Type: New Feature
> Reporter: Ravi Phulari
> Priority: Minor
>
> 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 display this information in *hadoop version* command
> I will be uploading patch which shows like NN & JT information in version
> command as shown below.
> {noformat}
> [rphul...@statepick-lm]> bin/hadoop version
> Hadoop 0.20.100.0-SNAPSHOT
> Subversion git://local-lm/ on branch H20s -r
> af2da4db0328975f929c8ece9aa8d3079fa60c4a
> Compiled by rphulari on Fri Mar 26 18:20:35 PDT 2010
> Name Node Host hdfs://localhost
> Job Tracker Host localhost
> {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.