[
https://issues.apache.org/jira/browse/SPARK-62374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated SPARK-62374:
-----------------------------------
Labels: pull-request-available (was: )
> Driver off-heap storage memory is always reported as 0 in the status store
> --------------------------------------------------------------------------
>
> Key: SPARK-62374
> URL: https://issues.apache.org/jira/browse/SPARK-62374
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 4.4.0
> Reporter: L. C. Hsieh
> Priority: Major
> Labels: pull-request-available
>
> SPARK-54449 made {{AppStatusListener.onBlockManagerAdded}} always set the
> driver's {{totalOffHeap}} to 0, regardless of what the driver's block manager
> reports.
> This hides real off-heap storage memory in local mode. With
> {{spark.memory.offHeap.enabled=true}}, tasks run in the driver and can cache
> OFF_HEAP blocks there, but the Executors page, the REST API
> ({{/api/v1/applications/<id>/executors}},
> {{memoryMetrics.totalOffHeapStorageMemory}}) and {{SparkStatusTracker}}
> report 0 total off-heap memory for the driver. As a result, the used off-heap
> memory can exceed the total, and the RDD storage {{offHeapMemoryRemaining}}
> ({{totalOffHeap - usedOffHeap}}) becomes negative.
> The override is no longer needed for non-local deployments: SPARK-57867
> already initializes the driver's memory manager without off-heap memory
> there, so the driver reports 0 off-heap memory by itself.
> The driver should report the {{maxOffHeapMem}} from its block manager like
> any other block manager.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]