[
https://issues.apache.org/jira/browse/FLINK-1948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14519191#comment-14519191
]
ASF GitHub Bot commented on FLINK-1948:
---------------------------------------
Github user mbalassi commented on a diff in the pull request:
https://github.com/apache/flink/pull/634#discussion_r29328859
--- Diff:
flink-staging/flink-streaming/flink-streaming-core/src/main/java/org/apache/flink/streaming/api/datastream/SingleOutputStreamOperator.java
---
@@ -118,11 +118,43 @@ protected SingleOutputStreamOperator(DataStream<OUT>
dataStream) {
return new SingleOutputStreamOperator<OUT, O>(this);
}
- public SingleOutputStreamOperator<OUT, O>
setChainingStrategy(ChainingStrategy strategy) {
+ /**
+ * Sets the {@link ChainingStrategy} for the given operator affecting
the
+ * way operators will possibly be co-located on the same thread for
+ * increased performance.
+ *
+ * @param strategy
+ * The selected {@link ChainingStrategy}
+ * @return The operator with the modified chaining strategy
+ */
+ private SingleOutputStreamOperator<OUT, O>
setChainingStrategy(ChainingStrategy strategy) {
this.operator.setChainingStrategy(strategy);
return this;
}
-
+
+ /**
+ * Turns of chaining for this operator so thread co-location will not be
+ * used as an optimization. </p> Chaining can be turned off for the
whole
--- End diff --
Typo: Turns off :)
> Add manual task slot handling for streaming jobs
> ------------------------------------------------
>
> Key: FLINK-1948
> URL: https://issues.apache.org/jira/browse/FLINK-1948
> Project: Flink
> Issue Type: Improvement
> Components: Streaming
> Reporter: Gyula Fora
> Assignee: Gyula Fora
>
> Currently, all stream operators are automatically assigned to the same task
> sharing group, and the user has no control over this setting. We should add a
> way to manually affect the way operators are allocated to task manager slots.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)