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 2017/02/09 16:06:46 UTC
flink git commit: Fix compile error
Repository: flink
Updated Branches:
refs/heads/release-1.0 63660ca39 -> a24c45a86
Fix compile error
- Fixes a compile error w/o further investigation (1.0 branch not
maintained any more, but we need it for building the docs).
Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/a24c45a8
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/a24c45a8
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/a24c45a8
Branch: refs/heads/release-1.0
Commit: a24c45a864206faae2a1089d4e55be7def506d80
Parents: 63660ca
Author: Ufuk Celebi <uc...@apache.org>
Authored: Thu Feb 9 17:05:41 2017 +0100
Committer: Ufuk Celebi <uc...@apache.org>
Committed: Thu Feb 9 17:05:42 2017 +0100
----------------------------------------------------------------------
.../runtime/operators/chaining/ChainedAllReduceDriverTest.java | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flink/blob/a24c45a8/flink-runtime/src/test/java/org/apache/flink/runtime/operators/chaining/ChainedAllReduceDriverTest.java
----------------------------------------------------------------------
diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/operators/chaining/ChainedAllReduceDriverTest.java b/flink-runtime/src/test/java/org/apache/flink/runtime/operators/chaining/ChainedAllReduceDriverTest.java
index 4a037cd..e8f8df9 100644
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/operators/chaining/ChainedAllReduceDriverTest.java
+++ b/flink-runtime/src/test/java/org/apache/flink/runtime/operators/chaining/ChainedAllReduceDriverTest.java
@@ -18,6 +18,8 @@
package org.apache.flink.runtime.operators.chaining;
+import java.util.ArrayList;
+import java.util.List;
import org.apache.flink.api.common.functions.FlatMapFunction;
import org.apache.flink.api.common.functions.ReduceFunction;
import org.apache.flink.api.common.operators.util.UserCodeClassWrapper;
@@ -42,9 +44,6 @@ import org.junit.runner.RunWith;
import org.powermock.core.classloader.annotations.PrepareForTest;
import org.powermock.modules.junit4.PowerMockRunner;
-import java.util.ArrayList;
-import java.util.List;
-
@RunWith(PowerMockRunner.class)
@PrepareForTest({Task.class, ResultPartitionWriter.class})
public class ChainedAllReduceDriverTest extends TaskTestBase {
@@ -69,7 +68,6 @@ public class ChainedAllReduceDriverTest extends TaskTestBase {
try {
// environment
initEnvironment(MEMORY_MANAGER_SIZE, NETWORK_BUFFER_SIZE);
- mockEnv.getExecutionConfig().enableObjectReuse();
addInput(new UniformRecordGenerator(keyCnt, valCnt, false), 0);
addOutput(this.outList);