diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 5fe82751fba..d7cf30f4623 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -104,6 +104,9 @@ Release 2.0.1-alpha - UNRELEASED HDFS-2988. Improve error message when storage directory lock fails (Miomir Boljanovic via harsh) + HDFS-2391. Newly set BalancerBandwidth value is not displayed anywhere. + (harsh) + OPTIMIZATIONS HDFS-2982. Startup performance suffers when there are many edit log diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPOfferService.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPOfferService.java index 69efdd0a3bc..75ee2a43a6a 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPOfferService.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPOfferService.java @@ -615,6 +615,9 @@ class BPOfferService { if (bandwidth > 0) { DataXceiverServer dxcs = (DataXceiverServer) dn.dataXceiverServer.getRunnable(); + LOG.info("Updating balance throttler bandwidth from " + + dxcs.balanceThrottler.getBandwidth() + " bytes/s " + + "to: " + bandwidth + " bytes/s."); dxcs.balanceThrottler.setBandwidth(bandwidth); } break;