HDFS-14997. Addendum: BPServiceActor processes commands from NameNode asynchronously. Contributed by Xiaoqiao He.
(cherry picked from commit 80f91d14ab0fb385252d4eeb19141bd059303d59) (cherry picked from commit f77965b29eb3f33713c39f1cb341fdc7c91b0220)
This commit is contained in:
parent
baa4190eab
commit
cedb8fec9d
@ -578,6 +578,9 @@ void stop() {
|
|||||||
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user