Forráskód Böngészése

HDFS-14997. Addendum: BPServiceActor processes commands from NameNode asynchronously. Contributed by Xiaoqiao He.

(cherry picked from commit 80f91d14ab0fb385252d4eeb19141bd059303d59)
(cherry picked from commit f77965b29eb3f33713c39f1cb341fdc7c91b0220)
Ayush Saxena 5 éve
szülő
commit
cedb8fec9d

+ 3 - 0
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPServiceActor.java

@@ -578,6 +578,9 @@ class BPServiceActor implements Runnable {
     if (bpThread != null) {
       bpThread.interrupt();
     }
+    if (commandProcessingThread != null) {
+      commandProcessingThread.interrupt();
+    }
   }
   
   //This must be called only by blockPoolManager