HDFS-3718. Datanode won't shutdown because of runaway DataBlockScanner thread (Kihwal Lee via daryn)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1373090 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b38bd555e8
commit
f46b6ea55c
@ -1472,6 +1472,9 @@ Release 0.23.3 - UNRELEASED
|
|||||||
|
|
||||||
HDFS-3553. Hftp proxy tokens are broken (daryn)
|
HDFS-3553. Hftp proxy tokens are broken (daryn)
|
||||||
|
|
||||||
|
HDFS-3718. Datanode won't shutdown because of runaway DataBlockScanner
|
||||||
|
thread (Kihwal Lee via daryn)
|
||||||
|
|
||||||
Release 0.23.2 - UNRELEASED
|
Release 0.23.2 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
@ -1061,6 +1061,7 @@ public void shutdown() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.shouldRun = false;
|
||||||
shutdownPeriodicScanners();
|
shutdownPeriodicScanners();
|
||||||
|
|
||||||
if (infoServer != null) {
|
if (infoServer != null) {
|
||||||
@ -1074,7 +1075,6 @@ public void shutdown() {
|
|||||||
ipcServer.stop();
|
ipcServer.stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
this.shouldRun = false;
|
|
||||||
if (dataXceiverServer != null) {
|
if (dataXceiverServer != null) {
|
||||||
((DataXceiverServer) this.dataXceiverServer.getRunnable()).kill();
|
((DataXceiverServer) this.dataXceiverServer.getRunnable()).kill();
|
||||||
this.dataXceiverServer.interrupt();
|
this.dataXceiverServer.interrupt();
|
||||||
|
Loading…
Reference in New Issue
Block a user