hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris McConnell (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-3656) Fix ERROR logging related to hive.metastore.uris and javax.jdo.option.ConnectionURL being set
Date Fri, 02 Nov 2012 13:17:11 GMT
Chris McConnell created HIVE-3656:
-------------------------------------

             Summary: Fix ERROR logging related to hive.metastore.uris and javax.jdo.option.ConnectionURL
being set
                 Key: HIVE-3656
                 URL: https://issues.apache.org/jira/browse/HIVE-3656
             Project: Hive
          Issue Type: Bug
          Components: Configuration
    Affects Versions: 0.9.0
            Reporter: Chris McConnell
            Priority: Minor


In order to ensure the defaults are set, HiveConf sets javax.jdo.option.ConnectionURL to the
default, embedded Derby DB. 

When utilizing the hive.metastore.uris (for example, using a thrift://host:port) to connect
to an external metastore, the code block below is executed:

{code}
if (null != this.get(ConfVars.METASTOREURIS.varname, null) &&
  null != this.get(ConfVars.METASTORECONNECTURLKEY.varname, null)) {
    l4j.error("Found both " + ConfVars.METASTOREURIS.varname + " and " +
      ConfVars.METASTORECONNECTURLKEY + " Recommended to have exactly one of those config
key" +
      "in configuration");
    }
{code}

Quick way to test is with HiveServer2:

hive --config /path/to/hive-site.xml --service hiveserver2 

with hive-site.xml utilizing the hive.metastore.uris

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

Mime
View raw message