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:46:59 UTC

[jira] [Updated] (HELIX-553) While enqueueing a job, task framework should create state model "Task" if it doesn't already exist

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

Lei Xia updated HELIX-553:
--------------------------
    Assignee: Junkai Xue  (was: Zhen Zhang)

> While enqueueing a job, task framework should create state model "Task" if it doesn't already exist
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HELIX-553
>                 URL: https://issues.apache.org/jira/browse/HELIX-553
>             Project: Apache Helix
>          Issue Type: Bug
>            Reporter: Karthiek
>            Assignee: Junkai Xue
>
> Task framework expects the "Task" state model to be already defined. Otherwise enqueueing a job using ClusterTask framework throws this exception:
> org.apache.helix.HelixException: State model Task not found in the cluster STATEMODELDEFS path
> 	at org.apache.helix.manager.zk.ZKHelixAdmin.addResource(ZKHelixAdmin.java:608)
> 	at org.apache.helix.manager.zk.ZKHelixAdmin.addResource(ZKHelixAdmin.java:651)
> 	at org.apache.helix.manager.zk.ZKHelixAdmin.addResource(ZKHelixAdmin.java:625)
> 	at org.apache.helix.manager.zk.ZKHelixAdmin.addResource(ZKHelixAdmin.java:592)
> 	at org.apache.helix.task.TaskDriver.scheduleJob(TaskDriver.java:327)
> 	at org.apache.helix.task.TaskDriver.enqueueJob(TaskDriver.java:316)
> 	at com.linkedin.espresso.bulkmigrator.BulkOperationScheduler.schedule(BulkOperationScheduler.java:98)
> 	at com.linkedin.espresso.test.bulkoperation.ScheduleEIJob.main(ScheduleEIJob.java:38)
> Existing clusters will not have "Task" state model already defined. It would be really great if the task framework automatically creates it if the state model doesn't exist. 



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