[ 
https://issues.apache.org/jira/browse/HIVE-26402?focusedWorklogId=792387&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-792387
 ]

ASF GitHub Bot logged work on HIVE-26402:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 18/Jul/22 23:34
            Start Date: 18/Jul/22 23:34
    Worklog Time Spent: 10m 
      Work Description: dengzhhu653 closed pull request #3449: HIVE-26402: 
HiveSchemaTool does not honor metastore-site.xml
URL: https://github.com/apache/hive/pull/3449




Issue Time Tracking
-------------------

    Worklog Id:     (was: 792387)
    Time Spent: 20m  (was: 10m)

> 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: 20m
>  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)

Reply via email to