Hive
  1. Hive
  2. HIVE-1825

Different defaults for hive.metastore.local

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

        Activity

        Hide
        Ashutosh Chauhan added a comment -

        This got resolved as part of HIVE-1461

        Show
        Ashutosh Chauhan added a comment - This got resolved as part of HIVE-1461

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development