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! > > >