Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/7874#discussion_r37281607
--- Diff: core/src/main/scala/org/apache/spark/SparkContext.scala ---
@@ -118,9 +118,11 @@ class SparkContext(config: SparkConf) extends Logging
with ExecutorAllocationCli
* Can be generated using
[[org.apache.spark.scheduler.InputFormatInfo.computePreferredLocations]]
* from a list of input files or InputFormats for the application.
*/
+ @Deprecated("Passing in preferred locations has no effect at all, see
SPARK-8949", "1.5.0")
--- End diff --
This is the `java.lang` annotation. Does it work with Scala? I thought we
used `@deprecated` for this -- better for consistency even if both work
---
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]