Zhen Zhang created HELIX-566:
--------------------------------

             Summary: 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


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.

We need to check in TaskDriver#enqueueJob that if Task state model definition 
is missing, it will add it to the cluster.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to