You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@streams.apache.org by "Steve Blackmon (JIRA)" <ji...@apache.org> on 2015/03/23 20:37:53 UTC

[jira] [Closed] (STREAMS-253) Print the specified number of data and handle all of the elements in RDD

     [ https://issues.apache.org/jira/browse/STREAMS-253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Blackmon closed STREAMS-253.
----------------------------------
    Resolution: Invalid

> Print the specified number of data and handle all of the elements in RDD
> ------------------------------------------------------------------------
>
>                 Key: STREAMS-253
>                 URL: https://issues.apache.org/jira/browse/STREAMS-253
>             Project: Streams
>          Issue Type: New Feature
>            Reporter: 宿荣全
>            Priority: Minor
>
> Dstream.print function:Print 10 elements and handle 11 elements.
> A new function based on Dstream.print function is presented:
> the new function:
> Print the specified number of data and handle all of the elements in RDD.
> there is a work scene:
> val dstream = stream.map->filter->mapPartitions->print
> the data after filter need update database in mapPartitions,but don't need print each data,only need to print the top 20 for view the data processing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)