HDFS-16051. Misspelt words in DataXceiver.java line 881 and line 885. Contributed by Ning Sheng.

This commit is contained in:
Ayush Saxena 2021-06-01 08:34:56 +05:30
parent bd7b97ba13
commit bce14e746b
1 changed files with 2 additions and 2 deletions

View File

@ -878,11 +878,11 @@ class DataXceiver extends Receiver implements Runnable {
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();
}