You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Josh Rosen (JIRA)" <ji...@apache.org> on 2015/02/17 01:41:11 UTC
[jira] [Resolved] (SPARK-5441) SerDeUtil Pair RDD to python
conversion doesn't accept empty RDDs
[ https://issues.apache.org/jira/browse/SPARK-5441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Rosen resolved SPARK-5441.
-------------------------------
Resolution: Fixed
Fix Version/s: 1.2.2
I've cherry-picked this to `branch-1.2` (1.2.2), so I'm going to mark this as fixed.
> SerDeUtil Pair RDD to python conversion doesn't accept empty RDDs
> -----------------------------------------------------------------
>
> Key: SPARK-5441
> URL: https://issues.apache.org/jira/browse/SPARK-5441
> Project: Spark
> Issue Type: Bug
> Components: PySpark
> Affects Versions: 1.1.1, 1.2.0
> Reporter: Michael Nazario
> Assignee: Michael Nazario
> Labels: backport-needed
> Fix For: 1.3.0, 1.2.2
>
>
> SerDeUtil.pairRDDToPython and SerDeUtil.pythonToPairRDD rely on rdd.first() which throws an exception if the RDD is empty. We should be able to handle the empty RDD case because this doesn't prevent a valid RDD from being created.
--
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