[ 
https://issues.apache.org/jira/browse/HELIX-566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lei Xia reassigned HELIX-566:
-----------------------------

    Assignee: 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: Lei Xia
>
> 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)

Reply via email to