HDFS-14874. Fix TestHDFSCLI and TestDFSShell test break because of logging change in mkdir (#1522). Contributed by Gabor Bota.

This commit is contained in:
Gabor Bota 2019-09-26 06:45:13 +02:00 committed by Ayush Saxena
parent 606e341c1a
commit 587a8eeec8
1 changed files with 1 additions and 3 deletions

View File

@ -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)) {