Shrikant created LIVY-874:
-----------------------------

             Summary: 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


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)

Reply via email to