You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by uc...@apache.org on 2016/01/13 11:26:31 UTC
flink git commit: [FLINK-3151] [runtime] Downgrade to Netty version
4.0.27.Final
Repository: flink
Updated Branches:
refs/heads/release-0.10 a726da6d1 -> 66dd32d9e
[FLINK-3151] [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.
Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/66dd32d9
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/66dd32d9
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/66dd32d9
Branch: refs/heads/release-0.10
Commit: 66dd32d9edb053336bf7993dcf82a176ed8a6411
Parents: a726da6
Author: Ufuk Celebi <uc...@apache.org>
Authored: Wed Jan 13 11:12:17 2016 +0100
Committer: Ufuk Celebi <uc...@apache.org>
Committed: Wed Jan 13 11:25:59 2016 +0100
----------------------------------------------------------------------
pom.xml | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flink/blob/66dd32d9/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index c48eb5e..99bb191 100644
--- a/pom.xml
+++ b/pom.xml
@@ -337,7 +337,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>