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

This commit is contained in:
Ayush Saxena 2019-12-27 09:12:44 +05:30
parent 300505c562
commit 80f91d14ab
1 changed files with 3 additions and 0 deletions

View File

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