Github user tdas commented on a diff in the pull request:
https://github.com/apache/spark/pull/6607#discussion_r31785460
--- Diff:
streaming/src/main/scala/org/apache/spark/streaming/receiver/Receiver.scala ---
@@ -256,6 +256,9 @@ abstract class Receiver[T](val storageLevel:
StorageLevel) extends Serializable
/** Identifier of the stream this receiver is associated with. */
private var id: Int = -1
+ /** Location of the receiver for scheduling purposes. */
+ private[streaming] var host: Option[String] = None
--- End diff --
I am not sure why we really need a new API on Receiver just to attach a
preferred location at the time of launching the receivers as tasks.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]