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

Mukund Madhugiri updated HADOOP-2191:
-------------------------------------

    Description: 
Assuming the dfs commands follow POSIX standards, there are some problems with 
the DFS du and dus commands. I compared the DFS output with that of RHEL 4u5

1. du a file/directory that does not exist:
Linux: du: cannot access `something': No such file or directory
DFS: Found 0 items

2. dus a file/directory that does not exist:
- Linux: du: cannot access `something': No such file or directory
- DFS:  /something      0

  was:
Assuming the dfs commands follow POSIX standards, there are some problems with 
the DFS ls  and lsr commands. I compared the DFS output with that of RHEL 4u5

1. ls a directory when there are no files/directories in that directory:
Linux: No output
DFS: Found 0 items

2. ls a file/directory that does not exist:
Linux: ls: /doesnotexist: No such file or directory
DFS: Found 0 items

3. lsr a directory that does not exist:
Linux: ls: /doesnotexist: No such file or directory
DFS: No output


> dfs du and dus commands differ from POSIX standards
> ---------------------------------------------------
>
>                 Key: HADOOP-2191
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2191
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.15.1, 0.16.0
>            Reporter: Mukund Madhugiri
>             Fix For: 0.16.0
>
>
> Assuming the dfs commands follow POSIX standards, there are some problems 
> with the DFS du and dus commands. I compared the DFS output with that of RHEL 
> 4u5
> 1. du a file/directory that does not exist:
> Linux: du: cannot access `something': No such file or directory
> DFS: Found 0 items
> 2. dus a file/directory that does not exist:
> - Linux: du: cannot access `something': No such file or directory
> - DFS:  /something      0

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

Reply via email to