You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@linkis.apache.org by GitBox <gi...@apache.org> on 2022/03/31 10:38:21 UTC

[GitHub] [incubator-linkis] liuzj-github opened a new issue #1849: [Bug]

liuzj-github opened a new issue #1849:
URL: https://github.com/apache/incubator-linkis/issues/1849


   ### Search before asking
   
   - [X] I searched the [issues](https://github.com/apache/incubator-linkis/issues) and found no similar issues.
   
   
   ### Linkis Component
   
   linkis-cg-engineConnplugin
   
   ### What happened + What you expected to happen
   
   2022-03-31 16:26:33,322 INFO  org.apache.flink.runtime.executiongraph.ExecutionGraph       [] - Limit(offset=[0], fetch=[5000]) -> SinkConversionToTuple2 -> Sink: SQL Client Stream Collect Sink (1/1) (8fe1dd6c4d3f70f6291c2d43786e4054) switched from RUNNING to FAILED on container_e31_1648005321936_0082_01_000002 @ host242.ehl.com (dataPort=3509).
   java.io.IOException: Cannot connect to the client to send back the stream
   	at org.apache.flink.streaming.experimental.CollectSink.open(CollectSink.java:86) ~[flink-dist_2.12-1.12.2.jar:1.12.2]
   	at org.apache.flink.api.common.functions.util.FunctionUtils.openFunction(FunctionUtils.java:34) ~[flink-dist_2.12-1.12.2.jar:1.12.2]
   	at org.apache.flink.streaming.api.operators.AbstractUdfStreamOperator.open(AbstractUdfStreamOperator.java:102) ~[flink-dist_2.12-1.12.2.jar:1.12.2]
   	at org.apache.flink.streaming.api.operators.StreamSink.open(StreamSink.java:46) ~[flink-dist_2.12-1.12.2.jar:1.12.2]
   	at org.apache.flink.streaming.runtime.tasks.OperatorChain.initializeStateAndOpenOperators(OperatorChain.java:428) ~[flink-dist_2.12-1.12.2.jar:1.12.2]
   	at org.apache.flink.streaming.runtime.tasks.StreamTask.lambda$beforeInvoke$2(StreamTask.java:543) ~[flink-dist_2.12-1.12.2.jar:1.12.2]
   	at org.apache.flink.streaming.runtime.tasks.StreamTaskActionExecutor$1.runThrowing(StreamTaskActionExecutor.java:50) ~[flink-dist_2.12-1.12.2.jar:1.12.2]
   	at org.apache.flink.streaming.runtime.tasks.StreamTask.beforeInvoke(StreamTask.java:533) ~[flink-dist_2.12-1.12.2.jar:1.12.2]
   	at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:573) ~[flink-dist_2.12-1.12.2.jar:1.12.2]
   	at org.apache.flink.runtime.taskmanager.Task.doRun(Task.java:755) ~[flink-dist_2.12-1.12.2.jar:1.12.2]
   	at org.apache.flink.runtime.taskmanager.Task.run(Task.java:570) ~[flink-dist_2.12-1.12.2.jar:1.12.2]
   	at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_181]
   Caused by: java.net.NoRouteToHostException: No route to host (Host unreachable)
   	at java.net.PlainSocketImpl.socketConnect(Native Method) ~[?:1.8.0_181]
   	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:1.8.0_181]
   	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:1.8.0_181]
   	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:1.8.0_181]
   	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_181]
   	at java.net.Socket.connect(Socket.java:589) ~[?:1.8.0_181]
   	at java.net.Socket.connect(Socket.java:538) ~[?:1.8.0_181]
   	at java.net.Socket.<init>(Socket.java:434) ~[?:1.8.0_181]
   	at java.net.Socket.<init>(Socket.java:244) ~[?:1.8.0_181]
   	at org.apache.flink.streaming.experimental.CollectSink.open(CollectSink.java:82) ~[flink-dist_2.12-1.12.2.jar:1.12.2]
   
   ### Relevent platform
   
   <img width="1351" alt="image" src="https://user-images.githubusercontent.com/69610327/161034384-b2e144d1-e300-4450-a4ed-3f5e54bdd8e5.png">
   
   
   ### Reproduction script
   
   2022-03-31 16:26:33,322 INFO  org.apache.flink.runtime.executiongraph.ExecutionGraph       [] - Limit(offset=[0], fetch=[5000]) -> SinkConversionToTuple2 -> Sink: SQL Client Stream Collect Sink (1/1) (8fe1dd6c4d3f70f6291c2d43786e4054) switched from RUNNING to FAILED on container_e31_1648005321936_0082_01_000002 @ host242.ehl.com (dataPort=3509).
   java.io.IOException: Cannot connect to the client to send back the stream
   	at org.apache.flink.streaming.experimental.CollectSink.open(CollectSink.java:86) ~[flink-dist_2.12-1.12.2.jar:1.12.2]
   	at org.apache.flink.api.common.functions.util.FunctionUtils.openFunction(FunctionUtils.java:34) ~[flink-dist_2.12-1.12.2.jar:1.12.2]
   	at org.apache.flink.streaming.api.operators.AbstractUdfStreamOperator.open(AbstractUdfStreamOperator.java:102) ~[flink-dist_2.12-1.12.2.jar:1.12.2]
   	at org.apache.flink.streaming.api.operators.StreamSink.open(StreamSink.java:46) ~[flink-dist_2.12-1.12.2.jar:1.12.2]
   	at org.apache.flink.streaming.runtime.tasks.OperatorChain.initializeStateAndOpenOperators(OperatorChain.java:428) ~[flink-dist_2.12-1.12.2.jar:1.12.2]
   	at org.apache.flink.streaming.runtime.tasks.StreamTask.lambda$beforeInvoke$2(StreamTask.java:543) ~[flink-dist_2.12-1.12.2.jar:1.12.2]
   	at org.apache.flink.streaming.runtime.tasks.StreamTaskActionExecutor$1.runThrowing(StreamTaskActionExecutor.java:50) ~[flink-dist_2.12-1.12.2.jar:1.12.2]
   	at org.apache.flink.streaming.runtime.tasks.StreamTask.beforeInvoke(StreamTask.java:533) ~[flink-dist_2.12-1.12.2.jar:1.12.2]
   	at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:573) ~[flink-dist_2.12-1.12.2.jar:1.12.2]
   	at org.apache.flink.runtime.taskmanager.Task.doRun(Task.java:755) ~[flink-dist_2.12-1.12.2.jar:1.12.2]
   	at org.apache.flink.runtime.taskmanager.Task.run(Task.java:570) ~[flink-dist_2.12-1.12.2.jar:1.12.2]
   	at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_181]
   Caused by: java.net.NoRouteToHostException: No route to host (Host unreachable)
   	at java.net.PlainSocketImpl.socketConnect(Native Method) ~[?:1.8.0_181]
   	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:1.8.0_181]
   	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:1.8.0_181]
   	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:1.8.0_181]
   	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_181]
   	at java.net.Socket.connect(Socket.java:589) ~[?:1.8.0_181]
   	at java.net.Socket.connect(Socket.java:538) ~[?:1.8.0_181]
   	at java.net.Socket.<init>(Socket.java:434) ~[?:1.8.0_181]
   	at java.net.Socket.<init>(Socket.java:244) ~[?:1.8.0_181]
   	at org.apache.flink.streaming.experimental.CollectSink.open(CollectSink.java:82) ~[flink-dist_2.12-1.12.2.jar:1.12.2]
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!


-- 
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: dev-unsubscribe@linkis.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@linkis.apache.org
For additional commands, e-mail: dev-help@linkis.apache.org


[GitHub] [incubator-linkis] casionone commented on issue #1849: [Bug][Flink] IOException:Cannot connect to the client to send back the stream

Posted by GitBox <gi...@apache.org>.
casionone commented on issue #1849:
URL: https://github.com/apache/incubator-linkis/issues/1849#issuecomment-1084529169


   似乎这个异常来自 flinks
   Have you verified whether the flink environment is ok and can it be executed normally through the flink client?


-- 
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: dev-unsubscribe@linkis.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@linkis.apache.org
For additional commands, e-mail: dev-help@linkis.apache.org


[GitHub] [incubator-linkis] casionone edited a comment on issue #1849: [Bug][Flink] IOException:Cannot connect to the client to send back the stream

Posted by GitBox <gi...@apache.org>.
casionone edited a comment on issue #1849:
URL: https://github.com/apache/incubator-linkis/issues/1849#issuecomment-1084529169


   It seems that this exception comes from flinks
   Have you verified whether the flink environment is ok and can it be executed normally through the flink client?


-- 
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: dev-unsubscribe@linkis.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@linkis.apache.org
For additional commands, e-mail: dev-help@linkis.apache.org