helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ka...@apache.org
Subject git commit: [HELIX-422] Simplify single job creation, fix merge
Date Thu, 07 Aug 2014 20:48:01 GMT
Repository: helix
Updated Branches:
  refs/heads/helix-0.6.x 24b99e877 -> d9869eae1


[HELIX-422] Simplify single job creation, fix merge


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

Branch: refs/heads/helix-0.6.x
Commit: d9869eae1f5ba7006c744d3024840712d0f45347
Parents: 24b99e8
Author: Kanak Biscuitwala <kanak@apache.org>
Authored: Thu Aug 7 13:47:53 2014 -0700
Committer: Kanak Biscuitwala <kanak@apache.org>
Committed: Thu Aug 7 13:47:53 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/helix/blob/d9869eae/helix-core/src/main/java/org/apache/helix/task/Workflow.java
----------------------------------------------------------------------
diff --git a/helix-core/src/main/java/org/apache/helix/task/Workflow.java b/helix-core/src/main/java/org/apache/helix/task/Workflow.java
index 77a5ba7..d356d0c 100644
--- a/helix-core/src/main/java/org/apache/helix/task/Workflow.java
+++ b/helix-core/src/main/java/org/apache/helix/task/Workflow.java
@@ -172,7 +172,7 @@ public class Workflow {
       builder.addConfig(job.name, JobConfig.WORKFLOW_ID, wf.name);
       builder.addConfig(job.name, JobConfig.COMMAND, job.command);
       if (job.jobConfigMap != null) {
-        builder.addConfig(job.name, JobConfig.JOB_COMMAND_CONFIG_MAP, job.jobConfigMap.toString());
+        builder.addJobCommandConfigMap(job.name, job.jobConfigMap);
       }
       builder.addConfig(job.name, JobConfig.TARGET_RESOURCE, job.targetResource);
       if (job.targetPartitionStates != null) {


Mime
View raw message