You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ab...@apache.org on 2019/08/11 10:12:26 UTC

[hadoop] branch trunk updated: YARN-9657. AbstractLivelinessMonitor add serviceName to PingChecker thread. Contributed by Bilwa S T.

This is an automated email from the ASF dual-hosted git repository.

abmodi pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new cf5d895  YARN-9657. AbstractLivelinessMonitor add serviceName to PingChecker thread. Contributed by Bilwa S T.
cf5d895 is described below

commit cf5d8957ee6182ee4150edade937b8b3600233d1
Author: Abhishek Modi <ab...@apache.org>
AuthorDate: Sun Aug 11 15:41:56 2019 +0530

    YARN-9657. AbstractLivelinessMonitor add serviceName to PingChecker thread. Contributed by Bilwa S T.
---
 .../java/org/apache/hadoop/yarn/util/AbstractLivelinessMonitor.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/util/AbstractLivelinessMonitor.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/util/AbstractLivelinessMonitor.java
index 688c7c8..3a9c0e8 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/util/AbstractLivelinessMonitor.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/util/AbstractLivelinessMonitor.java
@@ -67,7 +67,7 @@ public abstract class AbstractLivelinessMonitor<O> extends AbstractService {
     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();
   }


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org