[
https://issues.apache.org/jira/browse/LIVY-874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17445892#comment-17445892
]
Shrikant commented on LIVY-874:
-------------------------------
from the livy log:
21/11/18 12:05:56 INFO InteractiveSession: Cannot recover interactive session
29 because its RSCDriver URI is unknown.
It seems session associated with application in accepted state can not be
recovered, is it by design or a bug?
> App in Accepted state fails after Livy restart
> ----------------------------------------------
>
> Key: LIVY-874
> URL: https://issues.apache.org/jira/browse/LIVY-874
> Project: Livy
> Issue Type: Bug
> Components: RSC
> Affects Versions: 0.7.0
> Reporter: Shrikant
> Priority: Minor
>
> Application in ACCEPTED state fails if there is restart of livy server.
> Ideally it should move to running state when the resource is available after
> restart.
> The yarn application log has below exception:
> Caused by: java.util.concurrent.ExecutionException:
> io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection
> refused: ***/***:10001
> at io.netty.util.concurrent.DefaultPromise.get(DefaultPromise.java:349)
> at org.apache.livy.rsc.driver.RSCDriver.initializeServer(RSCDriver.java:203)
> at org.apache.livy.rsc.driver.RSCDriver.run(RSCDriver.java:336)
> at
> org.apache.livy.rsc.driver.RSCDriverBootstrapper.main(RSCDriverBootstrapper.java:93)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at
> org.apache.spark.deploy.yarn.ApplicationMaster$$anon$2.run(ApplicationMaster.scala:728)
>
> If there is no restart of livy server, the app in accepted state successfully
> moves to running state when resource is freed up.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)