HDFS-9713. DataXceiver#copyBlock should return if block is pinned. Contributed by Uma Maheswara Rao G.

This commit is contained in:
Uma Maheswara Rao G 2016-02-07 20:50:47 -08:00
parent 5b59a0ea85
commit aea31eee78
2 changed files with 4 additions and 0 deletions

View File

@ -2710,6 +2710,9 @@ Release 2.8.0 - UNRELEASED
HDFS-9761. Rebalancer sleeps too long between iterations
(Mingliang Liu via cnauroth)
HDFS-9713. DataXceiver#copyBlock should return if block is pinned.
(umamahesh)
Release 2.7.3 - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -995,6 +995,7 @@ class DataXceiver extends Receiver implements Runnable {
"to " + peer.getRemoteAddressString() + " because it's pinned ";
LOG.info(msg);
sendResponse(ERROR, msg);
return;
}
if (!dataXceiverServer.balanceThrottler.acquire()) { // not able to start