HDFS-9713. DataXceiver#copyBlock should return if block is pinned. Contributed by Uma Maheswara Rao G.
(cherry picked from commit aea31eee78a287f251447686ba3f5bbcfe9c60a3)
This commit is contained in:
parent
915ce5d960
commit
82d4b2cf27
@ -1803,6 +1803,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
|
||||
|
@ -995,6 +995,7 @@ public void copyBlock(final ExtendedBlock block,
|
||||
"to " + peer.getRemoteAddressString() + " because it's pinned ";
|
||||
LOG.info(msg);
|
||||
sendResponse(ERROR, msg);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!dataXceiverServer.balanceThrottler.acquire()) { // not able to start
|
||||
|
Loading…
x
Reference in New Issue
Block a user