You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/09/14 08:40:20 UTC
[jira] [Updated] (SPARK-17525) SparkContext.clearFiles() still
present in the PySpark bindings though the underlying Scala method was
removed in Spark 2.0
[ https://issues.apache.org/jira/browse/SPARK-17525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen updated SPARK-17525:
------------------------------
Assignee: Sami Jaktholm
> SparkContext.clearFiles() still present in the PySpark bindings though the underlying Scala method was removed in Spark 2.0
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-17525
> URL: https://issues.apache.org/jira/browse/SPARK-17525
> Project: Spark
> Issue Type: Bug
> Components: PySpark
> Affects Versions: 2.0.0
> Reporter: Sami Jaktholm
> Assignee: Sami Jaktholm
> Priority: Trivial
> Fix For: 2.0.1, 2.1.0
>
>
> STR: In PySpark shell, run sc.clearFiles()
> What happens:
> {noformat}
> py4j.protocol.Py4JError: An error occurred while calling o74.clearFiles. Trace:
> py4j.Py4JException: Method clearFiles([]) does not exist
> at py4j.reflection.ReflectionEngine.getMethod(ReflectionEngine.java:318)
> at py4j.reflection.ReflectionEngine.getMethod(ReflectionEngine.java:326)
> at py4j.Gateway.invoke(Gateway.java:272)
> at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:128)
> at py4j.commands.CallCommand.execute(CallCommand.java:79)
> at py4j.GatewayConnection.run(GatewayConnection.java:211)
> at java.lang.Thread.run(Thread.java:745)
> {noformat}
> Apparently the old and deprecated SparkContext.clearFiles() was removed from Spark 2.0 but it's still present in the PySpark API. It should be removed from there too.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org