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

    https://github.com/apache/spark/pull/21867#discussion_r205312971
  
    --- Diff: core/src/main/scala/org/apache/spark/storage/BlockManager.scala 
---
    @@ -731,7 +731,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
    +        // new path is stable.
    +        if (conf.getBoolean("spark.fetchToNioBuffer", false)) {
    --- End diff --
    
    Maybe we'd better to rename that one "spark.maxRemoteBlockSizeFetchToMem" 
also ?


---

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

Reply via email to