throw new IOException("Found " + candidateReplicaCnt + " replica(s) for block " + block + " but none is in " + ReplicaState.RWR.name() + " or better state. datanodeids=" + Arrays.asList(locs));
", from datanode " + r.id + ", receivedState=" + rState.name() + ", receivedLength=" + r.rInfo.getNumBytes() + ", bestState=FINALIZED, finalizedLength=" + finalizedLength); ", from datanode " + r.id + ", receivedState=" + rState.name() + ", receivedLength=" + r.rInfo.getNumBytes() + ", bestState=" + bestState.name()); block, block.getNumBytes(), bestState.name(), newBlock, newBlock.getNumBytes(), participatingList);
@Override public String toString() { return super.toString() + "[numBytes=" + this.getNumBytes() + ",originalReplicaState=" + this.originalState.name() + "]"; } }