[
https://issues.apache.org/jira/browse/HIVE-26402?focusedWorklogId=798759&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-798759
]
ASF GitHub Bot logged work on HIVE-26402:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 08/Aug/22 01:40
Start Date: 08/Aug/22 01:40
Worklog Time Spent: 10m
Work Description: dengzhhu653 merged PR #3449:
URL: https://github.com/apache/hive/pull/3449
Issue Time Tracking
-------------------
Worklog Id: (was: 798759)
Time Spent: 1h (was: 50m)
> 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
> 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)