HDFS-7916. 'reportBadBlocks' from datanodes to standby Node BPServiceActor goes for infinite loop (Contributed by Vinayakumar B)

Reverted earlier commit
This commit is contained in:
Vinayakumar B 2015-05-05 11:05:37 +05:30
parent 338e88a19e
commit 318081ccd7
2 changed files with 0 additions and 7 deletions

View File

@ -664,9 +664,6 @@ Release 2.7.1 - UNRELEASED
HDFS-8179. DFSClient#getServerDefaults returns null within 1
hour of system start. (Xiaoyu Yao via Arpit Agarwal)
HDFS-7916. 'reportBadBlocks' from datanodes to standby Node BPServiceActor
goes for infinite loop (vinayakumarb)
HDFS-8163. Using monotonicNow for block report scheduling causes
test failures on recently restarted systems. (Arpit Agarwal)

View File

@ -26,7 +26,6 @@
import org.apache.hadoop.hdfs.protocol.LocatedBlock;
import org.apache.hadoop.hdfs.protocolPB.DatanodeProtocolClientSideTranslatorPB;
import org.apache.hadoop.hdfs.server.protocol.DatanodeRegistration;
import org.apache.hadoop.ipc.StandbyException;
/**
* ReportBadBlockAction is an instruction issued by {{BPOfferService}} to
@ -60,9 +59,6 @@ public void reportTo(DatanodeProtocolClientSideTranslatorPB bpNamenode,
try {
bpNamenode.reportBadBlocks(locatedBlock);
} catch (StandbyException e) {
DataNode.LOG.warn("Failed to report bad block " + block
+ " to standby namenode");
} catch (IOException e) {
throw new BPServiceActorActionException("Failed to report bad block "
+ block + " to namenode: ");