You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Craig Condit (JIRA)" <ji...@apache.org> on 2013/10/26 04:16:31 UTC

[jira] [Updated] (HIVE-5659) HBaseStorageHandler overwrites Hive-set HBase properties with hbase-defaults

     [ https://issues.apache.org/jira/browse/HIVE-5659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Craig Condit updated HIVE-5659:
-------------------------------

    Description: 
As part of the changes to HIVE-5260, it appears that HBase properties set in hive-conf.xml are being clobbered by defaults from hbase-default.xml.

Specifically, we noticed it when attempting to set hbase.zookeeper.quorum. That value defaults to 'localhost' and results in queries of HBase tables hanging attempting to acquire a lock from a Zookeeper instance which isn't running.

Any properties set in hive-site.xml will be overwridden by those in hbase-default.xml, which doesn't seem good.

{code:java}
    if (this.configureInputJobProps) {
      try {
        HBaseConfiguration.addHbaseResources(jobConf); // ERROR properties clobbered here
        addHBaseDelegationToken(jobConf);
      }//try
      catch (IOException e) {
        throw new IllegalStateException("Error while configuring input job properties", e);
      } //input job properties
    }
{code:java}

  was:
As part of the changes to HIVE-5260, it appears that HBase properties set in hive-conf.xml are being clobbered by defaults from hbase-default.xml.

Specifically, we noticed it when attempting to set hbase.zookeeper.quorum. That value defaults to 'localhost' and results in queries of HBase tables hanging attempting to acquire a lock from a Zookeeper instance which isn't running.

Any properties set in hive-site.xml will be overwridden by those in hbase-default.xml, which doesn't seem good.

<code>
    if (this.configureInputJobProps) {
      try {
        HBaseConfiguration.addHbaseResources(jobConf); <-- properties clobbered here
        addHBaseDelegationToken(jobConf);
      }//try
      catch (IOException e) {
        throw new IllegalStateException("Error while configuring input job properties", e);
      } //input job properties
    }
</code>


> HBaseStorageHandler overwrites Hive-set HBase properties with hbase-defaults
> ----------------------------------------------------------------------------
>
>                 Key: HIVE-5659
>                 URL: https://issues.apache.org/jira/browse/HIVE-5659
>             Project: Hive
>          Issue Type: Bug
>          Components: HBase Handler
>    Affects Versions: 0.12.0
>            Reporter: Craig Condit
>
> As part of the changes to HIVE-5260, it appears that HBase properties set in hive-conf.xml are being clobbered by defaults from hbase-default.xml.
> Specifically, we noticed it when attempting to set hbase.zookeeper.quorum. That value defaults to 'localhost' and results in queries of HBase tables hanging attempting to acquire a lock from a Zookeeper instance which isn't running.
> Any properties set in hive-site.xml will be overwridden by those in hbase-default.xml, which doesn't seem good.
> {code:java}
>     if (this.configureInputJobProps) {
>       try {
>         HBaseConfiguration.addHbaseResources(jobConf); // ERROR properties clobbered here
>         addHBaseDelegationToken(jobConf);
>       }//try
>       catch (IOException e) {
>         throw new IllegalStateException("Error while configuring input job properties", e);
>       } //input job properties
>     }
> {code:java}



--
This message was sent by Atlassian JIRA
(v6.1#6144)