HDFS-5434. Change block placement policy constructors from package private to protected. (Buddy Taylor via Arpit Agarwal)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1560217 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cc7cc5a4d9
commit
83280a45de
@ -695,6 +695,9 @@ Release 2.4.0 - UNRELEASED
|
|||||||
|
|
||||||
HDFS-5704. Change OP_UPDATE_BLOCKS with a new OP_ADD_BLOCK. (jing9)
|
HDFS-5704. Change OP_UPDATE_BLOCKS with a new OP_ADD_BLOCK. (jing9)
|
||||||
|
|
||||||
|
HDFS-5434. Change block placement policy constructors from package private
|
||||||
|
to protected. (Buddy Taylor via Arpit Agarwal)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HDFS-5239. Allow FSNamesystem lock fairness to be configurable (daryn)
|
HDFS-5239. Allow FSNamesystem lock fairness to be configurable (daryn)
|
||||||
|
@ -79,7 +79,7 @@ protected StringBuilder initialValue() {
|
|||||||
*/
|
*/
|
||||||
protected int tolerateHeartbeatMultiplier;
|
protected int tolerateHeartbeatMultiplier;
|
||||||
|
|
||||||
BlockPlacementPolicyDefault(Configuration conf, FSClusterStats stats,
|
protected BlockPlacementPolicyDefault(Configuration conf, FSClusterStats stats,
|
||||||
NetworkTopology clusterMap) {
|
NetworkTopology clusterMap) {
|
||||||
initialize(conf, stats, clusterMap);
|
initialize(conf, stats, clusterMap);
|
||||||
}
|
}
|
||||||
|
@ -46,12 +46,12 @@
|
|||||||
*/
|
*/
|
||||||
public class BlockPlacementPolicyWithNodeGroup extends BlockPlacementPolicyDefault {
|
public class BlockPlacementPolicyWithNodeGroup extends BlockPlacementPolicyDefault {
|
||||||
|
|
||||||
BlockPlacementPolicyWithNodeGroup(Configuration conf, FSClusterStats stats,
|
protected BlockPlacementPolicyWithNodeGroup(Configuration conf, FSClusterStats stats,
|
||||||
NetworkTopology clusterMap) {
|
NetworkTopology clusterMap) {
|
||||||
initialize(conf, stats, clusterMap);
|
initialize(conf, stats, clusterMap);
|
||||||
}
|
}
|
||||||
|
|
||||||
BlockPlacementPolicyWithNodeGroup() {
|
protected BlockPlacementPolicyWithNodeGroup() {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user