Skip to content

Commit 45501d6

Browse files
GuoPhilipseHarshitGupta11
authored andcommitted
HDFS-16321. Fix invalid config in TestAvailableSpaceRackFaultTolerantBPP (apache#3655). Contributed by guo.
Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
1 parent 0e2d9c6 commit 45501d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestAvailableSpaceRackFaultTolerantBPP.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public class TestAvailableSpaceRackFaultTolerantBPP {
6565
public static void setupCluster() throws Exception {
6666
conf = new HdfsConfiguration();
6767
conf.setFloat(
68-
DFSConfigKeys.DFS_NAMENODE_AVAILABLE_SPACE_BLOCK_PLACEMENT_POLICY_BALANCED_SPACE_PREFERENCE_FRACTION_KEY,
68+
DFSConfigKeys.DFS_NAMENODE_AVAILABLE_SPACE_RACK_FAULT_TOLERANT_BLOCK_PLACEMENT_POLICY_BALANCED_SPACE_PREFERENCE_FRACTION_KEY,
6969
0.6f);
7070
String[] racks = new String[NUM_RACKS];
7171
for (int i = 0; i < NUM_RACKS; i++) {

0 commit comments

Comments
 (0)