Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/8976#discussion_r41289941
--- Diff: core/src/main/scala/org/apache/spark/SparkContext.scala ---
@@ -147,23 +139,41 @@ class SparkContext(config: SparkConf) extends Logging
with ExecutorAllocationCli
* @param jars Collection of JARs to send to the cluster. These can be
paths on the local file
* system or HDFS, HTTP, HTTPS, or FTP URLs.
* @param environment Environment variables to set on worker nodes.
- * @param preferredNodeLocationData used in YARN mode to select nodes to
launch containers on.
- * Can be generated using
[[org.apache.spark.scheduler.InputFormatInfo.computePreferredLocations]]
- * from a list of input files or InputFormats for the application.
+ * @param preferredNodeLocationData not used. Left for backward
compatibility.
*/
+ @deprecated("Passing in preferred locations has no effect at all, see
SPARK-10921", "1.5.1")
--- End diff --
(PS I think this will be 1.6.0, not 1.5.x)
---
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]