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

(cherry picked from commit 80f91d14ab)
This commit is contained in:
Ayush Saxena 2019-12-27 09:12:44 +05:30 committed by He Xiaoqiao
parent d5501c125f
commit f77965b29e
No known key found for this signature in database
GPG Key ID: A80CC124E9A0FA63
1 changed files with 3 additions and 0 deletions

View File

@ -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