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

(cherry picked from commit 3c2397cb04)
This commit is contained in:
Xiaoyu Yao 2015-06-09 12:15:38 -07:00
parent 0dad10d845
commit d8d9041187
2 changed files with 6 additions and 3 deletions

View File

@ -275,6 +275,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 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.