You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Brock Noland (JIRA)" <ji...@apache.org> on 2013/05/02 19:32:16 UTC

[jira] [Created] (HIVE-4476) HiveMetaStore caches the creation of a default db in a static way

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