You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by "Zhen Zhang (JIRA)" <ji...@apache.org> on 2014/11/20 01:43:34 UTC
[jira] [Assigned] (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 ]
Zhen Zhang reassigned HELIX-553:
--------------------------------
Assignee: 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: Zhen Zhang
>
> 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)