You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Lars Francke (JIRA)" <ji...@apache.org> on 2010/12/03 00:30:10 UTC

[jira] Created: (HIVE-1825) Different defaults for hive.metastore.local

Different defaults for hive.metastore.local
-------------------------------------------

                 Key: HIVE-1825
                 URL: https://issues.apache.org/jira/browse/HIVE-1825
             Project: Hive
          Issue Type: Bug
          Components: Configuration
    Affects Versions: 0.6.0
            Reporter: Lars Francke


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

{code:title=HiveMetaStoreClient.java}
boolean localMetaStore = conf.getBoolean("hive.metastore.local", false);
{code}

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}}.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Updated] (HIVE-1825) Different defaults for hive.metastore.local

Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carl Steinbach updated HIVE-1825:
---------------------------------

    Component/s: Metastore

> Different defaults for hive.metastore.local
> -------------------------------------------
>
>                 Key: HIVE-1825
>                 URL: https://issues.apache.org/jira/browse/HIVE-1825
>             Project: Hive
>          Issue Type: Bug
>          Components: Configuration, Metastore
>    Affects Versions: 0.6.0
>            Reporter: Lars Francke
>
> hive-default.xml sets {{hive.metastore.local}} to {{true}}. In the code however there is this:
> {code:title=HiveMetaStoreClient.java}
> boolean localMetaStore = conf.getBoolean("hive.metastore.local", false);
> {code}
> 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}}.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (HIVE-1825) Different defaults for hive.metastore.local

Posted by "Ashutosh Chauhan (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashutosh Chauhan resolved HIVE-1825.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.9.0

This got resolved as part of HIVE-1461
                
> Different defaults for hive.metastore.local
> -------------------------------------------
>
>                 Key: HIVE-1825
>                 URL: https://issues.apache.org/jira/browse/HIVE-1825
>             Project: Hive
>          Issue Type: Bug
>          Components: Configuration, Metastore
>    Affects Versions: 0.6.0
>            Reporter: Lars Francke
>             Fix For: 0.9.0
>
>
> hive-default.xml sets {{hive.metastore.local}} to {{true}}. In the code however there is this:
> {code:title=HiveMetaStoreClient.java}
> boolean localMetaStore = conf.getBoolean("hive.metastore.local", false);
> {code}
> 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}}.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira