012 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(new> > URL(file:///usr/local/hadoop-1.0.2/conf/hdfs-site.xm