You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/12/09 09:13:57 UTC

[GitHub] [flink] pnowojski commented on a change in pull request #10492: [FLINK-15140][runtime] Fix shuffle data compression doesn't work with BroadcastRecordWriter.

pnowojski commented on a change in pull request #10492: [FLINK-15140][runtime] Fix shuffle data compression doesn't work with BroadcastRecordWriter.
URL: https://github.com/apache/flink/pull/10492#discussion_r355320869
 
 

 ##########
 File path: flink-tests/src/test/java/org/apache/flink/test/runtime/ShuffleCompressionITCase.java
 ##########
 @@ -133,18 +136,19 @@ public LongValueSource(Environment environment) {
 		@Override
 		public void invoke() throws Exception {
 			ResultPartitionWriter resultPartitionWriter = getEnvironment().getWriter(0);
-			RecordWriterBuilder<LongValue> recordWriterBuilder = new RecordWriterBuilder<>();
+			RecordWriterBuilder<LongValue> recordWriterBuilder = new RecordWriterBuilder<>()
+				.setChannelSelector(new BroadcastPartitioner());
 
 Review comment:
   +1

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services