Github user jerryshao commented on a diff in the pull request:
https://github.com/apache/spark/pull/5114#discussion_r26914212
--- Diff:
streaming/src/main/scala/org/apache/spark/streaming/receiver/Receiver.scala ---
@@ -107,9 +107,6 @@ abstract class Receiver[T](val storageLevel:
StorageLevel) extends Serializable
*/
def onStop()
- /** Override this to specify a preferred location (hostname). */
- def preferredLocation : Option[String] = None
--- End diff --
Since `Receiver` is an interface for user, I think it would be better not
remove this method, one possible way you could is to pass the argument through
`ReceiverInputDStream` to this buy adding some methods.
---
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]