Details
Description
Hi
I am using Livy 0.3 in Docker in yarn cluster mode. So my livy is running on container and RSC will run on my Yarn Cluster . Now When Livy start , it bind
RPCServer to random port
.bind(0)
Now t I cannot open this port from my docker ,since its random port .
Now due to this the RSC cannot be able to communicate back with RPC Server and Livy Server fails .
Now in order to fix above issue
1 I started my docker ,opened with one specific port ,for e.g 31111
2 Create livy-client.conf and added livy.rsc.launcher.port=31111
3 Change in RPCServer code to bind to
.bind(config.getInt(LAUNCHER_PORT))
This make my livy runs fine.
Can we incorporate these change in main source.