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

(cherry picked from commit a7fce9ab41)
This commit is contained in:
Uma Maheswara Rao G 2016-02-09 15:14:30 -08:00
parent dc325ee550
commit de24588ca2
2 changed files with 4 additions and 1 deletions

View File

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

View File

@ -101,7 +101,7 @@ public class TestReplicationPolicyWithNodeGroup extends BaseReplicationPolicyTes
}; };
private final static DatanodeDescriptor NODE = 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 DatanodeStorageInfo[] storagesForDependencies;
private static final DatanodeDescriptor[] dataNodesForDependencies; private static final DatanodeDescriptor[] dataNodesForDependencies;