HDFS-14874. Fix TestHDFSCLI and TestDFSShell test break because of logging change in mkdir (#1522). Contributed by Gabor Bota.
This commit is contained in:
parent
606e341c1a
commit
587a8eeec8
|
@ -81,9 +81,7 @@ class Mkdir extends FsCommand {
|
|||
}
|
||||
|
||||
if (!item.fs.exists(itemParentPath)) {
|
||||
throw new PathNotFoundException(String.format(
|
||||
"mkdir failed for path: %s. Item parent path not found: %s.",
|
||||
itemPath.toString(), itemParentPath.toString()));
|
||||
throw new PathNotFoundException(itemParentPath.toString());
|
||||
}
|
||||
}
|
||||
if (!item.fs.mkdirs(item.path)) {
|
||||
|
|
Loading…
Reference in New Issue