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)