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
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
This make my livy runs fine.
Can we incorporate these change in main source.