You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Stephen Yuan Jiang (JIRA)" <ji...@apache.org> on 2015/08/14 20:36:46 UTC
[jira] [Updated] (HBASE-12108) HBaseConfiguration: set classloader
before loading xml files
[ https://issues.apache.org/jira/browse/HBASE-12108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephen Yuan Jiang updated HBASE-12108:
---------------------------------------
Assignee: Aniket Bhatnagar
> 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
> Assignee: Aniket Bhatnagar
> Priority: Minor
> Labels: class_loader, configuration, patch
> Fix For: 1.0.0, 2.0.0, 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)