Jeff,

The error is obviously due to unable to connect to port 62223  the second
time.

Connection is made to port 62223 successfully.

Then a successful connection is made to port 62221

Then another attempt is being made to 62223 again, which obviously causes
unreachable network,  connection refused.

It will be interesting to find out the answer.









ERROR [2020-05-02 07:57:48,279] ({Thread-1}
RemoteInterpreterServer.java[run]:192) - Error while registering
interpreter: CallbackInfo(host:169.254.47.73, port:62223)
org.apache.thrift.transport.TTransportException: java.net.SocketException:
Network is unreachable (connect failed)

On Sat, 2 May 2020, 22:51 Ravi Pullareddy, <ravi.pullare...@minlog.com.au>
wrote:

> Hi Jeff
>
> Has anyone tried running flink interpreter on  Zeppelin 0.8 or Zeppelin 0.9
> on Windows WSL ubuntu? Since WSL does not allow creation of random ports,
> flink interpreter fails as below. Any suggestion is much appreciated.
>
>
> INFO [2020-05-02 07:43:53,211] ({main}
> RemoteInterpreterServer.java[main]:261) -
>
> URL:jar:file:/mnt/d/zeppelin-0.8.1-bin-all/lib/interpreter/zeppelin-interpreter-0.8.1.jar!/org/apache/zeppelin/interpreter/remote/RemoteInterpreterServer.class
>  INFO [2020-05-02 07:43:53,274] ({main}
> RemoteInterpreterServer.java[<init>]:162) - Launching ThriftServer at
> 169.254.47.73:62115
>  INFO [2020-05-02 07:43:53,282] ({main}
> RemoteInterpreterServer.java[<init>]:166) - Starting remote interpreter
> server on port 62115
>  INFO [2020-05-02 07:43:53,283] ({Thread-0}
> RemoteInterpreterServer.java[run]:203) - Starting remote interpreter server
> on port 62115
>  INFO [2020-05-02 07:57:47,187] ({main}
> RemoteInterpreterServer.java[main]:261) -
>
> URL:jar:file:/mnt/d/zeppelin-0.8.1-bin-all/lib/interpreter/zeppelin-interpreter-0.8.1.jar!/org/apache/zeppelin/interpreter/remote/RemoteInterpreterServer.class
>  INFO [2020-05-02 07:57:47,255] ({main}
> RemoteInterpreterServer.java[<init>]:162) - Launching ThriftServer at
> 169.254.47.73:62223
>  INFO [2020-05-02 07:57:47,262] ({main}
> RemoteInterpreterServer.java[<init>]:166) - Starting remote interpreter
> server on port 62223
>  INFO [2020-05-02 07:57:47,264] ({Thread-0}
> RemoteInterpreterServer.java[run]:203) - Starting remote interpreter server
> on port 62223
>  INFO [2020-05-02 07:57:48,273] ({Thread-1}
> RemoteInterpreterUtils.java[registerInterpreter]:165) - callbackHost:
> 169.254.47.73, callbackPort: 62221, callbackInfo:
> CallbackInfo(host:169.254.47.73, port:62223)
> ERROR [2020-05-02 07:57:48,279] ({Thread-1}
> RemoteInterpreterServer.java[run]:192) - Error while registering
> interpreter: CallbackInfo(host:169.254.47.73, port:62223)
> org.apache.thrift.transport.TTransportException: java.net.SocketException:
> Network is unreachable (connect failed)
>         at org.apache.thrift.transport.TSocket.open(TSocket.java:187)
>         at
>
> org.apache.zeppelin.interpreter.remote.RemoteInterpreterUtils.registerInterpreter(RemoteInterpreterUtils.java:168)
>         at
>
> org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$1.run(RemoteInterpreterServer.java:190)
>         at java.lang.Thread.run(Thread.java:748)
> Caused by: java.net.SocketException: Network is unreachable (connect
> failed)
>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>         at
> java.net
> .AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
>         at
> java.net
> .AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
>         at
> java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
>         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
>         at java.net.Socket.connect(Socket.java:606)
>         at org.apache.thrift.transport.TSocket.open(TSocket.java:182)
>         ... 3 more
>  INFO [2020-05-02 07:57:48,281] ({Thread-1}
> RemoteInterpreterServer.java[shutdown]:209) - Shutting down...
>

Reply via email to