helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l...@apache.org
Subject [5/9] helix git commit: [HELIX-645] Fix Task State Model INIT priority number
Date Mon, 19 Dec 2016 17:54:15 GMT
[HELIX-645] Fix Task State Model INIT priority number


Project: http://git-wip-us.apache.org/repos/asf/helix/repo
Commit: http://git-wip-us.apache.org/repos/asf/helix/commit/1563338e
Tree: http://git-wip-us.apache.org/repos/asf/helix/tree/1563338e
Diff: http://git-wip-us.apache.org/repos/asf/helix/diff/1563338e

Branch: refs/heads/helix-0.6.x
Commit: 1563338ee5488f5f1e563059ee127edd1ac350c6
Parents: 44209b8
Author: Junkai Xue <jxue@linkedin.com>
Authored: Thu Dec 15 16:49:25 2016 -0800
Committer: Junkai Xue <jxue@linkedin.com>
Committed: Thu Dec 15 16:49:25 2016 -0800

----------------------------------------------------------------------
 helix-core/src/main/java/org/apache/helix/model/TaskSMD.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/helix/blob/1563338e/helix-core/src/main/java/org/apache/helix/model/TaskSMD.java
----------------------------------------------------------------------
diff --git a/helix-core/src/main/java/org/apache/helix/model/TaskSMD.java b/helix-core/src/main/java/org/apache/helix/model/TaskSMD.java
index fd8b585..ac16a58 100644
--- a/helix-core/src/main/java/org/apache/helix/model/TaskSMD.java
+++ b/helix-core/src/main/java/org/apache/helix/model/TaskSMD.java
@@ -48,7 +48,7 @@ public final class TaskSMD extends StateModelDefinition {
     builder.initialState(TaskPartitionState.INIT.name());
 
     // add states
-    builder.addState(TaskPartitionState.INIT.name(), 01);
+    builder.addState(TaskPartitionState.INIT.name(), 0);
     builder.addState(TaskPartitionState.RUNNING.name(), 1);
     builder.addState(TaskPartitionState.STOPPED.name(), 2);
     builder.addState(TaskPartitionState.COMPLETED.name(), 3);


Mime
View raw message