shanyu zhao created LIVY-576: -------------------------------- Summary: Unknown YARN state RUNNING FOR app with final status SUCCEEDED Key: LIVY-576 URL: https://issues.apache.org/jira/browse/LIVY-576 Project: Livy Issue Type: Bug Components: Server Affects Versions: 0.5.0 Reporter: shanyu zhao
Livy with Spark 2.3/2.4 on Yarn 2.9, there is a chance for Yarn to return application reports with Yarn state RUNNING and final Yarn status SUCCEEDED, this means the Yarn application is finishing up and about to be successful. Livy's mapYarnSate() method does not have a valid mapping for this combination and therefore it render the session 'dead'. I saw this in Livy server log: 19/03/25 20:04:28 ERROR utils.SparkYarnApp: Unknown YARN state RUNNING for app application_1553542555261_0063 with final status SUCCEEDED. -- This message was sent by Atlassian JIRA (v7.6.3#76005)