You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@livy.apache.org by GitBox <gi...@apache.org> on 2021/07/06 09:59:29 UTC

[GitHub] [incubator-livy] prongs commented on pull request #167: [LIVY-588]: Full support for Spark on Kubernetes

prongs commented on pull request #167:
URL: https://github.com/apache/incubator-livy/pull/167#issuecomment-874627547


   @jahstreet Huge Thanks for your efforts on this. Saved us a few days. I could have saved some more had I found it sooner :-D
   
   Anyways, we're seeing some weird behaviour in which when spark-driver is connecting to Livy RPC. We see the following in the Livy logs:
   
   ![image](https://user-images.githubusercontent.com/396205/124580884-31e82b80-de6e-11eb-804b-9502d62bc69e.png)
   
   The Local (L) side is fine, as that's where livy's RPC server is running, but the Remote (R) side is incorrect. The remote should be coming as the driver pod and not `127.0.0.1`. Would you have any idea about this? 
   
   
   To get around this, I ended up making the following change.
   
   ![image](https://user-images.githubusercontent.com/396205/124581087-6825ab00-de6e-11eb-92a3-98eb019f1ca8.png)
   
   And now, instead of connecting to the remote side of the channel, it tries to connect to the hostname communicated inside the RPC messages. 
   
   Now I wonder 
   * Why that's not already the case? Why are we not using the hostname communicated in the message. 
   * How it works for you and others on this thread without this change? 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@livy.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org