YARN-8729. Node status updater thread could be lost after it is restarted. Contributed by Tao Yang.
This commit is contained in:
parent
c9e0b69ab3
commit
39c1ea1ed4
@ -326,8 +326,8 @@ protected void rebootNodeStatusUpdaterAndRegisterWithRM() {
|
||||
statusUpdater.join();
|
||||
registerWithRM();
|
||||
statusUpdater = new Thread(statusUpdaterRunnable, "Node Status Updater");
|
||||
statusUpdater.start();
|
||||
this.isStopped = false;
|
||||
statusUpdater.start();
|
||||
LOG.info("NodeStatusUpdater thread is reRegistered and restarted");
|
||||
} catch (Exception e) {
|
||||
String errorMessage = "Unexpected error rebooting NodeStatusUpdater";
|
||||
|
Loading…
Reference in New Issue
Block a user