pendingReceivedRequests = 0;
}
LOG.info("Generating block report for " + namenodeAddress);
Block[] bReport = data.getBlockReport(servicePair.namespaceId);
DatanodeCommand cmd = avatarnode.blockReportNew(nsRegistration,
new BlockReport(BlockListAsLongs.convertToArrayLongs(bReport)));
if (cmd != null &&
cmd.getAction() == DatanodeProtocols.DNA_BACKOFF) {
// We have cleared the retry list, but the block report was not
// processed due to BACKOFF, add the retry blocks back.
processFailedBlocks(tempRetryList, tempPendingReceivedRequests);