HDFS-16051. Misspelt words in DataXceiver.java line 881 and line 885. Contributed by Ning Sheng.
This commit is contained in:
parent
bd7b97ba13
commit
bce14e746b
@ -878,11 +878,11 @@ public void writeBlock(final ExtendedBlock block,
|
||||
IOUtils.closeSocket(mirrorSock);
|
||||
mirrorSock = null;
|
||||
if (isClient) {
|
||||
LOG.error("{}:Exception transfering block {} to mirror {}",
|
||||
LOG.error("{}:Exception transferring block {} to mirror {}",
|
||||
datanode, block, mirrorNode, e);
|
||||
throw e;
|
||||
} else {
|
||||
LOG.info("{}:Exception transfering {} to mirror {}- continuing " +
|
||||
LOG.info("{}:Exception transferring {} to mirror {}- continuing " +
|
||||
"without the mirror", datanode, block, mirrorNode, e);
|
||||
incrDatanodeNetworkErrors();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user