You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@livy.apache.org by "Du Ripeng (Jira)" <ji...@apache.org> on 2021/08/01 13:40:00 UTC

[jira] [Created] (LIVY-865) Livy identify valid yarn state of batch session as FAIL unexpectedly

Du Ripeng created LIVY-865:
------------------------------

             Summary: Livy identify valid yarn state of batch session as FAIL unexpectedly
                 Key: LIVY-865
                 URL: https://issues.apache.org/jira/browse/LIVY-865
             Project: Livy
          Issue Type: Bug
          Components: Server
    Affects Versions: 0.7.0
            Reporter: Du Ripeng
         Attachments: image-2021-08-01-21-39-02-970.png

yarnClient.getApplicationReport(appId) would return 2 state below:
 # YarnApplicationState (short as yarnState)
 # FinalApplicationStatus (short as finalState)

These 2 state may switch sequentially in practice, means (yarnState, finalState) as

(RUNNING, SUCCEEDED) would switch to (FINISHED, SUCCEEDED) finally.

For now, (yarnState, finalState)  as (RUNNING, SUCCEEDED)  would be identified as FAIL state combination in Livy, this result in Spark job unexpected fail in pratice.

!image-2021-08-01-21-39-02-970.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)