pan3793 commented on PR #5062:
URL: https://github.com/apache/kyuubi/pull/5062#issuecomment-1702589215

   Supply a new advantage of `StatefulSet` over `Deployment`, 
`Utils.findLocalInetAddress.getCanonicalHostName` returns different values:
   
   - `Deployment`: Pod name, e.g. `kyuubi-bd8f56ddb-59jn5`
   - `StatefulSet`: FQDN, e.g. 
`kyuubi-server-0.kyuubi-headless.spark.svc.cluster.local`
   
   Thus, switching to `StatefulSet` could overcome the errors like 
   
   ```
   Caused by: java.net.UnknownHostException: kyuubi-bd8f56ddb-59jn5
   ```
   
   when `kyuubi.frontend.connection.url.use.hostname=true` (default is `true`)


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to