YARN-9657. AbstractLivelinessMonitor add serviceName to PingChecker thread. Contributed by Bilwa S T.

This commit is contained in:
Abhishek Modi 2019-08-11 15:41:56 +05:30
parent 1c5b28659f
commit cf5d8957ee

View File

@ -67,7 +67,7 @@ protected void serviceStart() throws Exception {
assert !stopped : "starting when already stopped";
resetTimer();
checkerThread = new Thread(new PingChecker());
checkerThread.setName("Ping Checker");
checkerThread.setName("Ping Checker for "+getName());
checkerThread.start();
super.serviceStart();
}