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

Different defaults for hive.metastore.local

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.6.0
    • 0.8.0
    • Configuration, Metastore
    • 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

            Unassigned Unassigned
            larsfrancke Lars Francke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: