|
@@ -198,7 +198,7 @@ public class TestSafeMode {
|
|
|
|
|
|
String status = nn.getNamesystem().getSafemode();
|
|
String status = nn.getNamesystem().getSafemode();
|
|
assertEquals("Safe mode is ON. The reported blocks 0 needs additional " +
|
|
assertEquals("Safe mode is ON. The reported blocks 0 needs additional " +
|
|
- "15 blocks to reach the threshold 0.9990 of total blocks 15." + NEWLINE +
|
|
|
|
|
|
+ "14 blocks to reach the threshold 0.9990 of total blocks 15." + NEWLINE +
|
|
"The number of live datanodes 0 has reached the minimum number 0. " +
|
|
"The number of live datanodes 0 has reached the minimum number 0. " +
|
|
"Safe mode will be turned off automatically once the thresholds " +
|
|
"Safe mode will be turned off automatically once the thresholds " +
|
|
"have been reached.", status);
|
|
"have been reached.", status);
|