Skip to content

Conversation

@AtlasPilotPuppy
Copy link
Contributor

The jira for the issue can be found at: https://issues.apache.org/jira/browse/SPARK-2061
Most of spark has used over to consistently using partitions instead of splits. We should do likewise and add a partitions method to JavaRDDLike and have splits just call that. We should also go through all cases where other API's (e.g. Python) call splits and we should change those to use the newer API.

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure how well this shows up in JavaDoc. Can you test it out?

We might need to add the java @deprecated, and then explain it has been deprecated since 1.0.1. (it is not 0.9.2).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rxin actually I don't think we should deprecate things inside of bug fix releases (people shouldn't get compile warnings for upgrading to a fix release). So this should be deprecated since 1.1.0.

@pwendell
Copy link
Contributor

@anantasty could you do the second part of this JIRA? It's in your description but it looks like you didn't do it: "We should also go through all cases where other API's (e.g. Python) call splits and we should change those to use the newer API."

@AtlasPilotPuppy
Copy link
Contributor Author

@pwendell I can certianly do that.

@AtlasPilotPuppy AtlasPilotPuppy changed the title Made splits deprecated in JavaRDDLike [SPARK-2061] Made splits deprecated in JavaRDDLike Jun 13, 2014
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be 1.1.0

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I fixed this when merging.

@asfgit asfgit closed this in 010c460 Jun 21, 2014
pdeyhim pushed a commit to pdeyhim/spark-1 that referenced this pull request Jun 25, 2014
The jira for the issue can be found at: https://issues.apache.org/jira/browse/SPARK-2061
Most of spark has used over to consistently using `partitions` instead of `splits`. We should do likewise and add a `partitions` method to JavaRDDLike and have `splits` just call that. We should also go through all cases where other API's (e.g. Python) call `splits` and we should change those to use the newer API.

Author: Anant <[email protected]>

Closes apache#1062 from anantasty/SPARK-2061 and squashes the following commits:

b83ce6b [Anant] Fixed syntax issue
21f9210 [Anant] Fixed version number in deprecation string
9315b76 [Anant] made related changes to use partitions in python api
8c62dd1 [Anant] Made splits deprecated in JavaRDDLike
xiliu82 pushed a commit to xiliu82/spark that referenced this pull request Sep 4, 2014
The jira for the issue can be found at: https://issues.apache.org/jira/browse/SPARK-2061
Most of spark has used over to consistently using `partitions` instead of `splits`. We should do likewise and add a `partitions` method to JavaRDDLike and have `splits` just call that. We should also go through all cases where other API's (e.g. Python) call `splits` and we should change those to use the newer API.

Author: Anant <[email protected]>

Closes apache#1062 from anantasty/SPARK-2061 and squashes the following commits:

b83ce6b [Anant] Fixed syntax issue
21f9210 [Anant] Fixed version number in deprecation string
9315b76 [Anant] made related changes to use partitions in python api
8c62dd1 [Anant] Made splits deprecated in JavaRDDLike
flyrain pushed a commit to flyrain/spark that referenced this pull request Sep 21, 2021
udaynpusa pushed a commit to mapr/spark that referenced this pull request Jan 30, 2024
- add 'proxy' authentication handler
mapr-devops pushed a commit to mapr/spark that referenced this pull request May 8, 2025
- add 'proxy' authentication handler
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.

4 participants