You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Chris Douglas (JIRA)" <ji...@apache.org> on 2007/11/13 01:08:50 UTC

[jira] Commented: (HADOOP-2195) dfs mkdir command differs from POSIX standards

    [ https://issues.apache.org/jira/browse/HADOOP-2195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541996 ] 

Chris Douglas commented on HADOOP-2195:
---------------------------------------

I think the semantics for mkdir follow mkdir -p, so the first case is consistent with POSIX.

The second case- throwing an exception- seems reasonable to me, though the error message is confusing.

> dfs mkdir command differs from POSIX standards
> ----------------------------------------------
>
>                 Key: HADOOP-2195
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2195
>             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 mkdir command. I compared the DFS output with that of RHEL 4u5:
> 1. mkdir a directory that exists:
> Linux: mkdir: cannot create directory `test': File exists
> DFS: No output
> 2. mkdir a directory with the name of a file that already exists:
> - Linux: mkdir: `test/one' exists but is not a directory
> - DFS: mkdir: java.io.IOException: Invalid directory name: <home directory>/test/one

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