You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Chris A. Mattmann (Resolved) (JIRA)" <ji...@apache.org> on 2012/02/05 07:22:53 UTC

[jira] [Resolved] (OODT-356) Tool to clean Workflow Instance repositories

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

Chris A. Mattmann resolved OODT-356.
------------------------------------

    Resolution: Fixed

- fixed in r1240665
- also hardened the LuceneWorkflowInstanceRepository so that it's backwards compatible with OODT 0.3 created inst repos 
- thanks to bfoster for the review!.
                
> Tool to clean Workflow Instance repositories
> --------------------------------------------
>
>                 Key: OODT-356
>                 URL: https://issues.apache.org/jira/browse/OODT-356
>             Project: OODT
>          Issue Type: New Feature
>          Components: workflow manager
>            Reporter: Chris A. Mattmann
>            Assignee: Chris A. Mattmann
>             Fix For: 0.4
>
>         Attachments: OODT-356.Mattmann.113011.patch.txt
>
>
> I've written a tool that will allow users to clean their existing Workflow Instance repository of "ghost" Tasks that no longer exist, either because the workflow manager was restart, or because the jobs will never complete, etc.
> The tool:
> # Pages through all the instances in the repository
> # For each instance that is either CREATED, STARTED, QUEUED, RSUBMIT, PGE_EXEC, BUILDING_CONF_FILE, CRAWLING, STAGING_INPUT it will:
> ## Update end date time to NOW
> ## If start date time is null, update it to NOW as well.
> ## Set Workflow status to FINISHED.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira