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

jxue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/helix.git

commit 3d7c162d6e10589e8079a0690b538473bf2645de
Author: narendly <[email protected]>
AuthorDate: Mon Feb 25 18:07:53 2019 -0800

    [HELIX-800] TASK: Fix Participant-side log
    
    Previously, the log did not contain the instance name, which makes it not 
very useful. This RB fixes this.
    Changelist:
    1. Improve the log message
---
 helix-core/src/main/java/org/apache/helix/task/TaskStateModel.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/helix-core/src/main/java/org/apache/helix/task/TaskStateModel.java 
b/helix-core/src/main/java/org/apache/helix/task/TaskStateModel.java
index 34d6842..b45379a 100644
--- a/helix-core/src/main/java/org/apache/helix/task/TaskStateModel.java
+++ b/helix-core/src/main/java/org/apache/helix/task/TaskStateModel.java
@@ -195,8 +195,8 @@ public class TaskStateModel extends StateModel {
         timeout_task.cancel(true);
       }
       LOG.error(
-          "The thread running the task partition {} was not found while 
attempting to cancel this task; Manual cleanup may be required for this task.",
-          taskPartition);
+          "Participant {}'s thread for task partition {} not found while 
attempting to cancel the task; Manual cleanup may be required.",
+          _manager.getInstanceName(), taskPartition);
       return;
     }
 

Reply via email to