我正在使用Flink v1.4.0。我正在使用DataSet API(尽管这不重要)。我正在12核VM上进行一些重型转换。我正在为一个Flink job使用2个内核,其中我将一些数据存储到Flink Queryable State中,并使用剩余的10个内核运行另一个Flink作业。当我以10个内核运行第二个作业时,似乎出现以下错误:java.io.IOException: Insufficient number of network buffers: required 10, but only 9 available. The total number of network buffers is currently set to 4096 of 32768 bytes each. You can increase this number by setting the configuration keys 'taskmanager.network.memory.fraction', 'taskmanager.network.memory.min', and 'taskmanager.network.memory.max'. at org.apache.flink.runtime.io.network.buffer.NetworkBufferPool.createBufferPool(NetworkBufferPool.java:257) at org.apache.flink.runtime.io.network.NetworkEnvironment.registerTask(NetworkEnvironment.java:199) at org.apache.flink.runtime.taskmanager.Task.run(Task.java:618) at java.lang.Thread.run(Thread.java:745)
网友评论