Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4DFFC17A5C for ; Tue, 3 Feb 2015 16:28:48 +0000 (UTC) Received: (qmail 22391 invoked by uid 500); 3 Feb 2015 16:28:36 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 22346 invoked by uid 500); 3 Feb 2015 16:28:36 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 22331 invoked by uid 99); 3 Feb 2015 16:28:36 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Feb 2015 16:28:36 +0000 Date: Tue, 3 Feb 2015 16:28:36 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-12108) HBaseConfiguration: set classloader before loading xml files 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/HBASE-12108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack updated HBASE-12108: -------------------------- Resolution: Fixed Fix Version/s: 0.98.11 1.1.0 1.0.1 2.0.0 Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) Pushed to 0.98+ Thanks for the patch [~aniket] > HBaseConfiguration: set classloader before loading xml files > ------------------------------------------------------------ > > Key: HBASE-12108 > URL: https://issues.apache.org/jira/browse/HBASE-12108 > Project: HBase > Issue Type: Bug > Components: Client > Affects Versions: 0.98.6 > Reporter: Aniket Bhatnagar > Priority: Minor > Labels: class_loader, configuration, patch > Fix For: 2.0.0, 1.0.1, 1.1.0, 0.98.11 > > Attachments: HBaseConfiguration_HBASE_HBASE-12108.patch > > > IN the setup wherein HBase jars are loaded in child classloader whose parent had loaded hadoop-common jar, HBaseConfiguration.create() throws "hbase-default.xml file seems to be for and old version of HBase (null)... " exception. ClassLoader should be set in Hadoop conf object before calling addHbaseResources method -- This message was sent by Atlassian JIRA (v6.3.4#6332)