HDFS-8568. TestClusterId#testFormatWithEmptyClusterIdOption is failing. Contributed by Rakesh R.

This commit is contained in:
Xiaoyu Yao 2015-06-09 12:15:38 -07:00
parent 8d0ef31632
commit 3c2397cb04
2 changed files with 6 additions and 3 deletions

View File

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

View File

@ -236,7 +236,7 @@ public class TestClusterId {
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 class TestClusterId {
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 class TestClusterId {
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.