diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 00435d4ebbd..d053580d8a4 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -597,6 +597,9 @@ Release 2.0.3-alpha - Unreleased HDFS-4295. Using port 1023 should be valid when starting Secure DataNode (Stephen Chu via todd) + HDFS-4294. Backwards compatibility is not maintained for TestVolumeId. + (Ivan A. Veselovsky and Robert Parker via atm) + BREAKDOWN OF HDFS-3077 SUBTASKS HDFS-3077. Quorum-based protocol for reading and writing edit logs. diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/TestVolumeId.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/TestVolumeId.java index da6f192a757..3584f21b1a4 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/TestVolumeId.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/TestVolumeId.java @@ -51,7 +51,7 @@ public class TestVolumeId { } @SuppressWarnings("unchecked") - private void testEq(final boolean eq, Comparable id1, Comparable id2) { + private void testEq(final boolean eq, Comparable id1, Comparable id2) { final int h1 = id1.hashCode(); final int h2 = id2.hashCode(); @@ -99,8 +99,8 @@ public class TestVolumeId { } @SuppressWarnings("unchecked") - private void testEqMany(final boolean eq, Comparable... volumeIds) { - Comparable vidNext; + private void testEqMany(final boolean eq, Comparable... volumeIds) { + Comparable vidNext; int sum = 0; for (int i=0; i