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' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -