bgaborg edited a comment on issue #1302: HADOOP-16138. hadoop fs mkdir / of nonexistent abfs container raises NPE URL: https://github.com/apache/hadoop/pull/1302#issuecomment-521974548 Yeah, I need to add a message which can be understood easily. The hard thing is that this message comes from `org.apache.hadoop.fs.shell.Mkdir#processPath`: ```java @Override protected void processPath(PathData item) throws IOException { if (item.stat.isDirectory()) { if (!createParents) { throw new PathExistsException(item.toString()); } } else { throw new PathIsNotDirectoryException(item.toString()); } } ``` --- this throws PathExistsException. so not from the `org.apache.hadoop.fs.azurebfs.AzureBlobFileSystem`, so it's a little more tricky than I expected (at least for me) to solve this nicely.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
