HDFS-2391. Newly set BalancerBandwidth value is not displayed anywhere. (harsh)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1342520 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e62a76a40c
commit
befd45fcb1
|
@ -79,6 +79,9 @@ Trunk (unreleased changes)
|
|||
|
||||
HDFS-3197. Incorrect class comments in a few tests. (Andy Isaacson via eli)
|
||||
|
||||
HDFS-2391. Newly set BalancerBandwidth value is not displayed anywhere.
|
||||
(harsh)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
HDFS-2834. Add a ByteBuffer-based read API to DFSInputStream.
|
||||
|
|
|
@ -609,6 +609,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;
|
||||
|
|
Loading…
Reference in New Issue