You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Tim Armstrong (Jira)" <ji...@apache.org> on 2021/10/05 19:08:00 UTC

[jira] [Commented] (SPARK-36933) Reduce duplication in TaskMemoryManager.acquireExecutionMemory

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

Tim Armstrong commented on SPARK-36933:
---------------------------------------

I intend to submit a patch for this.

> Reduce duplication in TaskMemoryManager.acquireExecutionMemory
> --------------------------------------------------------------
>
>                 Key: SPARK-36933
>                 URL: https://issues.apache.org/jira/browse/SPARK-36933
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 3.1.0
>            Reporter: Tim Armstrong
>            Priority: Major
>
> TaskMemoryManager.acquireExecutionMemory has a bit of redundancy - code is duplicated in the self-spilling case. It would be good to reduce the duplication to make this more maintainable.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org