Thomas Decaux created ZEPPELIN-5475: ---------------------------------------
Summary: K8S service host not found Key: ZEPPELIN-5475 URL: https://issues.apache.org/jira/browse/ZEPPELIN-5475 Project: Zeppelin Issue Type: Bug Components: Kubernetes Affects Versions: 0.9.0 Reporter: Thomas Decaux Assignee: Thomas Decaux K8S services hostname are "SERVICE.NAMESPACE.svc.cluster.local", according doc at [https://kubernetes.io/docs/concepts/services-networking/service/.|https://kubernetes.io/docs/concepts/services-networking/service/] When using Zep + Spark on kubernetes, this cause: {code:java} ERROR [2021-07-31 19:43:59,041] ({RegisterThread} RemoteInterpreterServer.java[run]:613) - Error while registering interpreter: RegisterInfo(host:10.233.82.20, port:12321, interpreterGroupId:spark-2GBUTPS15), cause: {} java.lang.RuntimeException: java.io.IOException: org.apache.zeppelin.shaded.org.apache.thrift.transport.TTransportException: java.net.UnknownHostException: zeppelin-server.dev-steam.svc at org.apache.zeppelin.interpreter.remote.PooledRemoteClient.callRemoteFunction(PooledRemoteClient.java:100) at org.apache.zeppelin.interpreter.remote.RemoteInterpreterEventClient.callRemoteFunction(RemoteInterpreterEventClient.java:81) at org.apache.zeppelin.interpreter.remote.RemoteInterpreterEventClient.registerInterpreterProcess(RemoteInterpreterEventClient.java:89) at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$RegisterRunnable.run(RemoteInterpreterServer.java:610) at java.lang.Thread.run(Thread.java:748) Caused by: java.io.IOException: org.apache.zeppelin.shaded.org.apache.thrift.transport.TTransportException: java.net.UnknownHostException: zeppelin-server.dev-steam.svc at org.apache.zeppelin.interpreter.remote.RemoteInterpreterEventClient.lambda$new$0(RemoteInterpreterEventClient.java:73) at org.apache.zeppelin.interpreter.remote.RemoteClientFactory.create(RemoteClientFactory.java:54) at org.apache.zeppelin.interpreter.remote.RemoteClientFactory.create(RemoteClientFactory.java:34) at org.apache.zeppelin.shaded.org.apache.commons.pool2.BasePooledObjectFactory.makeObject(BasePooledObjectFactory.java:60) at org.apache.zeppelin.shaded.org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:861) at org.apache.zeppelin.shaded.org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:435) {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)