Github user mateiz commented on a diff in the pull request:
https://github.com/apache/spark/pull/1843#discussion_r16692981
--- Diff: core/src/main/scala/org/apache/spark/deploy/SparkHadoopUtil.scala
---
@@ -68,7 +68,26 @@ class SparkHadoopUtil extends Logging {
* Return an appropriate (subclass) of Configuration. Creating config
can initializes some Hadoop
* subsystems.
*/
- def newConfiguration(): Configuration = new Configuration()
+ def newConfiguration(conf: SparkConf): Configuration = {
--- End diff --
This is technically a breaking API change, we can't just do it like this.
We have to add the old version.
Also, somewhat worryingly, I don't think SparkHadoopUtil was meant to be a
public API, so it's weird that it gets used in our examples. We should probably
mark it as `@DeveloperApi` and make sure that the examples don't use it.
---
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]