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

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -