Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3DA7A10A3C for ; Mon, 28 Oct 2013 16:30:29 +0000 (UTC) Received: (qmail 35580 invoked by uid 500); 28 Oct 2013 16:28:13 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 35269 invoked by uid 500); 28 Oct 2013 16:27:56 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 34979 invoked by uid 500); 28 Oct 2013 16:27:07 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 34724 invoked by uid 99); 28 Oct 2013 16:26:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Oct 2013 16:26:38 +0000 Date: Mon, 28 Oct 2013 16:26:38 +0000 (UTC) From: "Ashutosh Chauhan (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-5659) HBaseStorageHandler overwrites Hive-set HBase properties with hbase-defaults MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-5659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13806894#comment-13806894 ] Ashutosh Chauhan commented on HIVE-5659: ---------------------------------------- [~ccondit] I think current behavior is correct. To achieve what you want (ie configure hbase for hive) you should put {{hbase-site.xml}} in hive's classpath so that hbase configs are picked up from there, instead of putting hbase configs in hive-site.xml > 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 > Attachments: HIVE-5659.patch > > > 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 overwritten by those in hbase-default.xml, which doesn't seem good. > The call to HBaseConfiguration.addHbaseResources(jobConf) seems to be the culprit, around line 337. -- This message was sent by Atlassian JIRA (v6.1#6144)