Skip to content

Commit 685cb83

Browse files
lys0716xiaoyuyao
authored andcommitted
HDFS-14433. Remove the extra empty space in the DataStreamer logging. Contributed by Yishuang Lu. (#747)
1 parent 13907d8 commit 685cb83

File tree

1 file changed

+2
-2
lines changed
  • hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs

1 file changed

+2
-2
lines changed

hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DataStreamer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1152,7 +1152,7 @@ public void run() {
11521152
one = ackQueue.getFirst();
11531153
}
11541154
if (one.getSeqno() != seqno) {
1155-
throw new IOException("ResponseProcessor: Expecting seqno " +
1155+
throw new IOException("ResponseProcessor: Expecting seqno" +
11561156
" for block " + block +
11571157
one.getSeqno() + " but received " + seqno);
11581158
}
@@ -1386,7 +1386,7 @@ private void addDatanode2ExistingPipeline() throws IOException {
13861386
if (dfsClient.dtpReplaceDatanodeOnFailureReplication > 0 && nodes.length
13871387
>= dfsClient.dtpReplaceDatanodeOnFailureReplication) {
13881388
DFSClient.LOG.warn(
1389-
"Failed to find a new datanode to add to the write pipeline, "
1389+
"Failed to find a new datanode to add to the write pipeline,"
13901390
+ " continue to write to the pipeline with " + nodes.length
13911391
+ " nodes since it's no less than minimum replication: "
13921392
+ dfsClient.dtpReplaceDatanodeOnFailureReplication

0 commit comments

Comments
 (0)