Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-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 6122690D2 for ; Sun, 22 Jan 2012 00:50:30 +0000 (UTC) Received: (qmail 18210 invoked by uid 500); 22 Jan 2012 00:50:28 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 18164 invoked by uid 500); 22 Jan 2012 00:50:27 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 18155 invoked by uid 99); 22 Jan 2012 00:50:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Jan 2012 00:50:27 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of khiemu@googlemail.com designates 74.125.83.41 as permitted sender) Received: from [74.125.83.41] (HELO mail-ee0-f41.google.com) (74.125.83.41) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Jan 2012 00:50:22 +0000 Received: by eekc13 with SMTP id c13so768534eek.14 for ; Sat, 21 Jan 2012 16:50:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=cDbAKaWZyMA6jUjUvPU7vXssDpmYpTzj14+eZX3sBOs=; b=o0nWNXJ2iu72yTn4q0xP0Ac1LCjmOku1Q94igDNhe8H7oq0hCsZhJnbFfVdjzdPuo0 HS4KeuFLP/QJDBx2KAH36gBrqrzyZ/lYdvs3TBiOGqUR7KSQ0qMoq/fUm3IAhsJjdBBQ L7GKoMZbzjjcCeCW207dpuEe9rBslVE2r2xN4= MIME-Version: 1.0 Received: by 10.14.99.15 with SMTP id w15mr1066491eef.107.1327193400012; Sat, 21 Jan 2012 16:50:00 -0800 (PST) Received: by 10.14.96.76 with HTTP; Sat, 21 Jan 2012 16:49:59 -0800 (PST) Date: Sun, 22 Jan 2012 01:49:59 +0100 Message-ID: Subject: where does hbase expect hbase-default.xml in webapp inside a servlet container ? From: kim young ill To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=bcaec52be46527f0e004b7134b5f --bcaec52be46527f0e004b7134b5f Content-Type: text/plain; charset=ISO-8859-1 hi, i try to use hbase 0.90.5 as db-backend to store data from a servlet. i created the table manually via hbase shell, but call Configuration config = HBaseConfiguration.create(); from servlet fails : java.lang.RuntimeException: hbase-default.xml file seems to be for and old version of HBase (null), this version is 0.90.5 at org.apache.hadoop.hbase.HBaseConfiguration.checkDefaultsVersion(HBaseConfiguration.java:66) at org.apache.hadoop.hbase.HBaseConfiguration.addHbaseResources(HBaseConfiguration.java:89) at org.apache.hadoop.hbase.HBaseConfiguration.create(HBaseConfiguration.java:100) hbase-default.xml is included inside hbase.jar, the .war package include all needed jars (zookeeper, hadoop....). i tried also to put this inside lib/ of the webapp but without success ? did i miss something ? thanx --bcaec52be46527f0e004b7134b5f--