Brock Noland created HIVE-4476:
----------------------------------

             Summary: HiveMetaStore caches the creation of a default db in a 
static way
                 Key: HIVE-4476
                 URL: https://issues.apache.org/jira/browse/HIVE-4476
             Project: Hive
          Issue Type: Improvement
    Affects Versions: 0.10.0, 0.11.0
            Reporter: Brock Noland
            Priority: Minor


Currently HiveMetaStore.HMSHandler has a static flag set to true if the JVM has 
ever created a default db:

https://github.com/apache/hive/blob/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java#L176

However, when testing it's nice to be able to create multiple HiveMetastore 
instances in a single JVM. Perhaps we should add a flag 
"hive.metastore.always.create.default.db" or something similar.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to