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

Ayush Saxena commented on HADOOP-16138:
---------------------------------------

Hi [[email protected]] [~gabor.bota] 
I guess this change breaks 
{{TestHDFSCLI}} and {{TestDFSShell}}
Since it changed the text in the exception :

{code:java}
-        throw new PathNotFoundException(itemParentPath.toString());
+        throw new PathNotFoundException(String.format(
+            "mkdir failed for path: %s. Item parent path not found: %s.",
+        itemPath.toString(), itemParentPath.toString()));
       }
{code}

For reference :  
https://builds.apache.org/job/PreCommit-HDFS-Build/27958/testReport/

> hadoop fs mkdir / of nonexistent abfs container raises NPE
> ----------------------------------------------------------
>
>                 Key: HADOOP-16138
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16138
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/azure
>    Affects Versions: 3.2.0
>            Reporter: Steve Loughran
>            Assignee: Gabor Bota
>            Priority: Minor
>
> If you try to do a mkdir on the root of a nonexistent container, you get an 
> NPE
> {code}
> hadoop fs -mkdir  abfs://[email protected]/  
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to