Uploaded image for project: 'Livy'
  1. Livy
  2. LIVY-452

Differentiate FAILED and KILLED states

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.6.0
    • Component/s: None
    • Labels:
      None

      Description

      Now it's not possible to distinguish between two states - SparkApp.State.KILLED and  SparkApp.State.FAILED. In both cases the session state will be SessionState.Dead().

      In our use case it's important to distinguish whether job was failed or killed. So, I propose to add new SessionState.Killed() which will be used when job was actually killed by user. 

      If this idea will be approved then I can submit PR about that.

        Attachments

          Activity

            People

            • Assignee:
              aromanenko Alexey Romanenko
              Reporter:
              aromanenko Alexey Romanenko
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: