Hi Yoonmin, Yes, your conclusions here are correct. The FSNamesystem is an object internal to the NameNode server runtime.
On Mon, Dec 9, 2013 at 8:49 PM, Yoonmin Nam <rony...@dgist.ac.kr> wrote: > Oh, I see. However a minicluster cannot replace the namenode, right? > I knew that the minicluster is for testing components of hadoop. > > Then, the only way of implementing some features which use namenode or > datanode is just in internal of namenode or datanode. > Am I right? > > Thanks! > > -----Original Message----- > From: Daryn Sharp [mailto:da...@yahoo-inc.com] > Sent: Monday, December 09, 2013 11:42 PM > To: <common-dev@hadoop.apache.org> > Subject: Re: How can I get FSNamesystem of running NameNode in cluster? > > Are you adding something internal to the NN? If not, you cannot get the > namesystem instance via a client unless you are using a minicluster object. > > Daryn > > On Dec 9, 2013, at 7:11 AM, Yoonmin Nam <rony...@dgist.ac.kr> wrote: > >> I want to get a running instance of FSNamesystem of HDFS. However, it >> is somewhat complicated than I expected. >> >> If I can get NameNode instance of running cluster, then it can be >> solved because there is a method "getNamespace()". >> >> Is there anyone who know about this stuff? >> >> I thought that using Servlet stuff is not normal way to do this >> because my program is not web-application. >> >> Thanks! >> >> >> > > > > > > -- Harsh J