---------- Forwarded message ----------
From: "rab ra" <[email protected]>
Date: 28 Aug 2013 13:26
Subject: Issue with fs.delete
To: "[email protected]" <[email protected]>

Hello,

I am having a trouble in deleting a file from hdfs. I am using hadoop 1.2.1
stable release. I use the following code segment in my program


fs.delete(new Path("hdfs:/user/<username>/input/input.txt"))
            fs.copyFromLocalFile(false,false,new Path("input.txt"),new
Path("hdfs:/user/<username>/input/input.txt"))

Any hint?

Reply via email to