You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by ka...@apache.org on 2014/08/07 22:48:01 UTC

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

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 <ka...@apache.org>
Authored: Thu Aug 7 13:47:53 2014 -0700
Committer: Kanak Biscuitwala <ka...@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) {