flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From u..@apache.org
Subject flink git commit: [hotfix, runtime] Downgrade to Netty version 4.0.27.Final
Date Wed, 13 Jan 2016 10:15:50 GMT
Repository: flink
Updated Branches:
  refs/heads/master e04ab2541 -> d92e422ec


[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.


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/d92e422e
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/d92e422e
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/d92e422e

Branch: refs/heads/master
Commit: d92e422ec7089376583a8f57043274d236c340a4
Parents: e04ab25
Author: Ufuk Celebi <uce@apache.org>
Authored: Wed Jan 13 11:12:17 2016 +0100
Committer: Ufuk Celebi <uce@apache.org>
Committed: Wed Jan 13 11:13:55 2016 +0100

----------------------------------------------------------------------
 pom.xml | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/d92e422e/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 091552d..0975f72 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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>


Mime
View raw message