You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Shweta (JIRA)" <ji...@apache.org> on 2018/07/17 19:24:00 UTC

[jira] [Updated] (HDFS-13622) dfs mkdir should not report the directory which to be created

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

Shweta updated HDFS-13622:
--------------------------
    Attachment: HDFS-13622.02.patch

> dfs mkdir should not report the directory which to be created
> -------------------------------------------------------------
>
>                 Key: HDFS-13622
>                 URL: https://issues.apache.org/jira/browse/HDFS-13622
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Zoltan Haindrich
>            Assignee: Shweta
>            Priority: Major
>         Attachments: HDFS-13622.02.patch
>
>
> this is a bit misleading:
> {code}
> $ hdfs  dfs -mkdir /nonexistent/newdir
> mkdir: `/nonexistent/newdir': No such file or directory
> {code}
> I think this command should fail because "nonexistent" doesn't exists...
> the correct would be:
> {code}
> $ hdfs  dfs -mkdir /nonexistent/newdir
> mkdir: `/nonexistent': No such file or directory
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org