You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Shiyou xin (Jira)" <ji...@apache.org> on 2020/12/10 03:41:00 UTC

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

Shiyou xin created HDDS-4573:
--------------------------------

             Summary: 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


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