hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12108) HBaseConfiguration
Date Fri, 26 Sep 2014 23:33:35 GMT

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

stack commented on HBASE-12108:
-------------------------------

Why is that [~aniket]? Because we look for hbase-default.xml in the parent class loader from
where we loaded Configuration and are not finding hbase-default.xml?  Thanks for looking into
this one.

> HBaseConfiguration
> ------------------
>
>                 Key: HBASE-12108
>                 URL: https://issues.apache.org/jira/browse/HBASE-12108
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>            Reporter: Aniket Bhatnagar
>            Priority: Minor
>
> 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