liuxian created SPARK-25786:
-------------------------------

             Summary: If the ByteBuffer.hasArray is false , it will throw 
UnsupportedOperationException for Kryo
                 Key: SPARK-25786
                 URL: https://issues.apache.org/jira/browse/SPARK-25786
             Project: Spark
          Issue Type: Improvement
          Components: Spark Core
    Affects Versions: 3.0.0
         Environment: `{color:#ffc66d}deserialize{color}` for kryo,  the type 
of input parameter is ByteBuffer, if it is not backed by an accessible byte 
array. it will throw UnsupportedOperationException

Exception Info:

java.lang.UnsupportedOperationException was thrown.
java.lang.UnsupportedOperationException
    at java.nio.ByteBuffer.array(ByteBuffer.java:994)
    at 
org.apache.spark.serializer.KryoSerializerInstance.deserialize(KryoSerializer.scala:362)

 
            Reporter: liuxian






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to