HADOOP-12755. Fix typo in defaultFS warning message.
(cherry picked from commit 8171874dd198a6d10f48211f311595b222e6b930) (cherry picked from commit b4ad58796b70954804ad96f0c15381ad13e7a8ea)
This commit is contained in:
parent
1d322ca5cc
commit
1d15c90233
@ -382,6 +382,8 @@ Release 2.8.0 - UNRELEASED
|
|||||||
|
|
||||||
HADOOP-12696. Add tests for S3Filesystem Contract (Matt Paduano via raviprak)
|
HADOOP-12696. Add tests for S3Filesystem Contract (Matt Paduano via raviprak)
|
||||||
|
|
||||||
|
HADOOP-12755. Fix typo in defaultFS warning message. (wang)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HADOOP-11785. Reduce the number of listStatus operation in distcp
|
HADOOP-11785. Reduce the number of listStatus operation in distcp
|
||||||
|
@ -112,7 +112,7 @@ protected void processRawArguments(LinkedList<String> args)
|
|||||||
defaultFs == null || defaultFs.equals(FS_DEFAULT_NAME_DEFAULT);
|
defaultFs == null || defaultFs.equals(FS_DEFAULT_NAME_DEFAULT);
|
||||||
if (missingDefaultFs) {
|
if (missingDefaultFs) {
|
||||||
err.printf(
|
err.printf(
|
||||||
"Warning: fs.defaultFs is not set when running \"%s\" command.%n",
|
"Warning: fs.defaultFS is not set when running \"%s\" command.%n",
|
||||||
getCommandName());
|
getCommandName());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1062,7 +1062,7 @@ private static void displayWarningOnLocalFileSystem(boolean shouldDisplay)
|
|||||||
ls.err = err;
|
ls.err = err;
|
||||||
ls.run("file:///.");
|
ls.run("file:///.");
|
||||||
assertEquals(shouldDisplay, buf.toString().contains(
|
assertEquals(shouldDisplay, buf.toString().contains(
|
||||||
"Warning: fs.defaultFs is not set when running \"ls\" command."));
|
"Warning: fs.defaultFS is not set when running \"ls\" command."));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user