Siyao Meng created HDDS-15314:
---------------------------------
Summary: Disable defrag DB metrics due to crash during snapshot
defrag
Key: HDDS-15314
URL: https://issues.apache.org/jira/browse/HDDS-15314
Project: Apache Ozone
Issue Type: Sub-task
Components: Ozone Manager
Reporter: Siyao Meng
Assignee: Siyao Meng
During snapshot defrag scale testing, Ozone Manager crashed in native RocksDB
JNI code while the Hadoop Metrics2 timer was collecting generic RocksDB DB
properties. The crash happened twice in the same setup.
{code}
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f0bee21ed7d, pid=711089, tid=0x00007f0be71c0700
#
# JRE version: OpenJDK Runtime Environment (8.0_232-b09) (build 1.8.0_232-b09)
# Java VM: OpenJDK 64-Bit Server VM (25.232-b09 mixed mode linux-amd64
compressed oops)
# Problematic frame:
# C [librocksdbjni-linux64.so+0x3c3d7d]
rocksdb::DBImpl::GetProperty(rocksdb::ColumnFamilyHandle*, rocksdb::Slice
const&, std::string*)+0x5d
...
{code}
DB metrics should not have been enabled for defrag DBs in the first place. And
previously it had been disabled for snapshot DBs in HDDS-12193
(https://github.com/apache/ozone/commit/ad0debf5e1b) by default. Similar
measure needs to be taken for defrag DBs as well.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]