I am programming a Java Utility which requires to access HDFS for that I needed a configuration object. I created one using the following method.
Configuration conf = new Configuration()
it doesn't seem to find the DFS, and just uses the local file system; printing
I've tried adding core-site.xml,mapred-site.xml,yarn-site.xml, and HDFS-site.xml to the Configuration as resources. Nothing seems to work out. Please help me out on this one.