hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12108) HBaseConfiguration: set classloader before loading xml files
Date Tue, 03 Feb 2015 18:25:35 GMT

    [ https://issues.apache.org/jira/browse/HBASE-12108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14303703#comment-14303703
] 

Hudson commented on HBASE-12108:
--------------------------------

FAILURE: Integrated in HBase-TRUNK #6081 (See [https://builds.apache.org/job/HBase-TRUNK/6081/])
HBASE-12108 | Setting classloader so that HBase resources resolve even when HBaseConfiguration
is loaded from a different class loader (stack: rev c812d13a471d4f8ee346fb3fc61f3d7763484b94)
* hbase-common/src/main/java/org/apache/hadoop/hbase/HBaseConfiguration.java


> 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)

Mime
View raw message