You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Ravi Phulari (JIRA)" <ji...@apache.org> on 2009/07/11 04:49:14 UTC

[jira] Resolved: (HDFS-123) dfs "Rename failed" doesn't give reason if source doesn't exist

     [ https://issues.apache.org/jira/browse/HDFS-123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravi Phulari resolved HDFS-123.
-------------------------------

    Resolution: Fixed

This is very old Jira . Verified if this issue still exits . 
{code}
statepick-lm:Hadoop rphulari$ bin/hadoop fs -ls
Found 2 items
-rw-r--r--   1 rphulari supergroup          0 2009-07-10 19:36 /user/rphulari/bt
-rw-r--r--   1 rphulari supergroup          0 2009-07-10 12:07 /user/rphulari/t
statepick-lm:Hadoop rphulari$ bin/hadoop fs -mv /no/Such/File /someFile
mv: /no/Such/File: No such file or directory
{code}

Looks like this issue is fixed , Closing this issue as it is not reproducible anymore .
Please reopen if you see this issue again. 

> dfs "Rename failed" doesn't give reason if source doesn't exist
> ---------------------------------------------------------------
>
>                 Key: HDFS-123
>                 URL: https://issues.apache.org/jira/browse/HDFS-123
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Michael Bieniosek
>
> If I run
> hadoop fs -mv /no/such/file /blah
> I get the error: mv: Rename failed /no/such/file
> But in the namenode log, it says 
> 2008-06-10 21:17:37,883 WARN org.apache.hadoop.dfs.StateChange: DIR* FSDirectory.unprotectedRenameTo: failed to rename /no/such/file to /blah because source does not exist
> It would be nice if the fs shell also gave the informative error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.