Details
-
New Feature
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
None
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.
[rphulari@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
dfsadmin -report is restricted to admin only and it shows only datanodes and does not include NN and JT information