|
22 | 22 | import org.apache.flink.annotation.VisibleForTesting; |
23 | 23 | import org.apache.flink.api.common.BatchShuffleMode; |
24 | 24 | import org.apache.flink.api.common.ExecutionConfig; |
25 | | -import org.apache.flink.api.common.ExecutionMode; |
| 25 | +import org.apache.flink.api.common.RuntimeExecutionMode; |
26 | 26 | import org.apache.flink.configuration.BatchExecutionOptions; |
27 | 27 | import org.apache.flink.configuration.Configuration; |
28 | 28 | import org.apache.flink.configuration.ExecutionOptions; |
@@ -367,12 +367,12 @@ private static void checkAllExchangesAreSupported(final JobGraph jobGraph) { |
367 | 367 | + "to be executed with types of all edges being BLOCKING or HYBRID_FULL/HYBRID_SELECTIVE. " |
368 | 368 | + "To do that, you need to configure '%s' to '%s' or '%s/%s'. " |
369 | 369 | + "Note that for DataSet jobs which do not recognize the aforementioned shuffle mode, " |
370 | | - + "the ExecutionMode needs to be %s to force BLOCKING shuffle", |
| 370 | + + "the RuntimeExecutionMode needs to be %s to force BLOCKING shuffle", |
371 | 371 | ExecutionOptions.BATCH_SHUFFLE_MODE.key(), |
372 | 372 | BatchShuffleMode.ALL_EXCHANGES_BLOCKING, |
373 | 373 | BatchShuffleMode.ALL_EXCHANGES_HYBRID_FULL, |
374 | 374 | BatchShuffleMode.ALL_EXCHANGES_HYBRID_SELECTIVE, |
375 | | - ExecutionMode.BATCH_FORCED)); |
| 375 | + RuntimeExecutionMode.BATCH)); |
376 | 376 | } |
377 | 377 | } |
378 | 378 | } |
|
0 commit comments