hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HADOOP-6636) New hadoop version command to show which NameNode and JobTracker hosts are associated with the client node .
Date Wed, 30 Jul 2014 00:28:40 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-6636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Allen Wittenauer resolved HADOOP-6636.
--------------------------------------

    Resolution: Fixed

org.apache.hadoop.util.VersionInfo was added at some point. Closing.

> 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
>         Attachments: HADOOP-6636.patch
>
>
> 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}
> [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 
> {noformat} 
> *dfsadmin -report is restricted to admin only and it shows only datanodes and does not
include NN and JT information*



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message