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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to