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 (Created) (JIRA)" <ji...@apache.org> on 2011/11/30 18:17:40 UTC

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

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


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

        

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

Posted by "Chris A. Mattmann (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OODT-356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris A. Mattmann updated OODT-356:
-----------------------------------

    Attachment: OODT-356.Mattmann.113011.patch.txt

Patch can be reviewed at: https://reviews.apache.org/r/2980/
                
> 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

        

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

Posted by "Chris A. Mattmann (Resolved) (JIRA)" <ji...@apache.org>.
     [ 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