HDFS-14433. Remove the extra empty space in the DataStreamer logging. Contributed by Yishuang Lu. (#747)

This commit is contained in:
lys0716 2019-04-17 10:38:48 -07:00 committed by Xiaoyu Yao
parent 13907d8479
commit 685cb83e4c
1 changed files with 2 additions and 2 deletions

View File

@ -1152,7 +1152,7 @@ public void run() {
one = ackQueue.getFirst();
}
if (one.getSeqno() != seqno) {
throw new IOException("ResponseProcessor: Expecting seqno " +
throw new IOException("ResponseProcessor: Expecting seqno" +
" for block " + block +
one.getSeqno() + " but received " + seqno);
}
@ -1386,7 +1386,7 @@ private void addDatanode2ExistingPipeline() throws IOException {
if (dfsClient.dtpReplaceDatanodeOnFailureReplication > 0 && nodes.length
>= dfsClient.dtpReplaceDatanodeOnFailureReplication) {
DFSClient.LOG.warn(
"Failed to find a new datanode to add to the write pipeline, "
"Failed to find a new datanode to add to the write pipeline,"
+ " continue to write to the pipeline with " + nodes.length
+ " nodes since it's no less than minimum replication: "
+ dfsClient.dtpReplaceDatanodeOnFailureReplication