apache / incubator-livy

Apache Livy is an open source REST interface for interacting with Apache Spark from anywhere.
https://livy.apache.org/
Apache License 2.0
891 stars 602 forks source link

[LIVY-1000][RSC] Supports reconnection after the RPC link between RSC… #448

Open wangdengshan opened 5 months ago

wangdengshan commented 5 months ago

…Client and RSCDriver is disconnected

What changes were proposed in this pull request?

When RSCClient and RSCDriver are disconnected due to some accident, try to re-establish the connection.

https://issues.apache.org/jira/browse/LIVY-1000

How was this patch tested?

I tried to use the tcpkill to manually kill the link between RSCClient and RSCDriver to verify whether it completed re-establishing the connection.