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 2015/05/15 15:12:59 UTC

[jira] [Assigned] (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:all-tabpanel ]

Apache Spark reassigned SPARK-5174:
-----------------------------------

    Assignee: Apache Spark

> 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
>            Assignee: Apache Spark
>            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