Github user jiangxb1987 commented on a diff in the pull request: https://github.com/apache/spark/pull/21867#discussion_r205130421 --- Diff: core/src/main/scala/org/apache/spark/storage/BlockManager.scala --- @@ -731,7 +733,14 @@ private[spark] class BlockManager( } if (data != null) { - return Some(ChunkedByteBuffer.fromManagedBuffer(data, chunkSize)) + // SPARK-24307 undocumented "escape-hatch" in case there are any issues in converting to + // to ChunkedByteBuffer, to go back to old code-path. Can be removed post Spark 2.4 if --- End diff -- nit: `to ChunkedByteBuffer` -> `ChunkedByteBuffer`
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org