Преглед изворни кода

HDFS-9439. Include status of closeAck into exception message in DataNode#run. (Xiao Chen via Yongjun Zhang)

(cherry picked from commit 31dc5c650e3fcfd5b581cbc1132b895d3eadaf49)
Yongjun Zhang пре 9 година
родитељ
комит
0664782025

+ 3 - 0
hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

@@ -801,6 +801,9 @@ Release 2.8.0 - UNRELEASED
     HDFS-8056. Decommissioned dead nodes should continue to be counted as dead
     after NN restart. (mingma)
 
+    HDFS-9439. Include status of closeAck into exception message in DataNode#run.
+    (Xiao Chen via Yongjun Zhang)
+
   OPTIMIZATIONS
 
     HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than

+ 1 - 1
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java

@@ -2251,7 +2251,7 @@ public class DataNode extends ReconfigurableBase
                    + Arrays.asList(targets));
             } else {
               throw new IOException("Bad connect ack, targets="
-                  + Arrays.asList(targets));
+                  + Arrays.asList(targets) + " status=" + closeAck.getStatus());
             }
           }
         } else {