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 2016/09/10 06:48:20 UTC
[jira] [Created] (SPARK-17491) MemoryStore.putIteratorAsBytes() may
silently lose values when KryoSerializer is used
Josh Rosen created SPARK-17491:
----------------------------------
Summary: 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