Return-Path: X-Original-To: apmail-hive-user-archive@www.apache.org Delivered-To: apmail-hive-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3B175EE78 for ; Mon, 18 Feb 2013 02:25:33 +0000 (UTC) Received: (qmail 84707 invoked by uid 500); 18 Feb 2013 02:25:31 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 84671 invoked by uid 500); 18 Feb 2013 02:25:31 -0000 Mailing-List: contact user-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hive.apache.org Delivered-To: mailing list user@hive.apache.org Received: (qmail 84663 invoked by uid 99); 18 Feb 2013 02:25:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2013 02:25:31 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of kai.zheng@intel.com does not designate 192.55.52.93 as permitted sender) Received: from [192.55.52.93] (HELO mga11.intel.com) (192.55.52.93) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2013 02:25:26 +0000 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 17 Feb 2013 18:25:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.84,683,1355126400"; d="scan'208";a="292388989" Received: from fmsmsx106.amr.corp.intel.com ([10.19.9.37]) by fmsmga002.fm.intel.com with ESMTP; 17 Feb 2013 18:25:04 -0800 Received: from FMSMSX109.amr.corp.intel.com (10.19.9.28) by FMSMSX106.amr.corp.intel.com (10.19.9.37) with Microsoft SMTP Server (TLS) id 14.1.355.2; Sun, 17 Feb 2013 18:25:04 -0800 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx109.amr.corp.intel.com (10.19.9.28) with Microsoft SMTP Server (TLS) id 14.1.355.2; Sun, 17 Feb 2013 18:25:04 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.51]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.236]) with mapi id 14.01.0355.002; Mon, 18 Feb 2013 10:24:53 +0800 From: "Zheng, Kai" To: "user@hive.apache.org" , Harsh J CC: "user@hbase.apache.org" , "Andrew Purtell (apurtell@apache.org)" Subject: RE: Hive over HBase Integration Issue Thread-Topic: Hive over HBase Integration Issue Thread-Index: Ac4M7rj3nabdKjYNQTatlQBQb5aZwP//zXyA//6uAYA= Date: Mon, 18 Feb 2013 02:24:52 +0000 Message-ID: <8D5F7E3237B3ED47B84CF187BB17B6660FE0FEE9@SHSMSX102.ccr.corp.intel.com> References: <8D5F7E3237B3ED47B84CF187BB17B6660FE0FC81@SHSMSX102.ccr.corp.intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi Harsh J, Thanks for your replying.=20 It looks good to me to place the client-sided hbase-site.xml in the same di= rectory as hive-site.xml.=20 I already tried this approach before but didn't work. I will investigate th= is way wondering if there're some gaps here or possibly=20 It was just caused due to my environment (like Hive or Hbase version). Regards, Kai -----Original Message----- From: Harsh J [mailto:harsh@cloudera.com]=20 Sent: Sunday, February 17, 2013 10:10 PM To: hive request Cc: user@hbase.apache.org; Andrew Purtell (apurtell@a= pache.org) Subject: Re: Hive over HBase Integration Issue You could replicate the configs or place the client-sided hbase-site.xml in= the same directory as hive-site.xml for it to get picked up via the classp= ath by HBase centric classes. On Sun, Feb 17, 2013 at 2:41 PM, Zheng, Kai wrote: > Hi all, > > > > In Hive over HBase case, how to configure and get Hive as HBase=20 > client to reference hbase-site.xml (for example the one in /etc/hbase/con= f)? > > > > In this case it's necessary to do that since there're some specific=20 > and important client configurations for all HBase clients including=20 > Hive, and such > > configuration shouldn't be replicated/copied into hive-site.xml right. > > > > Thanks for your info. > > > > Regards, > > Kai > > -- Harsh J