@Private
public class BlockPlacementPolicies
extends java.lang.Object
| Constructor | Description |
|---|---|
BlockPlacementPolicies(org.apache.hadoop.conf.Configuration conf,
FSClusterStats stats,
org.apache.hadoop.net.NetworkTopology clusterMap,
org.apache.hadoop.hdfs.server.blockmanagement.Host2NodesMap host2datanodeMap) |
| Modifier and Type | Method | Description |
|---|---|---|
BlockPlacementPolicy |
getPolicy(org.apache.hadoop.hdfs.protocol.BlockType blockType) |
public BlockPlacementPolicies(org.apache.hadoop.conf.Configuration conf,
FSClusterStats stats,
org.apache.hadoop.net.NetworkTopology clusterMap,
org.apache.hadoop.hdfs.server.blockmanagement.Host2NodesMap host2datanodeMap)
public BlockPlacementPolicy getPolicy(org.apache.hadoop.hdfs.protocol.BlockType blockType)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.