[
https://issues.apache.org/jira/browse/FLINK-8285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16295479#comment-16295479
]
Julio Biason commented on FLINK-8285:
-------------------------------------
Well, I was expecting to use the DataStreamUtils.colect to retrieve the
processing result in a test, starting with a localEnvironment inside the test
and using a Seq as input; since I split the pipeline creation on its own
function, I could throw any DataStream and check only the final result, as an
E2E test.
But yeah, if it's using unstable package, it shouldn't even be mentioned in the
docs.
> Iterator Data Sink doesn't mention required module
> --------------------------------------------------
>
> Key: FLINK-8285
> URL: https://issues.apache.org/jira/browse/FLINK-8285
> Project: Flink
> Issue Type: Bug
> Components: Documentation
> Affects Versions: 1.4.0
> Environment: Linux CentOS/7
> Reporter: Julio Biason
>
> In the docs about
> [https://ci.apache.org/projects/flink/flink-docs-release-1.4/dev/datastream_api.html#iterator-data-sink],
> it's mentioned that one could use an interator for retrieving the result of
> the stream.
> But there is no mention of any external packages (as it happens with some
> examples in the metrics) and trying to use causes an error:
> [error] object contrib is not a member of package org.apache.flink
> [error] import org.apache.flink.contrib.streaming.DataStreamUtils
> The line in question (as copied'n'pasted directly from the examples):
> import org.apache.flink.contrib.streaming.DataStreamUtils
> (PS: Source is in Scala, not Java)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)