hadoop - How to access configuration xml files of remote HDFS cluster using Java API? -


i have namenode address(ip address , port) , don't know location of configuration files (i.e.core-site.xml, hdfs-site.xml,etc) on local file system. want access configuration details.

i know doing following can details,

configuration conf = new configuration(); conf.addresource(file path of core-site.xml); conf.addresource(file path of hdfs-site.xml); 

it working on local machine know file paths. dont know location of files on remote machine.

is there way access configuration?


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -