Uroš Bojanić created SPARK-58975:
------------------------------------
Summary: Add failure messages to MemoryPool require checks
Key: SPARK-58975
URL: https://issues.apache.org/jira/browse/SPARK-58975
Project: Spark
Issue Type: Improvement
Components: Spark Core
Affects Versions: 4.4.0
Reporter: Uroš Bojanić
MemoryPool.incrementPoolSize and decrementPoolSize guard their pool-size
accounting invariants with require(...) calls that have no failure message, so
a violation throws java.lang.IllegalArgumentException: requirement failed with
no context. This adds descriptive messages (including the offending values) to
those four checks, consistent with the messaged require calls in the sibling
MemoryManager.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]