[
https://issues.apache.org/jira/browse/HDDS-11098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17863871#comment-17863871
]
Ethan Rose commented on HDDS-11098:
-----------------------------------
I see you've attached a patch file to the Jira. If you'd like to contribute it
to the project, please open a pull request in the main apache/ozone repository
on GitHub.
> 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
> Priority: Trivial
> 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]