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 2016/09/10 06:56:20 UTC
[jira] [Commented] (SPARK-17491) MemoryStore.putIteratorAsBytes()
may silently lose values when KryoSerializer is used
[ https://issues.apache.org/jira/browse/SPARK-17491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15479312#comment-15479312 ]
Apache Spark commented on SPARK-17491:
--------------------------------------
User 'JoshRosen' has created a pull request for this issue:
https://github.com/apache/spark/pull/15043
> MemoryStore.putIteratorAsBytes() may silently lose values when KryoSerializer is used
> -------------------------------------------------------------------------------------
>
> Key: SPARK-17491
> URL: https://issues.apache.org/jira/browse/SPARK-17491
> Project: Spark
> Issue Type: Bug
> Components: Block Manager
> Affects Versions: 2.0.0
> Reporter: Josh Rosen
> Assignee: Josh Rosen
> Priority: Blocker
>
> MemoryStore.putIteratorAsBytes() may silently lose values when used with KryoSerializer because it does not properly close the serialization stream before attempting to deserialize the already-serialized values, which may cause values buffered in Kryo's internal buffers to not be read.
> This is the root cause behind a user-reported "wrong answer" bug in PySpark caching reported by Ben Leslie on the Spark user mailing list in a thread titled "pyspark persist MEMORY_ONLY vs MEMORY_AND_DISK")
--
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