hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sanjay gupta (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-11297) how to get all the details of live node and dead node using hadoop api in java
Date Tue, 11 Nov 2014 14:39:33 GMT
sanjay gupta created HADOOP-11297:
-------------------------------------

             Summary: how to get all the details of live node and dead node using hadoop api
in java
                 Key: HADOOP-11297
                 URL: https://issues.apache.org/jira/browse/HADOOP-11297
             Project: Hadoop Common
          Issue Type: Bug
            Reporter: sanjay gupta


Hi all,
I am trying to do my cluster discovery its just my learinig phase.
But i want to get same details as we get using http port like 50070 etc.

so i am trying to use FSNamesystem class as shown below :
FSNamesystem f = FSNamesystem.getFSNamesystem();

with this f obj i want call respective methods to get my cluster details buts this object
f is returing null

can any one help in this ??


Also i  want to use JSP Helper class in namenode pkg that also showing null pointer exception
i have tried as shown below :
JspHelper j= new JspHelper();   


but nothing is working i m stuck to get details abt live node and dead node running cluster
of hadoop 1.2



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message