You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Uroš Bojanić (Jira)" <ji...@apache.org> on 2026/08/24 19:08:00 UTC

[jira] [Commented] (SPARK-58975) Add failure messages to MemoryPool require checks

    [ https://issues.apache.org/jira/browse/SPARK-58975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18107554#comment-18107554 ] 

Uroš Bojanić commented on SPARK-58975:
--------------------------------------

In progress: https://github.com/apache/spark/pull/58251

> 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ć
>            Priority: Minor
>
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org