You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by "Angelo K. Huang (JIRA)" <ji...@apache.org> on 2011/08/20 03:01:46 UTC

[jira] [Resolved] (OOZIE-14) admin command to reset workflow instance for system upgrade

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

Angelo K. Huang resolved OOZIE-14.
----------------------------------

    Resolution: Won't Fix

> admin command to reset workflow instance for system upgrade
> -----------------------------------------------------------
>
>                 Key: OOZIE-14
>                 URL: https://issues.apache.org/jira/browse/OOZIE-14
>             Project: Apache Oozie (Incubating)
>          Issue Type: New Feature
>            Reporter: Angelo K. Huang
>            Assignee: Angelo K. Huang
>
> WorkflowInstance currently does not provide version in its serialized object. When workflow instance is upgraded or modified, old jobs submitted from previous running version are no longer able to access by Oozie. This feature is to create a command for Administrators to run run system upgrade and reset workflow instance for all running workflow jobs.
> The exception is like this :
> 2011-05-07 00:08:38,002 ERROR ActionEndCommand:522 - USER[-] GROUP[-] TOKEN[-] APP[-] JOB[-] ACTION[-] Exception,
> java.lang.RuntimeException: java.io.IOException: java.lang.ClassNotFoundException: null
> java.lang.RuntimeException: java.io.IOException: java.lang.ClassNotFoundException: null
>         at org.apache.oozie.util.WritableUtils.fromByteArray(WritableUtils.java:67)
>         at org.apache.oozie.WorkflowJobBean.get(WorkflowJobBean.java:351)
>         at org.apache.oozie.WorkflowJobBean.getWorkflowInstance(WorkflowJobBean.java:214)
>         at org.apache.oozie.command.wf.ActionEndCommand.call(ActionEndCommand.java:66)
>         at org.apache.oozie.command.wf.ActionEndCommand.execute(ActionEndCommand.java:190)
>         at org.apache.oozie.command.wf.ActionEndCommand.execute(ActionEndCommand.java:42)
>         at org.apache.oozie.command.Command.call(Command.java:205)
>         at org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:280)
>         at org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:146)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:619)
> Caused by: java.io.IOException: java.lang.ClassNotFoundException: null
>         at org.apache.oozie.workflow.lite.NodeDef.readFields(NodeDef.java:102)
>         at org.apache.oozie.workflow.lite.LiteWorkflowApp.readFields(LiteWorkflowApp.java:169)
>         at org.apache.oozie.workflow.lite.LiteWorkflowInstance.readFields(LiteWorkflowInstance.java:564)
>         at org.apache.oozie.util.WritableUtils.fromByteArray(WritableUtils.java:63)
>         ... 11 more
> Caused by: java.lang.ClassNotFoundException: null
>         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
>         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:169)
>         at org.apache.oozie.workflow.lite.NodeDef.readFields(NodeDef.java:99)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira