HDFS-9713. DataXceiver#copyBlock should return if block is pinned. Contributed by Uma Maheswara Rao G.
(cherry picked from commit aea31eee78
)
This commit is contained in:
parent
f4bcc76df6
commit
5690e11206
|
@ -1727,6 +1727,9 @@ Release 2.8.0 - UNRELEASED
|
||||||
HDFS-9761. Rebalancer sleeps too long between iterations
|
HDFS-9761. Rebalancer sleeps too long between iterations
|
||||||
(Mingliang Liu via cnauroth)
|
(Mingliang Liu via cnauroth)
|
||||||
|
|
||||||
|
HDFS-9713. DataXceiver#copyBlock should return if block is pinned.
|
||||||
|
(umamahesh)
|
||||||
|
|
||||||
Release 2.7.3 - UNRELEASED
|
Release 2.7.3 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -995,6 +995,7 @@ class DataXceiver extends Receiver implements Runnable {
|
||||||
"to " + peer.getRemoteAddressString() + " because it's pinned ";
|
"to " + peer.getRemoteAddressString() + " because it's pinned ";
|
||||||
LOG.info(msg);
|
LOG.info(msg);
|
||||||
sendResponse(ERROR, msg);
|
sendResponse(ERROR, msg);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!dataXceiverServer.balanceThrottler.acquire()) { // not able to start
|
if (!dataXceiverServer.balanceThrottler.acquire()) { // not able to start
|
||||||
|
|
Loading…
Reference in New Issue