hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lohit vijayarenu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-2192) dfs mv command differs from POSIX standards
Date Fri, 15 Feb 2008 18:50:07 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569366#action_12569366
] 

lohit vijayarenu commented on HADOOP-2192:
------------------------------------------

Looks good. Could we also get this fixed

Here build is dir and build.xml is file
DFS Output
[lohit@ hadoop-core-trunk]$ hadoop dfs -mv build build.xml
mv: Rename failed /user/lohit/build

LINUX output
[lohit@ hadoop-core-trunk]$ mv build build.xml 
mv: cannot overwrite non-directory `build.xml' with directory `build'


> dfs mv command differs from POSIX standards
> -------------------------------------------
>
>                 Key: HADOOP-2192
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2192
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.15.1, 0.16.0
>            Reporter: Mukund Madhugiri
>            Assignee: Mahadev konar
>         Attachments: Hadoop-2192_1.patch, hadoop-2813_2.patch
>
>
> Assuming the dfs commands follow POSIX standards, there are some problems with the DFS
mv command. I compared the DFS output with that of RHEL 4u5
> 1. mv a file:
> Linux: No output
> DFS: Renamed /testarea/hadoop-site.xml to test
> 2. mv a file/directory that does not exist. The DFS file does not exist, but the output
says it renamed the file:
> Linux: mv: cannot stat `testarea/one': No such file or directory
> DFS: mv: Rename failed /testarea/one
> 3. mv a directory to another directory:
> Linux: No output
> DFS: Renamed /testarea to testarea2

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


Mime
View raw message