Skip to content

Conversation

@sjakthol
Copy link
Contributor

What changes were proposed in this pull request?

This pull request removes the SparkContext.clearFiles() method from the PySpark API as the method was removed from the Scala API in 8ce645d. Using that method in PySpark leads to an exception as PySpark tries to call the non-existent method on the JVM side.

How was this patch tested?

Existing tests (though none of them tested this particular method).

…rk API as it was removed from the Scala API prior to Spark 2.0.0
@sjakthol
Copy link
Contributor Author

cc @rxin @JoshRosen since you were around when the deprecated APIs were removed.

@HyukjinKwon
Copy link
Member

HyukjinKwon commented Sep 13, 2016

@sjakthol it seems the JIRA in the title is wrongly linked the title. Could you confirm this please?

@sjakthol
Copy link
Contributor Author

I can confirm. It's SPARK-17525 instead of SPARK-17252 :)

Updating.

@sjakthol sjakthol changed the title [SPARK-17252][Python] Remove SparkContext.clearFiles() from the PySpark API as it was removed from the Scala API prior to Spark 2.0.0 [SPARK-17525][Python] Remove SparkContext.clearFiles() from the PySpark API as it was removed from the Scala API prior to Spark 2.0.0 Sep 13, 2016
@JoshRosen
Copy link
Contributor

Yep, good catch but I think the JIRA number is wrong; could you change it to SPARK-17525?

@JoshRosen
Copy link
Contributor

Doh, I see that it's updated already (my page was out of date). LGTM pending Jenkins.

@SparkQA
Copy link

SparkQA commented Sep 13, 2016

Test build #3261 has finished for PR 15081 at commit 35f0f8a.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@srowen
Copy link
Member

srowen commented Sep 14, 2016

Merged to master/2.0

@asfgit asfgit closed this in b5bfcdd Sep 14, 2016
asfgit pushed a commit that referenced this pull request Sep 14, 2016
…rk API as it was removed from the Scala API prior to Spark 2.0.0

## What changes were proposed in this pull request?

This pull request removes the SparkContext.clearFiles() method from the PySpark API as the method was removed from the Scala API in 8ce645d. Using that method in PySpark leads to an exception as PySpark tries to call the non-existent method on the JVM side.

## How was this patch tested?

Existing tests (though none of them tested this particular method).

Author: Sami Jaktholm <[email protected]>

Closes #15081 from sjakthol/pyspark-sc-clearfiles.

(cherry picked from commit b5bfcdd)
Signed-off-by: Sean Owen <[email protected]>
wgtmac pushed a commit to wgtmac/spark that referenced this pull request Sep 19, 2016
…rk API as it was removed from the Scala API prior to Spark 2.0.0

## What changes were proposed in this pull request?

This pull request removes the SparkContext.clearFiles() method from the PySpark API as the method was removed from the Scala API in 8ce645d. Using that method in PySpark leads to an exception as PySpark tries to call the non-existent method on the JVM side.

## How was this patch tested?

Existing tests (though none of them tested this particular method).

Author: Sami Jaktholm <[email protected]>

Closes apache#15081 from sjakthol/pyspark-sc-clearfiles.
@sjakthol sjakthol deleted the pyspark-sc-clearfiles branch November 4, 2016 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants