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?
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.