You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "sanjay gupta (JIRA)" <ji...@apache.org> on 2014/11/11 15:39:33 UTC
[jira] [Created] (HADOOP-11297) how to get all the details of live
node and dead node using hadoop api in java
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)