diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index c872118d0b3..4a57ff77bc9 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -260,6 +260,8 @@ Release 2.0.0 - UNRELEASED HDFS-3156. TestDFSHAAdmin is failing post HADOOP-8202. (atm) + HDFS-3143. TestGetBlocks.testGetBlocks is failing. (Arpit Gupta via atm) + BREAKDOWN OF HDFS-1623 SUBTASKS HDFS-2179. Add fencing framework and mechanisms for NameNode HA. (todd) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestGetBlocks.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestGetBlocks.java index b0878d1eb8c..c27895f1f95 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestGetBlocks.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestGetBlocks.java @@ -135,7 +135,7 @@ public class TestGetBlocks extends TestCase { namenode.getBlocks(new DatanodeInfo(), 2); } catch(RemoteException e) { getException = true; - assertTrue(e.getMessage().contains("IllegalArgumentException")); + assertTrue(e.getClassName().contains("HadoopIllegalArgumentException")); } assertTrue(getException); }