hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suresh Srinivas <sur...@hortonworks.com>
Subject Re: Management API
Date Thu, 06 Jun 2013 16:33:55 GMT
Namenode exposes all these information over JMX. The same is also exposed
over http, which you could use for your use case.

See http://<nn:httpport>/jmx to list all the properties exposed. Typically
http port is 50070. You will find the information you looking for at:
http://<nn:httpport>/jmx?Hadoop:service=NameNode,name=NameNodeInfo


On Thu, Jun 6, 2013 at 9:17 AM, Brian Mason <brian@gabey.com> wrote:

> Mostly looking for a list of data nodes.  I am making  web page to display
> some info about data nodes and I need a list.  I can screen scrape the JSP
> GUI, I was just hoping for something more elegant.
>
>
>
> On Thu, Jun 6, 2013 at 8:40 AM, John Lilley <john.lilley@redpoint.net>wrote:
>
>>  What resources are you trying to access?  ****
>>
>> Do you want to monitor the system status?****
>>
>> Do you want to read/write HDFS as a client?  ****
>>
>> Do you want to run your application on the Hadoop cluster?  ****
>>
>> John****
>>
>> ** **
>>
>> ** **
>>
>> *From:* Brian Mason [mailto:brian@gabey.com]
>> *Sent:* Thursday, June 06, 2013 6:52 AM
>> *To:* user@hadoop.apache.org
>> *Subject:* Management API****
>>
>> ** **
>>
>> I am looking for a way to access a list of Nodes, Compute, Data etc ..
>>  My application is not running on the name node.  It is remote.  The 2.0
>> Yarn API look like they may be useful, but I am not on 2.0 and cannot move
>> to 2,0 anytime soon.****
>>
>> ** **
>>
>> DFSClient.java looks useful, but its not in the API docs so I am not sure
>> how to use it or even if I should.****
>>
>> Any pointers would be helpful.  ****
>>
>> ** **
>>
>> Thanks,****
>>
>
>


-- 
http://hortonworks.com/download/

Mime
View raw message