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
Post a Comment