Open NEUpanning opened 3 weeks ago
JVM heap didn't have enough memory to allocate the array, so env->NewByteArray
returned null. This caused the crash. Maybe we should add a check for bufferArr != nullptr
and return a more readable error message.
In our case, we allocate more off-heap memory and less on-heap memory to Gluten compared to vanilla Spark. As a result, vanilla Spark can succeed with enough on-heap memory to execute broadcasts, but Gluten fails.
In our case, we allocate more off-heap memory and less on-heap memory to Gluten compared to vanilla Spark. As a result, vanilla Spark can succeed with enough on-heap memory to execute broadcasts, but Gluten fails.
Thanks for sharing.
This caused the crash. Maybe we should add a check for bufferArr != nullptr and return a more readable error message.
Agreed. We'd avoid crash anyway.
Backend
VL (Velox)
Bug description
Stack trace
bufferArr
being nullptr caused this crash.Spark version
Spark-3.0.x
Spark configurations
No response
System information
No response
Relevant logs
Relates log in stdout:
Relates log in jvm_error_pid_33638.log