How can i get FSNamesystem of running NameNode in cluster?

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. Is there anyone who know about this stuff?

Thanks!

Answers


Actually FSNamesystem is used internally by the NameNode. At the same time, you will not able to create a NameNode instance because the NameNode is already running on the same port. So if your client is not a web application, it is hard to get the running NameNode instance. Maybe you can try using the secondary namenode for this purpose.


Need Your Help

How to compare locale dependent float numbers?

javascript vbscript

I need to compare a float value entered in a web form against a range. The problem is that the client computers may have various locale settings, meaning that user may use either "." or "," to sepa...

Record only caller's voice in android

android voice-recording

I am using media recorder for recording call in android. But I only want to record the caller's voice.. Can this be done?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.