Skip to content
Snippets Groups Projects
Commit 0ad8eeb4 authored by Adam Roberts's avatar Adam Roberts Committed by Shixiong Zhu
Browse files

[SPARK-17379][BUILD] Upgrade netty-all to 4.0.41 final for bug fixes

## What changes were proposed in this pull request?
Upgrade netty-all to latest in the 4.0.x line which is 4.0.41, mentions several bug fixes and performance improvements we may find useful, see netty.io/news/2016/08/29/4-0-41-Final-4-1-5-Final.html. Initially tried to use 4.1.5 but noticed it's not backwards compatible.

## How was this patch tested?
Existing unit tests against branch-1.6 and branch-2.0 using IBM Java 8 on Intel, Power and Z architectures

Author: Adam Roberts <aroberts@uk.ibm.com>

Closes #14961 from a-roberts/netty.
parent b4792781
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,11 @@ import com.google.common.primitives.Ints;
* A central location that tracks all the settings we expose to users.
*/
public class TransportConf {
static {
// Set this due to Netty PR #5661 for Netty 4.0.37+ to work
System.setProperty("io.netty.maxDirectMemory", "0");
}
private final String SPARK_NETWORK_IO_MODE_KEY;
private final String SPARK_NETWORK_IO_PREFERDIRECTBUFS_KEY;
......
......@@ -124,7 +124,7 @@ metrics-json-3.1.2.jar
metrics-jvm-3.1.2.jar
minlog-1.3.0.jar
netty-3.8.0.Final.jar
netty-all-4.0.29.Final.jar
netty-all-4.0.41.Final.jar
objenesis-2.1.jar
opencsv-2.3.jar
oro-2.0.8.jar
......
......@@ -131,7 +131,7 @@ metrics-jvm-3.1.2.jar
minlog-1.3.0.jar
mx4j-3.0.2.jar
netty-3.8.0.Final.jar
netty-all-4.0.29.Final.jar
netty-all-4.0.41.Final.jar
objenesis-2.1.jar
opencsv-2.3.jar
oro-2.0.8.jar
......
......@@ -131,7 +131,7 @@ metrics-jvm-3.1.2.jar
minlog-1.3.0.jar
mx4j-3.0.2.jar
netty-3.8.0.Final.jar
netty-all-4.0.29.Final.jar
netty-all-4.0.41.Final.jar
objenesis-2.1.jar
opencsv-2.3.jar
oro-2.0.8.jar
......
......@@ -139,7 +139,7 @@ metrics-jvm-3.1.2.jar
minlog-1.3.0.jar
mx4j-3.0.2.jar
netty-3.8.0.Final.jar
netty-all-4.0.29.Final.jar
netty-all-4.0.41.Final.jar
objenesis-2.1.jar
opencsv-2.3.jar
oro-2.0.8.jar
......
......@@ -140,7 +140,7 @@ metrics-jvm-3.1.2.jar
minlog-1.3.0.jar
mx4j-3.0.2.jar
netty-3.8.0.Final.jar
netty-all-4.0.29.Final.jar
netty-all-4.0.41.Final.jar
objenesis-2.1.jar
opencsv-2.3.jar
oro-2.0.8.jar
......
......@@ -551,7 +551,7 @@
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>4.0.29.Final</version>
<version>4.0.41.Final</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment