Jassy1994 commented on a change in pull request #152: [LIVY-567] fix SparkApp of InteractiveSession cannot be recovered URL: https://github.com/apache/incubator-livy/pull/152#discussion_r315547571
########## File path: server/src/main/scala/org/apache/livy/server/interactive/InteractiveSession.scala ########## @@ -392,8 +392,12 @@ class InteractiveSession( app = mockApp.orElse { val driverProcess = client.flatMap { c => Option(c.getDriverProcess) } .map(new LineBufferedProcess(_, livyConf.getInt(LivyConf.SPARK_LOGS_SIZE))) - driverProcess.map { _ => SparkApp.create(appTag, appId, driverProcess, livyConf, Some(this)) } + if (livyConf.isRunningOnYarn()) { Review comment: Thanks for this comment, I will modify UT instead ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services