Github user andrewor14 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/11805#discussion_r58128441
  
    --- Diff: 
streaming/src/main/scala/org/apache/spark/streaming/rdd/WriteAheadLogBackedBlockRDD.scala
 ---
    @@ -162,7 +162,8 @@ class WriteAheadLogBackedBlockRDD[T: ClassTag](
             logDebug(s"Stored partition data of $this into block manager with 
level $storageLevel")
             dataRead.rewind()
           }
    -      serializerManager.dataDeserialize(blockId, new 
ChunkedByteBuffer(dataRead))
    +      serializerManager
    +        .dataDeserializeStream(blockId, new 
ChunkedByteBuffer(dataRead).toInputStream())
    --- End diff --
    
    instead of changing these everywhere why not just add an alias for 
`dataDeserialize` that internally calls the stream version?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to