You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Suresh Srinivas (JIRA)" <ji...@apache.org> on 2010/07/23 19:58:51 UTC

[jira] Created: (HDFS-1318) HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts

HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts
------------------------------------------------------------------------------------------------

                 Key: HDFS-1318
                 URL: https://issues.apache.org/jira/browse/HDFS-1318
             Project: Hadoop HDFS
          Issue Type: New Feature
            Reporter: Suresh Srinivas


Currently Namenode and Datanode web page needs to be scraped by scripts to get this information. Having an interface where this structured information is provided, will help building scripts around it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1318) HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts

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

Tanping Wang updated HDFS-1318:
-------------------------------

    Attachment: HDFS-1318.y20.patch

> HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts
> ------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1318
>                 URL: https://issues.apache.org/jira/browse/HDFS-1318
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>            Reporter: Suresh Srinivas
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1318.y20.patch, metricsJira.patch
>
>
> Currently Namenode and Datanode web page needs to be scraped by scripts to get this information. Having an interface where this structured information is provided, will help building scripts around it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-1318) HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12899651#action_12899651 ] 

Suresh Srinivas commented on HDFS-1318:
---------------------------------------

Thank you Tanping for the patch.

> HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts
> ------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1318
>                 URL: https://issues.apache.org/jira/browse/HDFS-1318
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>    Affects Versions: 0.22.0
>            Reporter: Suresh Srinivas
>            Assignee: Tanping Wang
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1318.y20.2.patch, HDFS-1318.y20.patch, HDFS1318.2.patch, HDFS1318.patch
>
>
> Currently Namenode and Datanode web page needs to be scraped by scripts to get this information. Having an interface where this structured information is provided, will help building scripts around it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-1318) HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts

Posted by "Tanping Wang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895453#action_12895453 ] 

Tanping Wang commented on HDFS-1318:
------------------------------------

Description of the patch:
Expose the following information about name node and data node through JMX to the end users.
each datanode:
  hostname (string)
  rpcport (string)
  httpport (string)
  version (string): hadoop version
  each volume:
    - name: name of the volume
    - used: used dfs space
    - free: free dfs space
    - reserved: reserved space

We group each volume information into a map object and serialize it to JSON string before sending to the client. This is an example of the volume information, {"/tmp/user/dfs/data/current/finalized":{"freeSpace":86118031360,"usedSpace":28672,"reservedSpace":0}}

each namenode:
  hostname (string)
  version (string)
  used (long) : used dfs space
  free (long): free dfs space
  total (long): total dfs space
  safemode (string): safemode status
  isfinalize (boolean): is upgrade finalized.
  nondfsusedspace (long): total used space by data nodes fro non DFS purposes such as storing temporary files on the local file system
  percentused (float) : the total used space by data nodes as percentage of total capacity
  percentremaining (float): percentage of remaining space on the cluster
  totalblocks (long) : the total number of blocks on the cluster
  totalfiles (long): total number of files on the cluster
  threads (int): the number of threads
 
  each alive name node
     - name : host name of the alive name node
     - last contact : time since last contact in seconds 
     - used: space used
  each dead name node: 
     - name : host name of the dead name node 
     - last contact: time since last contact in seconds 
  each decommissioning node:
     - name: host name of the decommissioning node 
     - under replicated blocks 
     - decommission only replicas
     - under replicate in open files

We group information of each alive/dead/decommissioning node into a map object and serialize it to JSON string before sending to the client.  This is an example of alive node information, {"somehost.com":{"usedSpace":28672,"lastContact":1}}

Two public interfaces are defined and implemented, i.e. NameNodeMXBean.java and DataNodeMXBean.java.  The exposed name node, data node information can be used for monitoring purposes.

> HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts
> ------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1318
>                 URL: https://issues.apache.org/jira/browse/HDFS-1318
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>            Reporter: Suresh Srinivas
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1318.y20.2.patch, HDFS-1318.y20.patch, HDFS1318.patch
>
>
> Currently Namenode and Datanode web page needs to be scraped by scripts to get this information. Having an interface where this structured information is provided, will help building scripts around it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-1318) HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12897360#action_12897360 ] 

Suresh Srinivas commented on HDFS-1318:
---------------------------------------

Eli, the goal of HDFS-453 is to provide REST APIs for namenode WebUI. Adding REST interface is not the goal of this jira. Now that this jira exposes namenode and datanode web UI information, the JMX added in this jira could be used to provide REST interface or servlet based interface, more cleanly, without the need to access Namenode internal classes directly.

If REST interface is no longer the goal, HDFS-453 can be closed.

> HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts
> ------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1318
>                 URL: https://issues.apache.org/jira/browse/HDFS-1318
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>            Reporter: Suresh Srinivas
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1318.y20.2.patch, HDFS-1318.y20.patch, HDFS1318.patch
>
>
> Currently Namenode and Datanode web page needs to be scraped by scripts to get this information. Having an interface where this structured information is provided, will help building scripts around it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-1318) HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts

Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894610#action_12894610 ] 

Eli Collins commented on HDFS-1318:
-----------------------------------

Would closing out HDFS-453 help address this?

> HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts
> ------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1318
>                 URL: https://issues.apache.org/jira/browse/HDFS-1318
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>            Reporter: Suresh Srinivas
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1318.y20.incremental.patch, HDFS-1318.y20.patch
>
>
> Currently Namenode and Datanode web page needs to be scraped by scripts to get this information. Having an interface where this structured information is provided, will help building scripts around it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1318) HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts

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

Tanping Wang updated HDFS-1318:
-------------------------------

    Attachment: HDFS1318.2.patch

add InterfaceAudience.Public and InterfaceStability.Evolving to DataNodeMxBean and NameNodeMXBean. 

> HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts
> ------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1318
>                 URL: https://issues.apache.org/jira/browse/HDFS-1318
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>            Reporter: Suresh Srinivas
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1318.y20.2.patch, HDFS-1318.y20.patch, HDFS1318.2.patch, HDFS1318.patch
>
>
> Currently Namenode and Datanode web page needs to be scraped by scripts to get this information. Having an interface where this structured information is provided, will help building scripts around it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1318) HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts

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

Tanping Wang updated HDFS-1318:
-------------------------------

               Status: Patch Available  (was: Open)
         Release Note: patch for HDFS1318:HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts (0.22.0)
    Affects Version/s: 0.22.0

patch for HDFS1318:HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts

> HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts
> ------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1318
>                 URL: https://issues.apache.org/jira/browse/HDFS-1318
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>    Affects Versions: 0.22.0
>            Reporter: Suresh Srinivas
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1318.y20.2.patch, HDFS-1318.y20.patch, HDFS1318.2.patch, HDFS1318.patch
>
>
> Currently Namenode and Datanode web page needs to be scraped by scripts to get this information. Having an interface where this structured information is provided, will help building scripts around it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-1318) HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts

Posted by "Jakob Homan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895337#action_12895337 ] 

Jakob Homan commented on HDFS-1318:
-----------------------------------

The latest patch doesn't appear to have been synced with trunk and wipes out the changes introduced by HDFS-1150.

> HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts
> ------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1318
>                 URL: https://issues.apache.org/jira/browse/HDFS-1318
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>            Reporter: Suresh Srinivas
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1318.y20.2.patch, HDFS-1318.y20.patch, HDFS1318.patch
>
>
> Currently Namenode and Datanode web page needs to be scraped by scripts to get this information. Having an interface where this structured information is provided, will help building scripts around it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1318) HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts

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

Suresh Srinivas updated HDFS-1318:
----------------------------------

          Status: Resolved  (was: Patch Available)
    Hadoop Flags: [Reviewed]
      Resolution: Fixed

I committed the patch.

> HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts
> ------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1318
>                 URL: https://issues.apache.org/jira/browse/HDFS-1318
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>    Affects Versions: 0.22.0
>            Reporter: Suresh Srinivas
>            Assignee: Tanping Wang
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1318.y20.2.patch, HDFS-1318.y20.patch, HDFS1318.2.patch, HDFS1318.patch
>
>
> Currently Namenode and Datanode web page needs to be scraped by scripts to get this information. Having an interface where this structured information is provided, will help building scripts around it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-1318) HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12900620#action_12900620 ] 

Hudson commented on HDFS-1318:
------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #370 (See [https://hudson.apache.org/hudson/job/Hadoop-Hdfs-trunk-Commit/370/])
    

> HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts
> ------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1318
>                 URL: https://issues.apache.org/jira/browse/HDFS-1318
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>    Affects Versions: 0.22.0
>            Reporter: Suresh Srinivas
>            Assignee: Tanping Wang
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1318.y20.2.patch, HDFS-1318.y20.patch, HDFS1318.2.patch, HDFS1318.patch
>
>
> Currently Namenode and Datanode web page needs to be scraped by scripts to get this information. Having an interface where this structured information is provided, will help building scripts around it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1318) HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts

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

Tanping Wang updated HDFS-1318:
-------------------------------

    Attachment: HDFS-1318.y20.2.patch

> HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts
> ------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1318
>                 URL: https://issues.apache.org/jira/browse/HDFS-1318
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>            Reporter: Suresh Srinivas
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1318.y20.2.patch, HDFS-1318.y20.patch
>
>
> Currently Namenode and Datanode web page needs to be scraped by scripts to get this information. Having an interface where this structured information is provided, will help building scripts around it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1318) HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts

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

Tanping Wang updated HDFS-1318:
-------------------------------

    Attachment: HDFS-1318.y20.incremental.patch

Generated a incremental patch based on Yahoo Y20 branch.  Includes unit test cases.

> HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts
> ------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1318
>                 URL: https://issues.apache.org/jira/browse/HDFS-1318
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>            Reporter: Suresh Srinivas
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1318.y20.incremental.patch, HDFS-1318.y20.patch
>
>
> Currently Namenode and Datanode web page needs to be scraped by scripts to get this information. Having an interface where this structured information is provided, will help building scripts around it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1318) HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts

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

Tanping Wang updated HDFS-1318:
-------------------------------

      Status: Open  (was: Patch Available)
    Assignee: Tanping Wang

> HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts
> ------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1318
>                 URL: https://issues.apache.org/jira/browse/HDFS-1318
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>    Affects Versions: 0.22.0
>            Reporter: Suresh Srinivas
>            Assignee: Tanping Wang
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1318.y20.2.patch, HDFS-1318.y20.patch, HDFS1318.2.patch, HDFS1318.patch
>
>
> Currently Namenode and Datanode web page needs to be scraped by scripts to get this information. Having an interface where this structured information is provided, will help building scripts around it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1318) HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts

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

Tanping Wang updated HDFS-1318:
-------------------------------

    Attachment: HDFS1318.patch

> HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts
> ------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1318
>                 URL: https://issues.apache.org/jira/browse/HDFS-1318
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>            Reporter: Suresh Srinivas
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1318.y20.2.patch, HDFS-1318.y20.patch, HDFS1318.patch
>
>
> Currently Namenode and Datanode web page needs to be scraped by scripts to get this information. Having an interface where this structured information is provided, will help building scripts around it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1318) HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts

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

Tanping Wang updated HDFS-1318:
-------------------------------

    Attachment:     (was: metricsJira.patch)

> HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts
> ------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1318
>                 URL: https://issues.apache.org/jira/browse/HDFS-1318
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>            Reporter: Suresh Srinivas
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1318.y20.patch
>
>
> Currently Namenode and Datanode web page needs to be scraped by scripts to get this information. Having an interface where this structured information is provided, will help building scripts around it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1318) HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts

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

Tanping Wang updated HDFS-1318:
-------------------------------

          Status: Patch Available  (was: Open)
    Release Note: resubmit the patch for HDFS1318 as Hudson was down last week.  (was: patch for HDFS1318:HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts (0.22.0))

> HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts
> ------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1318
>                 URL: https://issues.apache.org/jira/browse/HDFS-1318
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>    Affects Versions: 0.22.0
>            Reporter: Suresh Srinivas
>            Assignee: Tanping Wang
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1318.y20.2.patch, HDFS-1318.y20.patch, HDFS1318.2.patch, HDFS1318.patch
>
>
> Currently Namenode and Datanode web page needs to be scraped by scripts to get this information. Having an interface where this structured information is provided, will help building scripts around it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-1318) HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12897363#action_12897363 ] 

Suresh Srinivas commented on HDFS-1318:
---------------------------------------

Tanping, please add InterfaceAudience.Public and InterfaceStability.Evolving to DataNodeMxBean and NameNodeMXBean.


> HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts
> ------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1318
>                 URL: https://issues.apache.org/jira/browse/HDFS-1318
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>            Reporter: Suresh Srinivas
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1318.y20.2.patch, HDFS-1318.y20.patch, HDFS1318.patch
>
>
> Currently Namenode and Datanode web page needs to be scraped by scripts to get this information. Having an interface where this structured information is provided, will help building scripts around it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-1318) HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12899619#action_12899619 ] 

Suresh Srinivas commented on HDFS-1318:
---------------------------------------

Since hudson has some issues, ran the unit tests and testpatch. All the tests passed.


> HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts
> ------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1318
>                 URL: https://issues.apache.org/jira/browse/HDFS-1318
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>    Affects Versions: 0.22.0
>            Reporter: Suresh Srinivas
>            Assignee: Tanping Wang
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1318.y20.2.patch, HDFS-1318.y20.patch, HDFS1318.2.patch, HDFS1318.patch
>
>
> Currently Namenode and Datanode web page needs to be scraped by scripts to get this information. Having an interface where this structured information is provided, will help building scripts around it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1318) HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts

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

Tanping Wang updated HDFS-1318:
-------------------------------

    Attachment: metricsJira.patch

add more statistics information for NN and DN.

> HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts
> ------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1318
>                 URL: https://issues.apache.org/jira/browse/HDFS-1318
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>            Reporter: Suresh Srinivas
>             Fix For: 0.22.0
>
>         Attachments: metricsJira.patch
>
>
> Currently Namenode and Datanode web page needs to be scraped by scripts to get this information. Having an interface where this structured information is provided, will help building scripts around it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1318) HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts

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

Suresh Srinivas updated HDFS-1318:
----------------------------------

    Fix Version/s: 0.22.0

> HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts
> ------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1318
>                 URL: https://issues.apache.org/jira/browse/HDFS-1318
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>            Reporter: Suresh Srinivas
>             Fix For: 0.22.0
>
>
> Currently Namenode and Datanode web page needs to be scraped by scripts to get this information. Having an interface where this structured information is provided, will help building scripts around it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1318) HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts

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

Tanping Wang updated HDFS-1318:
-------------------------------

    Attachment:     (was: HDFS-1318.y20.incremental.patch)

> HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts
> ------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1318
>                 URL: https://issues.apache.org/jira/browse/HDFS-1318
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>            Reporter: Suresh Srinivas
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1318.y20.patch
>
>
> Currently Namenode and Datanode web page needs to be scraped by scripts to get this information. Having an interface where this structured information is provided, will help building scripts around it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1318) HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts

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

Tanping Wang updated HDFS-1318:
-------------------------------

    Attachment:     (was: HDFS1318.patch)

> HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts
> ------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1318
>                 URL: https://issues.apache.org/jira/browse/HDFS-1318
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>            Reporter: Suresh Srinivas
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1318.y20.2.patch, HDFS-1318.y20.patch
>
>
> Currently Namenode and Datanode web page needs to be scraped by scripts to get this information. Having an interface where this structured information is provided, will help building scripts around it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1318) HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts

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

Tanping Wang updated HDFS-1318:
-------------------------------

    Attachment: HDFS1318.patch

Thanks for pointing that out, Jakob.  I have attached the new patch.

> HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts
> ------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1318
>                 URL: https://issues.apache.org/jira/browse/HDFS-1318
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>            Reporter: Suresh Srinivas
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1318.y20.2.patch, HDFS-1318.y20.patch, HDFS1318.patch
>
>
> Currently Namenode and Datanode web page needs to be scraped by scripts to get this information. Having an interface where this structured information is provided, will help building scripts around it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.