You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2021/07/26 12:46:02 UTC

[flink-benchmarks] branch master updated (41b5e3e -> f88469b)

This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/flink-benchmarks.git.


    from 41b5e3e  [FLINK-23469] Fix MiniCluster leak
     new a310cfe  [FLINK-23491] Remove explicit flink-runtime dependency
     new b89cdf4  [hotfix] Do not use URI for TMP_DIRS
     new f88469b  [FLINK-23502] Align native netty version

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 pom.xml                                                       | 11 ++---------
 .../apache/flink/benchmark/BlockingPartitionBenchmark.java    |  2 +-
 .../benchmark/BlockingPartitionRemoteChannelBenchmark.java    |  2 +-
 3 files changed, 4 insertions(+), 11 deletions(-)

[flink-benchmarks] 02/03: [hotfix] Do not use URI for TMP_DIRS

Posted by ch...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-benchmarks.git

commit b89cdf4cc6c0ee6c93114a94063fe59d43945642
Author: Chesnay Schepler <ch...@apache.org>
AuthorDate: Mon Jul 26 13:08:26 2021 +0200

    [hotfix] Do not use URI for TMP_DIRS
    
    The tmp dir parsing splits paths containing a scheme, so using URIs provides no value. In fact it provides negative value because consumers may not even use the directory we originally configured!
---
 .../java/org/apache/flink/benchmark/BlockingPartitionBenchmark.java     | 2 +-
 .../apache/flink/benchmark/BlockingPartitionRemoteChannelBenchmark.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/flink/benchmark/BlockingPartitionBenchmark.java b/src/main/java/org/apache/flink/benchmark/BlockingPartitionBenchmark.java
index 915a4a8..425debe 100644
--- a/src/main/java/org/apache/flink/benchmark/BlockingPartitionBenchmark.java
+++ b/src/main/java/org/apache/flink/benchmark/BlockingPartitionBenchmark.java
@@ -100,7 +100,7 @@ public class BlockingPartitionBenchmark extends BenchmarkBase {
 
 			configuration.setBoolean(NettyShuffleEnvironmentOptions.BLOCKING_SHUFFLE_COMPRESSION_ENABLED, compressionEnabled);
 			configuration.setString(NettyShuffleEnvironmentOptions.NETWORK_BLOCKING_SHUFFLE_TYPE, subpartitionType);
-			configuration.setString(CoreOptions.TMP_DIRS, FileUtils.getCurrentWorkingDirectory().toAbsolutePath().toUri().toString());
+			configuration.setString(CoreOptions.TMP_DIRS, FileUtils.getCurrentWorkingDirectory().toAbsolutePath().toString());
 			return configuration;
 		}
 	}
diff --git a/src/main/java/org/apache/flink/benchmark/BlockingPartitionRemoteChannelBenchmark.java b/src/main/java/org/apache/flink/benchmark/BlockingPartitionRemoteChannelBenchmark.java
index 15091a4..21e7cc1 100644
--- a/src/main/java/org/apache/flink/benchmark/BlockingPartitionRemoteChannelBenchmark.java
+++ b/src/main/java/org/apache/flink/benchmark/BlockingPartitionRemoteChannelBenchmark.java
@@ -79,7 +79,7 @@ public class BlockingPartitionRemoteChannelBenchmark extends RemoteBenchmarkBase
             Configuration configuration = super.createConfiguration();
 
             configuration.setString(NettyShuffleEnvironmentOptions.NETWORK_BLOCKING_SHUFFLE_TYPE, "file");
-            configuration.setString(CoreOptions.TMP_DIRS, FileUtils.getCurrentWorkingDirectory().toAbsolutePath().toUri().toString());
+            configuration.setString(CoreOptions.TMP_DIRS, FileUtils.getCurrentWorkingDirectory().toAbsolutePath().toString());
             return configuration;
         }
     }

[flink-benchmarks] 01/03: [FLINK-23491] Remove explicit flink-runtime dependency

Posted by ch...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-benchmarks.git

commit a310cfe273c14b479d7590dee0621ac1e0c1acc9
Author: Chesnay Schepler <ch...@apache.org>
AuthorDate: Mon Jul 26 11:22:54 2021 +0200

    [FLINK-23491] Remove explicit flink-runtime dependency
---
 pom.xml | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/pom.xml b/pom.xml
index fbfc080..db35a64 100644
--- a/pom.xml
+++ b/pom.xml
@@ -104,13 +104,6 @@ under the License.
 
 		<dependency>
 			<groupId>org.apache.flink</groupId>
-			<artifactId>flink-runtime_${scala.binary.version}</artifactId>
-			<version>${flink.version}</version>
-			<type>test-jar</type>
-		</dependency>
-
-		<dependency>
-			<groupId>org.apache.flink</groupId>
 			<artifactId>flink-streaming-java_${scala.binary.version}</artifactId>
 			<version>${flink.version}</version>
 			<type>test-jar</type>

[flink-benchmarks] 03/03: [FLINK-23502] Align native netty version

Posted by ch...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-benchmarks.git

commit f88469b5987610c3e40a3db916e48cab6297a5f0
Author: Chesnay Schepler <ch...@apache.org>
AuthorDate: Mon Jul 26 13:31:22 2021 +0200

    [FLINK-23502] Align native netty version
    
    The used version was quite out-dated and no longer compatible with the flink-shaded-netty version used by Flink.
    This also implies that the SSL benchmarks were potentially not accurate.
---
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index db35a64..34f1225 100644
--- a/pom.xml
+++ b/pom.xml
@@ -46,8 +46,8 @@ under the License.
 	<properties>
 		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 		<flink.version>1.14-SNAPSHOT</flink.version>
-		<flink.shaded.version>10.0</flink.shaded.version>
-		<netty.tcnative.version>2.0.25.Final</netty.tcnative.version>
+		<flink.shaded.version>14.0</flink.shaded.version>
+		<netty.tcnative.version>2.0.39.Final</netty.tcnative.version>
 		<java.version>1.8</java.version>
 		<scala.binary.version>2.11</scala.binary.version>
 		<maven.compiler.source>${java.version}</maven.compiler.source>