Wenchen Fan created SPARK-59757:
-----------------------------------

             Summary: Fix NPE in BytesToBytesMap after failed reset during spill
                 Key: SPARK-59757
                 URL: https://issues.apache.org/jira/browse/SPARK-59757
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 5.0.0
            Reporter: Wenchen Fan


BytesToBytesMap.reset() can leave its pointer array null if replacement 
allocation fails. A later lookup then throws NullPointerException. Recover the 
empty map lazily or report SparkOutOfMemoryError, with on-heap and off-heap 
regression coverage.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to