Add cleanup leaf job at the end of a workflow

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major
    • 4.4.0
    • Affects Version/s: master
    • Component/s: Pegasus Planner
    • None

      It would be nice to add a cleanup leaf job at the end of workflows. Just like we prepend a mkdir job, we can append a (cd /tmp ; rm -rf

      {workdir}

      ). Obviously this will only work for successful workflows for which this would be a nice touch when people are running a lot of workflows in production mode.

      For failed ones it is nice to have the remote side around, and those can always be cleaned up with the cleanup workflow.

      One concern is if this change would affect hierarchical workflows.

            Assignee:
            Karan Vahi
            Reporter:
            Mats Rynge [X] (Inactive)
            Archiver:
            Rajiv Mayani

              Created:
              Updated:
              Resolved:
              Archived: