HDFS-13447. Fix Typos - Node Not Chosen. Contributed by Beluga Behr.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/366517ba Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/366517ba Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/366517ba Branch: refs/heads/branch-3.1 Commit: 366517ba994c9a075d220a03ae6b829e66449b55 Parents: a517ee4 Author: Márton Elek <[email protected]> Authored: Wed Aug 8 17:27:57 2018 +0200 Committer: Arpit Agarwal <[email protected]> Committed: Mon Aug 20 14:52:04 2018 -0700 ---------------------------------------------------------------------- .../hdfs/server/blockmanagement/BlockPlacementPolicyDefault.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/366517ba/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockPlacementPolicyDefault.java ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockPlacementPolicyDefault.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockPlacementPolicyDefault.java index e2a9c55..ac20e6e 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockPlacementPolicyDefault.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockPlacementPolicyDefault.java @@ -67,11 +67,11 @@ public class BlockPlacementPolicyDefault extends BlockPlacementPolicy { .withInitial(() -> new HashMap<NodeNotChosenReason, Integer>()); private enum NodeNotChosenReason { - NOT_IN_SERVICE("the node isn't in service"), + NOT_IN_SERVICE("the node is not in service"), NODE_STALE("the node is stale"), NODE_TOO_BUSY("the node is too busy"), TOO_MANY_NODES_ON_RACK("the rack has too many chosen nodes"), - NOT_ENOUGH_STORAGE_SPACE("no enough storage space to place the block"); + NOT_ENOUGH_STORAGE_SPACE("not enough storage space to place the block"); private final String text; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
