YARN-9657. AbstractLivelinessMonitor add serviceName to PingChecker thread. Contributed by Bilwa S T.
This commit is contained in:
parent
1c5b28659f
commit
cf5d8957ee
|
@ -67,7 +67,7 @@ public abstract class AbstractLivelinessMonitor<O> extends AbstractService {
|
||||||
assert !stopped : "starting when already stopped";
|
assert !stopped : "starting when already stopped";
|
||||||
resetTimer();
|
resetTimer();
|
||||||
checkerThread = new Thread(new PingChecker());
|
checkerThread = new Thread(new PingChecker());
|
||||||
checkerThread.setName("Ping Checker");
|
checkerThread.setName("Ping Checker for "+getName());
|
||||||
checkerThread.start();
|
checkerThread.start();
|
||||||
super.serviceStart();
|
super.serviceStart();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue