[ https://issues.apache.org/jira/browse/HDFS-13622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16550263#comment-16550263 ]
Xiao Chen commented on HDFS-13622: ---------------------------------- Thanks for revving Shweta. As checked offline, it's not possible to execute the null parent path for mkdir. We're pretty close. Pending items: * There is still 1 unnecessary space change. * "{{-mkdir returned there is No file or directory like testChild}}" still seems a bit unclear to me. Can we change it to "{{-mkdir returned No file or directory but has testChild in the path}}" ? > 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, HDFS-13622.03.patch, > HDFS-13622.04.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-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org