Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1ADFF200B92 for ; Tue, 13 Sep 2016 19:12:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 19A5D160AD2; Tue, 13 Sep 2016 17:12:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 67D03160AD3 for ; Tue, 13 Sep 2016 19:12:22 +0200 (CEST) Received: (qmail 59239 invoked by uid 500); 13 Sep 2016 17:12:21 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 58983 invoked by uid 99); 13 Sep 2016 17:12:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2016 17:12:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 4AC412C1B7F for ; Tue, 13 Sep 2016 17:12:21 +0000 (UTC) Date: Tue, 13 Sep 2016 17:12:21 +0000 (UTC) From: "Apache Spark (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SPARK-17525) SparkContext.clearFiles() still present in the PySpark bindings though the underlying Scala method was removed in Spark 2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 13 Sep 2016 17:12:23 -0000 [ https://issues.apache.org/jira/browse/SPARK-17525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15487789#comment-15487789 ] Apache Spark commented on SPARK-17525: -------------------------------------- User 'sjakthol' has created a pull request for this issue: https://github.com/apache/spark/pull/15081 > 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 > Priority: Trivial > > 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