Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-1825

Different defaults for hive.metastore.local

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.6.0
    • Fix Version/s: 0.8.0
    • Component/s: Configuration, Metastore
    • Labels:
      None

      Description

      hive-default.xml sets hive.metastore.local to true. In the code however there is this:

      HiveMetaStoreClient.java
      boolean localMetaStore = conf.getBoolean("hive.metastore.local", false);
      

      This leads to different behaviour depending on whether hbase-default.xml is on the classpath or not.....which can lead to some confusion

      I can supply a patch - should be pretty similar. I just don't know what the "real" default should be. My guess would be true.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lars_francke Lars Francke
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: