You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Ravi Phulari (JIRA)" <ji...@apache.org> on 2010/03/17 21:47:27 UTC

[jira] Created: (HADOOP-6636) New hadoop command to show NameNode & JobTracker assosiated with client.

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}
[user@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.


[jira] Updated: (HADOOP-6636) New hadoop version command to show which NameNode and JobTracker hosts are associated with the client node .

Posted by "Ravi Phulari (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravi Phulari updated HADOOP-6636:
---------------------------------

    Attachment: HADOOP-6636.patch

Attaching patch for Hadoop-0.20. 

> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6636) New hadoop command to show NameNode & JobTracker assosiated with client.

Posted by "Allen Wittenauer (JIRA)" <ji...@apache.org>.
    [ 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}
> [user@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.


[jira] Updated: (HADOOP-6636) New hadoop version command to show which NameNode and JobTracker hosts are associated with the client node .

Posted by "Ravi Phulari (JIRA)" <ji...@apache.org>.
     [ 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}
[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*

  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}
[user@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}
> [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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.