Hello there, Add the conf/core-site.xml file as well.Regards, Mohammad TariqOn Thu, Aug 9, 2012 at 12:37 PM, Chandra Mohan, Ananda Vel Murugan<[EMAIL PROTECTED]> wrote:> Hi,>>>> I am trying to add a file to HDFS programmatically.>>>> In my code, I am adding hdfs-site.xml and other xml to Hadoop Configuration> object as follows>>>> Configuration configuration = null;>> configuration.addResource(n