-
- Downloads
[MINOR] Issue: Change "slice" vs "partition" in exception messages (and code?)
## What changes were proposed in this pull request? Came across the term "slice" when running some spark scala code. Consequently, a Google search indicated that "slices" and "partitions" refer to the same things; indeed see: - [This issue](https://issues.apache.org/jira/browse/SPARK-1701) - [This pull request](https://github.com/apache/spark/pull/2305) - [This StackOverflow answer](http://stackoverflow.com/questions/23436640/what-is-the-difference-between-an-rdd-partition-and-a-slice) and [this one](http://stackoverflow.com/questions/24269495/what-are-the-differences-between-slices-and-partitions-of-rdds) Thus this pull request fixes the occurrence of slice I came accross. Nonetheless, [it would appear](https://github.com/apache/spark/search?utf8=%E2%9C%93&q=slice&type=) there are still many references to "slice/slices" - thus I thought I'd raise this Pull Request to address the issue (sorry if this is the wrong place, I'm not too familar with raising apache issues). ## How was this patch tested? (Not tested locally - only a minor exception message change.) Please review http://spark.apache.org/contributing.html before opening a pull request. Author: asmith26 <asmith26@users.noreply.github.com> Closes #17565 from asmith26/master.
Showing
- core/src/main/scala/org/apache/spark/rdd/ParallelCollectionRDD.scala 1 addition, 1 deletion...in/scala/org/apache/spark/rdd/ParallelCollectionRDD.scala
- examples/src/main/java/org/apache/spark/examples/JavaSparkPi.java 1 addition, 1 deletion.../src/main/java/org/apache/spark/examples/JavaSparkPi.java
- examples/src/main/java/org/apache/spark/examples/JavaTC.java 1 addition, 1 deletionexamples/src/main/java/org/apache/spark/examples/JavaTC.java
- examples/src/main/scala/org/apache/spark/examples/BroadcastTest.scala 1 addition, 1 deletion.../main/scala/org/apache/spark/examples/BroadcastTest.scala
- examples/src/main/scala/org/apache/spark/examples/MultiBroadcastTest.scala 1 addition, 1 deletion.../scala/org/apache/spark/examples/MultiBroadcastTest.scala
- examples/src/main/scala/org/apache/spark/examples/SparkALS.scala 1 addition, 1 deletion...s/src/main/scala/org/apache/spark/examples/SparkALS.scala
- examples/src/main/scala/org/apache/spark/examples/SparkLR.scala 1 addition, 1 deletion...es/src/main/scala/org/apache/spark/examples/SparkLR.scala
Please register or sign in to comment