[ https://issues.apache.org/jira/browse/SPARK-5174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-5174: ----------------------------------- Assignee: (was: 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 > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org