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 E8E9D79F5 for ; Sat, 22 Oct 2011 22:32:18 +0000 (UTC) Received: (qmail 39825 invoked by uid 500); 22 Oct 2011 22:32:17 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 39750 invoked by uid 500); 22 Oct 2011 22:32:16 -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 39742 invoked by uid 99); 22 Oct 2011 22:32:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Oct 2011 22:32:16 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dejan.menges@gmail.com designates 209.85.161.169 as permitted sender) Received: from [209.85.161.169] (HELO mail-gx0-f169.google.com) (209.85.161.169) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Oct 2011 22:32:08 +0000 Received: by ggnh4 with SMTP id h4so6267407ggn.14 for ; Sat, 22 Oct 2011 15:31:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=i/93eRGdaumDJWVtbSC49OrvusraA2MhY/j5quUh4tw=; b=fUTu4STlbCr0zGqXXlPuV04F8nmqLobb59imgCbWkqWz9sjs/ETuMC4noXePC9leIc wmlwqNqLZ0ayytSm+tebrHKKUk+fkXdszZLhpMsky2uX+W1ZANreFFNZj/a1BGRWbULp DVH6na8vA/1dzE/lUpbyeMDYWMy1GWifl7U+I= Received: by 10.236.192.133 with SMTP id i5mr3043391yhn.13.1319322707149; Sat, 22 Oct 2011 15:31:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.207.69 with HTTP; Sat, 22 Oct 2011 15:31:27 -0700 (PDT) From: Dejan Menges Date: Sun, 23 Oct 2011 00:31:27 +0200 Message-ID: Subject: HBase version mismatch To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=20cf3040e43c4dc32d04afeac126 X-Virus-Checked: Checked by ClamAV on apache.org --20cf3040e43c4dc32d04afeac126 Content-Type: text/plain; charset=ISO-8859-1 Hi, I have pretty interesting problem. We've had application which was running on Tomcat while we were using HBase 0.20.3 and before we decided to migrate to HBase 0.90.4 As we migrated successfully, I started getting strange error trying to run this application: Error during initalization of HTablePool - NativeException: java.lang.RuntimeException: hbase-default.xml file seems to be for and old version of HBase (null), this version is 0.90.4: org/apache/hadoop/hbase/HBaseConfiguration.java:66:in `checkDefaultsVersion' org/apache/hadoop/hbase/HBaseConfiguration.java:89:in `addHbaseResources' This machine don't have any version of HBase or Hadoop (locally) and it's configuration only points to remote Zookeeper, which successfully does it's job, as other application uses new version without any problem. I'm trying to figure out how/where client is finding hbase-default.xml and how it's checking it's version, as we don't have that file at all, as a recommendation to upgrade to new HBase. Does it means that we actually need this file in $HBASE_HOME/conf for client to be able to figure out which version we are using? I'm also checking HBase code for this implementation, and (maybe it's because it's late) I'm not able to figure out what's happening. Regards, Dejan --20cf3040e43c4dc32d04afeac126--