You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/09/10 21:18:46 UTC

[jira] [Commented] (SPARK-10546) Check partitionId's range in ExternalSorter#spill()

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

Apache Spark commented on SPARK-10546:
--------------------------------------

User 'tedyu' has created a pull request for this issue:
https://github.com/apache/spark/pull/8703

> Check partitionId's range in ExternalSorter#spill()
> ---------------------------------------------------
>
>                 Key: SPARK-10546
>                 URL: https://issues.apache.org/jira/browse/SPARK-10546
>             Project: Spark
>          Issue Type: Improvement
>    Affects Versions: 1.4.1
>            Reporter: Ted Yu
>            Priority: Minor
>
> See this thread for background:
> http://search-hadoop.com/m/q3RTt0rWvIkHAE81
> We should check the range of partition Id and provide meaningful message through exception.
> Alternatively, we can use abs() and modulo to force the partition Id into legitimate range. However, expectation is that user should correct the logic error in his / her code.



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