HDFS-14997. Addendum: BPServiceActor processes commands from NameNode asynchronously. Contributed by Xiaoqiao He.
(cherry picked from commit80f91d14ab
) (cherry picked from commitf77965b29e
)
This commit is contained in:
parent
baa4190eab
commit
cedb8fec9d
|
@ -578,6 +578,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
|
||||||
|
|
Loading…
Reference in New Issue