HDFS-2391. Newly set BalancerBandwidth value is not displayed anywhere. Contributed by Harsh J
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1358850 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b4c8c50456
commit
0628876901
|
@ -104,6 +104,9 @@ Release 2.0.1-alpha - UNRELEASED
|
||||||
HDFS-2988. Improve error message when storage directory lock fails
|
HDFS-2988. Improve error message when storage directory lock fails
|
||||||
(Miomir Boljanovic via harsh)
|
(Miomir Boljanovic via harsh)
|
||||||
|
|
||||||
|
HDFS-2391. Newly set BalancerBandwidth value is not displayed anywhere.
|
||||||
|
(harsh)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HDFS-2982. Startup performance suffers when there are many edit log
|
HDFS-2982. Startup performance suffers when there are many edit log
|
||||||
|
|
|
@ -615,6 +615,9 @@ assert getBlockPoolId().equals(bp) :
|
||||||
if (bandwidth > 0) {
|
if (bandwidth > 0) {
|
||||||
DataXceiverServer dxcs =
|
DataXceiverServer dxcs =
|
||||||
(DataXceiverServer) dn.dataXceiverServer.getRunnable();
|
(DataXceiverServer) dn.dataXceiverServer.getRunnable();
|
||||||
|
LOG.info("Updating balance throttler bandwidth from "
|
||||||
|
+ dxcs.balanceThrottler.getBandwidth() + " bytes/s "
|
||||||
|
+ "to: " + bandwidth + " bytes/s.");
|
||||||
dxcs.balanceThrottler.setBandwidth(bandwidth);
|
dxcs.balanceThrottler.setBandwidth(bandwidth);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue