HDFS-8568. TestClusterId#testFormatWithEmptyClusterIdOption is failing. Contributed by Rakesh R.
This commit is contained in:
parent
8d0ef31632
commit
3c2397cb04
@ -615,6 +615,9 @@ Release 2.8.0 - UNRELEASED
|
||||
HDFS-8552. Fix hdfs CLI usage message for namenode and zkfc.
|
||||
(Brahma Reddy Battula via xyao)
|
||||
|
||||
HDFS-8568. TestClusterId#testFormatWithEmptyClusterIdOption is failing.
|
||||
(Rakesh R. via xyao)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than
|
||||
|
@ -236,7 +236,7 @@ public void testFormatWithInvalidClusterIdOption() throws IOException {
|
||||
NameNode.createNameNode(argv, config);
|
||||
|
||||
// Check if usage is printed
|
||||
assertTrue(baos.toString("UTF-8").contains("Usage: java NameNode"));
|
||||
assertTrue(baos.toString("UTF-8").contains("Usage: hdfs namenode"));
|
||||
System.setErr(origErr);
|
||||
|
||||
// check if the version file does not exists.
|
||||
@ -262,7 +262,7 @@ public void testFormatWithNoClusterIdOption() throws IOException {
|
||||
NameNode.createNameNode(argv, config);
|
||||
|
||||
// Check if usage is printed
|
||||
assertTrue(baos.toString("UTF-8").contains("Usage: java NameNode"));
|
||||
assertTrue(baos.toString("UTF-8").contains("Usage: hdfs namenode"));
|
||||
System.setErr(origErr);
|
||||
|
||||
// check if the version file does not exists.
|
||||
@ -289,7 +289,7 @@ public void testFormatWithEmptyClusterIdOption() throws IOException {
|
||||
NameNode.createNameNode(argv, config);
|
||||
|
||||
// Check if usage is printed
|
||||
assertTrue(baos.toString("UTF-8").contains("Usage: java NameNode"));
|
||||
assertTrue(baos.toString("UTF-8").contains("Usage: hdfs namenode"));
|
||||
System.setErr(origErr);
|
||||
|
||||
// check if the version file does not exists.
|
||||
|
Loading…
Reference in New Issue
Block a user