You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Nicholas Chammas (JIRA)" <ji...@apache.org> on 2014/09/02 06:43:20 UTC

[jira] [Commented] (SPARK-1701) Inconsistent naming: "slice" or "partition"

    [ https://issues.apache.org/jira/browse/SPARK-1701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14117880#comment-14117880 ] 

Nicholas Chammas commented on SPARK-1701:
-----------------------------------------

In addition to "slice" and "partition", we also have "task".

Here's an example from Spark 1.0.2:
* PySpark {{reduceByKey}} [API documentation|http://spark.apache.org/docs/1.0.2/api/python/pyspark.rdd.RDD-class.html#reduceByKey] says {{numPartitions}}
* [Spark Programming Guide|http://spark.apache.org/docs/1.0.2/programming-guide.html#transformations] calls the same thing {{numTasks}}

> Inconsistent naming: "slice" or "partition"
> -------------------------------------------
>
>                 Key: SPARK-1701
>                 URL: https://issues.apache.org/jira/browse/SPARK-1701
>             Project: Spark
>          Issue Type: Improvement
>          Components: Documentation, Spark Core
>            Reporter: Daniel Darabos
>            Priority: Minor
>
> Throughout the documentation and code "slice" and "partition" are used interchangeably. (Or so it seems to me.) It would avoid some confusion for new users to settle on one name. I think "partition" is winning, since that is the name of the class representing the concept.
> This should not be much more complicated to do than a search & replace. I can take a stab at it, if you agree.



--
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