You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@livy.apache.org by "Wang Zhefeng (JIRA)" <ji...@apache.org> on 2019/03/12 10:09:00 UTC

[jira] [Created] (LIVY-567) when recovering interactive session, related SparkApp is not recovered.

Wang Zhefeng created LIVY-567:
---------------------------------

             Summary: when recovering interactive session, related SparkApp is not recovered.
                 Key: LIVY-567
                 URL: https://issues.apache.org/jira/browse/LIVY-567
             Project: Livy
          Issue Type: Bug
          Components: Server
            Reporter: Wang Zhefeng


when livy server recovered, interactive session in livy ui lost their appInfo and cannot get yarn state or change session state. because of driverProcess cannot be recovered and SparkApp use driverProcess to recover.
{quote}private val 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)) }
}{quote}
 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)