Uploaded image for project: 'REEF (Retired)'
  1. REEF (Retired)
  2. REEF-1051

Add an interface to query a Tasklet's status in VortexMaster

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Vortex
    • None

    Description

      Currently, we don't have any interface for checking the status of Tasklets. Having one would be useful for users, especially for testing.

      I think a Tasklet can be in

      • SUBMITTED: When the Tasklet is submitted, and waiting in the pending queue(VortexThreadPool.submit())
      • RUNNING: When the Tasklet is sent to scheduled worker, and executed (RunningWorkers.launchTasklet())
      • FINISHED, FAILED, CANCELLED: as the result of Tasklets.

      Questions I have in mind:

      • Would it be useful to store the history, so we can query the Tasklets launched before?
      • Do we need to breakdown RUNNING state? For example, the Tasklet can be 1) sent to the worker, 2) pending in the worker's local queue, 3) running. IMHO, considering all above as a RUNNING state would be enough for now. Any thought?

      Attachments

        Activity

          People

            Unassigned Unassigned
            yunseong Yunseong Lee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: