hbase-issues mailing list archives

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

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

Mime
View raw message