Dmitry Shkut created HDDS-11098:
-----------------------------------
Summary: Incorrect configuration file handling in
DBConfigFromFile.java silently falls back to default configuration without
logging errors.
Key: HDDS-11098
URL: https://issues.apache.org/jira/browse/HDDS-11098
Project: Apache Ozone
Issue Type: Bug
Components: OM
Affects Versions: 1.4.0
Reporter: Dmitry Shkut
Attachments: DBConfigFromFile.patch
In the file
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/db/DBConfigFromFile.java
at line 139, the code does not use the throw keyword to handle exceptions when
an invalid configuration file (e.g., /etc/hadoop/om.db.ini) is provided. As a
result, the system silently reverts to the default configuration without
logging any error messages regarding the RocksDB configuration failure.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]