Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-6636

New hadoop version command to show which NameNode and JobTracker hosts are associated with the client node .

    XMLWordPrintableJSON

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

      Attachments

        1. HADOOP-6636.patch
          2 kB
          Ravi Phulari

        Activity

          People

            Unassigned Unassigned
            raviphulari Ravi Phulari
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: