You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Luis (Jira)" <ji...@apache.org> on 2020/05/07 19:12:00 UTC

[jira] [Created] (FLINK-17559) Backpressure seems to be broken when not going through network

Luis created FLINK-17559:
----------------------------

             Summary: Backpressure seems to be broken when not going through network
                 Key: FLINK-17559
                 URL: https://issues.apache.org/jira/browse/FLINK-17559
             Project: Flink
          Issue Type: Bug
          Components: API / Core, Connectors/ RabbitMQ
    Affects Versions: 1.8.2
            Reporter: Luis
         Attachments: Screenshot from 2020-05-07 13-31-23.png

Back pressure for Flink seems broken. Someone please correct me, from what I understand it only works between network transfers.  If I have a source with no thread sleep then there is no back pressure some operation will accurate data and crash.  I even tried removing chaining with

env.disableOperatorChaining()

 

From this I can conclude if I have any map function that produces more output that is coming in it will eventually crash if there is no network dividing them to allow for backpressure. Is this correct?

 

 
{code:java}
java.lang.OutOfMemoryError: Java heap space
2020-05-07 18:27:37,942 ERROR org.apache.flink.runtime.util.FatalExitExceptionHandler       - FATAL: Thread 'flink-scheduler-1' produced an uncaught exception. Stopping the process...
java.lang.OutOfMemoryError: Java heap space
        at akka.dispatch.AbstractNodeQueue.<init>(AbstractNodeQueue.java:32)
        at akka.actor.LightArrayRevolverScheduler$TaskQueue.<init>(LightArrayRevolverScheduler.scala:305)
        at akka.actor.LightArrayRevolverScheduler$$anon$4.nextTick(LightArrayRevolverScheduler.scala:270)
        at akka.actor.LightArrayRevolverScheduler$$anon$4.run(LightArrayRevolverScheduler.scala:236)
        at java.lang.Thread.run(Thread.java:748)
2020-05-07 18:27:35,725 ERROR org.apache.flink.runtime.util.FatalExitExceptionHandler       - FATAL: Thread 'flink-metrics-8' produced an uncaught exception. Stopping the process...
java.lang.OutOfMemoryError: Java heap space
2020-05-07 18:27:35,725 ERROR com.rabbitmq.client.impl.ForgivingExceptionHandler            - An unexpected connection driver error occured
java.lang.OutOfMemoryError: Java heap space
        at com.rabbitmq.client.impl.Frame.readFrom(Frame.java:120)
        at com.rabbitmq.client.impl.SocketFrameHandler.readFrame(SocketFrameHandler.java:164)
        at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:580)
        at java.lang.Thread.run(Thread.java:748)

{code}
 

[https://stackoverflow.com/questions/61465789/how-do-i-create-a-flink-richparallelsourcefunction-with-backpressure]

 

 

 

 

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)