You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2022/02/11 03:39:00 UTC

[jira] [Resolved] (SPARK-38178) Correct the logic to measure the memory usage of RocksDB

     [ https://issues.apache.org/jira/browse/SPARK-38178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dongjoon Hyun resolved SPARK-38178.
-----------------------------------
    Fix Version/s: 3.3.0
                   3.2.2
       Resolution: Fixed

This is resolved via https://github.com/apache/spark/pull/35480

> Correct the logic to measure the memory usage of RocksDB
> --------------------------------------------------------
>
>                 Key: SPARK-38178
>                 URL: https://issues.apache.org/jira/browse/SPARK-38178
>             Project: Spark
>          Issue Type: Bug
>          Components: Structured Streaming
>    Affects Versions: 3.2.1
>            Reporter: Yun Tang
>            Assignee: Yun Tang
>            Priority: Major
>             Fix For: 3.3.0, 3.2.2
>
>
> Currently, structed streaming would report the memory usage of RocksDB as state store's metrics. However, it only sums from {{rocksdb.estimate-table-readers-mem}} and {{rocksdb.size-all-mem-tables}}. However, this lacks of the memory usage of block cache. (You can refer to [Memory-usage-in-RocksDB](https://github.com/facebook/rocksdb/wiki/Memory-usage-in-RocksDB) for more details.)
> BTW, as the "block-cache-pinned-usage" is included in "block-cache-usage", we don't need to include the pinned usage.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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