svn merge -c 1350384 from trunk for HDFS-3524. Update TestFileLengthOnClusterRestart for HDFS-3522.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1350385 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
497de4942a
commit
94a5971872
|
@ -215,6 +215,9 @@ Release 2.0.1-alpha - UNRELEASED
|
|||
|
||||
HDFS-3480. Multiple SLF4J binding warning. (Vinay via eli)
|
||||
|
||||
HDFS-3524. Update TestFileLengthOnClusterRestart for HDFS-3522. (Brandon
|
||||
Li via szetszwo)
|
||||
|
||||
BREAKDOWN OF HDFS-3042 SUBTASKS
|
||||
|
||||
HDFS-2185. HDFS portion of ZK-based FailoverController (todd)
|
||||
|
|
|
@ -65,8 +65,8 @@ public class TestFileLengthOnClusterRestart {
|
|||
in = (HdfsDataInputStream) dfs.open(path);
|
||||
Assert.fail("Expected IOException");
|
||||
} catch (IOException e) {
|
||||
Assert.assertEquals("Could not obtain the last block locations.", e
|
||||
.getLocalizedMessage());
|
||||
Assert.assertTrue(e.getLocalizedMessage().indexOf(
|
||||
"Name node is in safe mode") >= 0);
|
||||
}
|
||||
} finally {
|
||||
if (null != in) {
|
||||
|
|
Loading…
Reference in New Issue