You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Zheng Huang-Mu (Jira)" <ji...@apache.org> on 2020/12/11 09:14:00 UTC

[jira] [Assigned] (HDDS-4573) inconsistent path when the item "ozone.recon.db.dir" is not configured

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

Zheng Huang-Mu reassigned HDDS-4573:
------------------------------------

    Assignee: Zheng Huang-Mu

> inconsistent path when the item "ozone.recon.db.dir" is not configured
> ----------------------------------------------------------------------
>
>                 Key: HDDS-4573
>                 URL: https://issues.apache.org/jira/browse/HDDS-4573
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: Ozone Recon
>    Affects Versions: 1.0.0
>            Reporter: Shiyou xin
>            Assignee: Zheng Huang-Mu
>            Priority: Minor
>
> There is an inconsistent path when the item "ozone.recon.db.dir" is not configured : 
> 1 : falling back to ozone.metadata.dirs instead, just same as ozone.scm.db.dir/ozone.om.db.dir
> 2 : the jdbcUrl variable in ReconSqlDbConfig class set default value (jdbc:derby:${ozone.recon.db.dir}/ozone_recon_derby.db)
> The second points assume that "ozone.recon.db.dir" is must be configured, but it was not.
> The result is that it will create a path named "${ozone.recon.db.dir}" in current directory, when
> 1. "ozone.recon.db.dir" is not configured
> 2. ReconSqlDbConfig.setJdbcUrl is not called.
> That maybe a bug.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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