You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/01/25 03:50:39 UTC

[jira] [Commented] (SPARK-5174) Missing Document for starting multiple workers/supervisors in actor-based receiver

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

Apache Spark commented on SPARK-5174:
-------------------------------------

User 'CodingCat' has created a pull request for this issue:
https://github.com/apache/spark/pull/10892

> Missing Document for starting multiple workers/supervisors in actor-based receiver
> ----------------------------------------------------------------------------------
>
>                 Key: SPARK-5174
>                 URL: https://issues.apache.org/jira/browse/SPARK-5174
>             Project: Spark
>          Issue Type: Bug
>          Components: Streaming
>    Affects Versions: 1.2.0
>            Reporter: Nan Zhu
>            Priority: Minor
>
> Currently, the document about starting multiple supervisors/workers are missing, though the implementation provides this capacity
> {code:title=ActorReceiver.scala|borderStyle=solid}
> case props: Props =>
>         val worker = context.actorOf(props)
>         logInfo("Started receiver worker at:" + worker.path)
>         sender ! worker
>       case (props: Props, name: String) =>
>         val worker = context.actorOf(props, name)
>         logInfo("Started receiver worker at:" + worker.path)
>         sender ! worker
>       case _: PossiblyHarmful => hiccups.incrementAndGet()
>       case _: Statistics =>
>         val workers = context.children
>         sender ! Statistics(n.get, workers.size, hiccups.get, workers.mkString("\n"))
> {code}



--
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