Jelajahi Sumber

HDFS-9779 . TestReplicationPolicyWithNodeGroup NODE variable picks wrong rack value. Contributed by Kuhu Shukla.

Uma Maheswara Rao G 9 tahun lalu
induk
melakukan
a7fce9ab41

+ 3 - 0
hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

@@ -2721,6 +2721,9 @@ Release 2.8.0 - UNRELEASED
     HDFS-9760. WebHDFS AuthFilter cannot be configured with custom AltKerberos
     auth handler (Ryan Sasson via aw)
 
+    HDFS-9779 . TestReplicationPolicyWithNodeGroup NODE variable picks wrong rack value
+    (Kuhu Shukla via umamahesh)
+
 Release 2.7.3 - UNRELEASED
 
   INCOMPATIBLE CHANGES

+ 1 - 1
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestReplicationPolicyWithNodeGroup.java

@@ -101,7 +101,7 @@ public class TestReplicationPolicyWithNodeGroup extends BaseReplicationPolicyTes
   };
 
   private final static DatanodeDescriptor NODE = 
-      new DatanodeDescriptor(DFSTestUtil.getDatanodeDescriptor("9.9.9.9", "/d2/r4/n7"));
+      DFSTestUtil.getDatanodeDescriptor("9.9.9.9", "/d2/r4/n7");
   
   private static final DatanodeStorageInfo[] storagesForDependencies;
   private static final DatanodeDescriptor[]  dataNodesForDependencies;