[
https://issues.apache.org/jira/browse/HADOOP-3012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579590#action_12579590
]
Mukund Madhugiri commented on HADOOP-3012:
------------------------------------------
I traced it back using the nightly builds and it was a while ago (the new tests
I am writing caught it!) and narrowed it down to this set of JIRA's (pls ignore
previous list). Seems like HADOOP-2192 is the obvious one?
HADOOP-2769. TestNNThroughputBnechmark should not use a fixed port for the
namenode http port.
HADOOP-2192. Error messages from "dfs mv" command improved.
HADOOP-2178. Job History on DFS.
HADOOP-2730. HOD documentation update.
HADOOP-2371. Commit for the html/pdf docs.
HADOOP-2371. Commit for the html/pdf docs.
HADOOP-2766. Enables setting of HADOOP_OPTS env variable for the hadoop daemons
through HOD.
HADOOP-2840. Fix gridmix scripts to correctly invoke the java sort through the
proper jar.
> dfs -mv file to user home directory fails silently if the user home directory
> does not exist
> --------------------------------------------------------------------------------------------
>
> Key: HADOOP-3012
> URL: https://issues.apache.org/jira/browse/HADOOP-3012
> Project: Hadoop Core
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.17.0
> Reporter: Mukund Madhugiri
> Assignee: Robert Chansler
> Priority: Blocker
> Fix For: 0.17.0
>
>
> dfs -mv file to user home directory fails silently if the user home directory
> does not exist. This was working before. It will move the file if the user
> home directory exists.
> Here is the sequence:
> 1. bin/hadoop dfs -lsr /
> /file1 <r 3> 0 2008-03-13 19:54 rw-r--r-- hadoopqa
> supergroup
> 2. bin/hadoop dfs -mv /file1 file2
> 3. bin/hadoop dfs -lsr /
> /file1 <r 3> 0 2008-03-13 19:54 rw-r--r-- hadoopqa
> supergroup
> 4. hadoop dfs -lsr /
> /file1 <r 3> 0 2008-03-13 19:54 rw-r--r-- hadoopqa
> supergroup
> /user <dir> 2008-03-13 20:07 rwxr-xr-x hadoopqa
> supergroup
> /user/hadoopqa <dir> 2008-03-13 20:07 rwxr-xr-x
> hadoopqa supergroup
> /user/hadoopqa/file0 <r 3> 0 2008-03-13 20:07 rw-r--r--
> hadoopqa supergroup
> 5. bin/hadoop dfs -mv /file1 file2
> 6. bin/hadoop dfs -lsr /
> /user <dir> 2008-03-13 20:07 rwxr-xr-x hadoopqa
> supergroup
> /user/hadoopqa <dir> 2008-03-13 20:08 rwxr-xr-x
> hadoopqa supergroup
> /user/hadoopqa/file0 <r 3> 0 2008-03-13 20:07 rw-r--r--
> hadoopqa supergroup
> /user/hadoopqa/file2 <r 3> 0 2008-03-13 19:54 rw-r--r--
> hadoopqa supergroup
> In step #2, it fails to move the file.
> In step #5, it moves the file as /user/hadoopqa directory exists.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.