Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> Re: Management API


Copy link to this message
-
Re: Management API
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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>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:[EMAIL PROTECTED]]
>> *Sent:* Thursday, June 06, 2013 6:52 AM
>> *To:* [EMAIL PROTECTED]
>> *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/