Please also try to share your error/stacktraces when you post a question.
All I can suspect is that your URI is malformed, and is missing the
authority component. That is, it should be
hdfs://host:port/path/to/file and not hdfs:/path/to/file.
On Wed, Aug 28, 2013 at 1:44 PM, rab ra <[EMAIL PROTECTED]> wrote:
> ---------- Forwarded message ----------
> From: "rab ra" <[EMAIL PROTECTED]>
> Date: 28 Aug 2013 13:26
> Subject: Issue with fs.delete
> To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> 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
> Any hint?