[
https://issues.apache.org/jira/browse/FLINK-7613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16171362#comment-16171362
]
ASF GitHub Bot commented on FLINK-7613:
---------------------------------------
Github user zentol commented on a diff in the pull request:
https://github.com/apache/flink/pull/4666#discussion_r139635706
--- Diff: docs/dev/datastream_api.md ---
@@ -497,7 +497,9 @@ env.generateSequence(1,10).map(new
MyMapper()).setBufferTimeout(timeoutMillis);
LocalStreamEnvironment env =
StreamExecutionEnvironment.createLocalEnvironment
env.setBufferTimeout(timeoutMillis)
-env.genereateSequence(1,10).map(myMap).setBufferTimeout(timeoutMillis)
+def myMap : Long => Long = _ + 1 // `generateSequence` returns a
`DataStream[Long]` type
--- End diff --
This change makes the java/scala documentation inconsistent. The fact that
generateSequence returns longs is also irrelevant to this section as it is
about setting the buffer timeout.
> Fix documentation error in QuickStart
> -------------------------------------
>
> Key: FLINK-7613
> URL: https://issues.apache.org/jira/browse/FLINK-7613
> Project: Flink
> Issue Type: Task
> Components: Documentation
> Affects Versions: 1.4.0
> Reporter: Raymond Tay
> Priority: Minor
>
> In the `QuickStart => Run The Example` section, there's a typographical error
> which points the reader to `*jobmanager* but it should be `*taskmanager*` in
> Apache Flink 1.4.x.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)