You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by "Lei Xia (JIRA)" <ji...@apache.org> on 2016/11/17 17:40:58 UTC
[jira] [Updated] (HELIX-566) TaskDriver#enqueueJob need add Task
state model definition if not already in cluster
[ https://issues.apache.org/jira/browse/HELIX-566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lei Xia updated HELIX-566:
--------------------------
Assignee: Junkai Xue (was: Lei Xia)
> TaskDriver#enqueueJob need add Task state model definition if not already in cluster
> ------------------------------------------------------------------------------------
>
> Key: HELIX-566
> URL: https://issues.apache.org/jira/browse/HELIX-566
> Project: Apache Helix
> Issue Type: Bug
> Reporter: Zhen Zhang
> Assignee: Junkai Xue
>
> The Task state model definition is a new state model we add recently for TaskFramework. For the old cluster settings where Task state model definition is missing, TaskDriver#enqueueJob might throw an exception when creating the ideal-state for the job but successfully add the job to the queue in the Workflow config.
> This leaves the workflow/job config/status inconsistent and may blocks job from being scheduled.
> Helix controller needs to check (in TaskDriver#enqueueJob) that if Task state model definition is missing, it will add it to the cluster automatically.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)