[ https://issues.apache.org/jira/browse/HIVE-26402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhihua Deng reassigned HIVE-26402: ---------------------------------- Assignee: Zhihua Deng > HiveSchemaTool does not honor metastore-site.xml > ------------------------------------------------ > > Key: HIVE-26402 > URL: https://issues.apache.org/jira/browse/HIVE-26402 > Project: Hive > Issue Type: Improvement > Components: Metastore > Reporter: Zhihua Deng > Assignee: Zhihua Deng > Priority: Major > Labels: pull-request-available > Time Spent: 1h > Remaining Estimate: 0h > > When using following scripts for initializing metastore schema, > {code:java} > export HIVE_CONF_DIR='/path/to/metastore_conf' > ./bin/schematool -dbType mysql -initSchema{code} > the schematool command will be failed though we have a valid > metastore-site.xml under the config path, it tries to init the default > embeded db. > {noformat} > Metastore connection URL: > jdbc:derby:;databaseName=metastore_db;create=true > Metastore connection Driver : org.apache.derby.jdbc.EmbeddedDriver > Metastore connection User: APP > Initializing the schema to: 4.0.0-alpha-2{noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)