[
https://issues.apache.org/jira/browse/FLINK-8285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16295507#comment-16295507
]
Julio Biason commented on FLINK-8285:
-------------------------------------
[~tzulitai] Yeah, it's not relevant, because there is no
{{DataStream.collect()}}:
{{{
[error] tests.scala:28: value collect is not a member of
org.apache.flink.streaming.api.scala.DataStream[org.azion.com.models.metrics.metrictuple.Metric]
[error] val output = pipeline.collect()
}}}
> 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)