diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/balancer/BalancerParameters.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/balancer/BalancerParameters.java index 1b27da67b192c..5570660144530 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/balancer/BalancerParameters.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/balancer/BalancerParameters.java @@ -149,14 +149,15 @@ public String toString() { return String.format("%s.%s [%s," + " threshold = %s," + " max idle iteration = %s," + " #excluded nodes = %s," + " #included nodes = %s," + " #source nodes = %s," - + " #target nodes = %s," + + " #excluded source nodes = %s," + " #target nodes = %s," + + " #excluded target nodes = %s," + " #blockpools = %s," + " run during upgrade = %s," + " sort top nodes = %s," + " hot block time interval = %s]", Balancer.class.getSimpleName(), getClass().getSimpleName(), policy, threshold, maxIdleIteration, excludedNodes.size(), - includedNodes.size(), sourceNodes.size(), targetNodes.size(), blockpools.size(), - runDuringUpgrade, sortTopNodes, hotBlockTimeInterval); + includedNodes.size(), sourceNodes.size(), excludedSourceNodes.size(), targetNodes.size(), + excludedTargetNodes.size(), blockpools.size(), runDuringUpgrade, sortTopNodes, hotBlockTimeInterval); } static class Builder {