You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ay...@apache.org on 2019/12/27 03:49:01 UTC
[hadoop] branch trunk updated: HDFS-14997. Addendum: BPServiceActor
processes commands from NameNode asynchronously. Contributed by Xiaoqiao
He.
This is an automated email from the ASF dual-hosted git repository.
ayushsaxena pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push:
new 80f91d1 HDFS-14997. Addendum: BPServiceActor processes commands from NameNode asynchronously. Contributed by Xiaoqiao He.
80f91d1 is described below
commit 80f91d14ab0fb385252d4eeb19141bd059303d59
Author: Ayush Saxena <ay...@apache.org>
AuthorDate: Fri Dec 27 09:12:44 2019 +0530
HDFS-14997. Addendum: BPServiceActor processes commands from NameNode asynchronously. Contributed by Xiaoqiao He.
---
.../java/org/apache/hadoop/hdfs/server/datanode/BPServiceActor.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPServiceActor.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPServiceActor.java
index 13959a3..f4403e8 100755
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPServiceActor.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPServiceActor.java
@@ -596,6 +596,9 @@ class BPServiceActor implements Runnable {
if (bpThread != null) {
bpThread.interrupt();
}
+ if (commandProcessingThread != null) {
+ commandProcessingThread.interrupt();
+ }
}
//This must be called only by blockPoolManager
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org