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/06/04 00:00:40 UTC
[jira] [Commented] (SPARK-8090) SerializationDebugger does not
handle classes with writeReplace correctly
[ https://issues.apache.org/jira/browse/SPARK-8090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14571723#comment-14571723 ]
Apache Spark commented on SPARK-8090:
-------------------------------------
User 'tdas' has created a pull request for this issue:
https://github.com/apache/spark/pull/6625
> SerializationDebugger does not handle classes with writeReplace correctly
> -------------------------------------------------------------------------
>
> Key: SPARK-8090
> URL: https://issues.apache.org/jira/browse/SPARK-8090
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 1.4.0
> Reporter: Tathagata Das
> Assignee: Tathagata Das
> Priority: Minor
>
> The following class with not serializable object used through writeReplace will not be caught correctly by the SerializationDebugger
> {code}
> class SerializableClassWithWriteReplace()
> extends Serializable {
> private def writeReplace(): Object = {
> new NotSerializableObjectI()
> }
> }
> {code}
> The reason is that SerializationDebugger does not check the type of the replaced object (whether serializable or not).
--
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