You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Nan Zhu (JIRA)" <ji...@apache.org> on 2016/01/13 14:35:40 UTC

[jira] [Commented] (SPARK-12786) Actor demo does not demonstrate usable code

    [ https://issues.apache.org/jira/browse/SPARK-12786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15096187#comment-15096187 ] 

Nan Zhu commented on SPARK-12786:
---------------------------------

the only place it relies on AkkaUtil is to create an ActorSystem, which I thought to be fine as you can easily replace that part with your own system creation logic....did I miss anything?

> Actor demo does not demonstrate usable code
> -------------------------------------------
>
>                 Key: SPARK-12786
>                 URL: https://issues.apache.org/jira/browse/SPARK-12786
>             Project: Spark
>          Issue Type: Documentation
>          Components: Streaming
>    Affects Versions: 1.5.2, 1.6.0
>            Reporter: Brian London
>            Priority: Minor
>
> The ActorWordCount demo doesn't show how to set up an actor based dstream in a way that can be used.  
> The demo relies on the {{AkkaUtils}} object, which is marked private[spark].  Thus the code presented will not compile unless users declare their code to be in the org.apache.spark package. 
> Demo is located at https://github.com/apache/spark/blob/master/examples/src/main/scala/org/apache/spark/examples/streaming/ActorWordCount.scala



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org