Github user tillrohrmann commented on a diff in the pull request:
https://github.com/apache/incubator-flink/pull/126#discussion_r18420572
--- Diff:
flink-addons/flink-streaming/flink-streaming-core/src/main/java/org/apache/flink/streaming/util/ClusterUtil.java
---
@@ -37,18 +37,19 @@
*
* @param jobGraph
* jobGraph
- * @param numberOfTaskTrackers
+ * @param degreeOfPrallelism
* numberOfTaskTrackers
* @param memorySize
* memorySize
*/
- public static void runOnMiniCluster(JobGraph jobGraph, int
numberOfTaskTrackers, long memorySize) throws Exception {
--- End diff --
Without this change, the FlinkMiniCluster does not wait properly on the
TaskManagers which have to register at the JobManager. The reason for this is
that the number of slots to wait for is negative. As a consequence, some of the
test cases failed every once in a while.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---