hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu Angadi (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-2193) dfs rm and rmr commands differ from POSIX standards
Date Tue, 12 Feb 2008 06:44:07 GMT

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

Raghu Angadi updated HADOOP-2193:
---------------------------------

       Resolution: Fixed
    Fix Version/s: 0.17.0
           Status: Resolved  (was: Patch Available)

I just committed this. Thanks Mahadev.

> dfs rm and rmr commands differ from POSIX standards
> ---------------------------------------------------
>
>                 Key: HADOOP-2193
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2193
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.15.1, 0.16.0
>            Reporter: Mukund Madhugiri
>            Assignee: Mahadev konar
>             Fix For: 0.17.0
>
>         Attachments: HADOOP-2193-1.patch, hadoop_2193_1.patch, hadoop_2193_2.patch, hadoop_2193_3.patch,
hadoop_2193_4.patch
>
>
> Assuming the dfs commands follow POSIX standards, there are some problems with the DFS
rm and rmr commands. I compared the DFS output with that of RHEL 4u5:
> In both cases, if the file/directory does not exist, it will not give any indication
to the user.
> 1. rm a file/directory that does not exist:
> Linux: rm: cannot remove `testarea/two': No such file or directory
> DFS: rm: /testarea/two
> 2. rmr a file/directory that does not exist:
> Linux: rm: cannot remove `testarea/two': No such file or directory
> DFS: rm: /testarea/two

-- 
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