[
https://issues.apache.org/jira/browse/LIVY-865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17391153#comment-17391153
]
Du Ripeng commented on LIVY-865:
--------------------------------
PR for this bug-fix:
https://github.com/apache/incubator-livy/pull/325
> 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
> Priority: Major
> Attachments: image-2021-08-01-21-39-02-970.png
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)