提交 d92e422e 编写于 作者: U Ufuk Celebi

[hotfix, runtime] Downgrade to Netty version 4.0.27.Final

Netty versions >= 4.0.28.Final contain an improvement by Netty, which slices
a Netty buffer instead of doing a memory copy (https://github.com/netty/netty/issues/3704)
in the LengthFieldBasedFrameDecoder. In some situations, this interacts badly
with our Netty pipeline leading to OutOfMemory error.

To reproduce, run batch WordCount with a range partitioner and reasonably large
data.
上级 e04ab254
......@@ -338,7 +338,15 @@ under the License.
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>4.0.31.Final</version>
<!-- Don't upgrade for now. Netty versions >= 4.0.28.Final
contain an improvement by Netty, which slices a Netty buffer
instead of doing a memory copy [1] in the
LengthFieldBasedFrameDecoder. In some situations, this
interacts badly with our Netty pipeline leading to OutOfMemory
errors.
[1] https://github.com/netty/netty/issues/3704 -->
<version>4.0.27.Final</version>
</dependency>
<dependency>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册