helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aliza...@apache.org
Subject [helix] branch master updated: Change error message to reset partitons (#1351)
Date Thu, 10 Sep 2020 00:58:53 GMT
This is an automated email from the ASF dual-hosted git repository.

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

The following commit(s) were added to refs/heads/master by this push:
     new f901b2f  Change error message to reset partitons (#1351)
f901b2f is described below

commit f901b2f4e1bffcfe19a2d7c5d088f3661a682b02
Author: Ali Reza Zamani Zadeh Najari <anajari@linkedin.com>
AuthorDate: Wed Sep 9 17:58:41 2020 -0700

    Change error message to reset partitons (#1351)
    In this commit, if partition is not in ERROR state, API prints more
    appropriate message.
 helix-core/src/main/java/org/apache/helix/manager/zk/ZKHelixAdmin.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helix-core/src/main/java/org/apache/helix/manager/zk/ZKHelixAdmin.java b/helix-core/src/main/java/org/apache/helix/manager/zk/ZKHelixAdmin.java
index 1b3eb8f..0031213 100644
--- a/helix-core/src/main/java/org/apache/helix/manager/zk/ZKHelixAdmin.java
+++ b/helix-core/src/main/java/org/apache/helix/manager/zk/ZKHelixAdmin.java
@@ -566,7 +566,7 @@ public class ZKHelixAdmin implements HelixAdmin {
     INSTANCE_NON_EXISTENT("%s does not exist in cluster %s"),
     RESOURCE_NON_EXISTENT("resource %s is not added to cluster %s"),
     PARTITION_NON_EXISTENT("not all %s exist in cluster %s"),
-    PARTITION_NOT_ERROR("%s is NOT found in cluster %s"),
+    PARTITION_NOT_ERROR("%s is NOT found in cluster %s or not in ERROR state"),
     STATE_MODEL_NON_EXISTENT("%s is NOT found in cluster %s");
     private String message;

View raw message