You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (JIRA)" <ji...@apache.org> on 2017/10/25 12:12:01 UTC
[jira] [Resolved] (CAMEL-11944) Ensure HBaseConfiguration
ClassLoader is set correctly
[ https://issues.apache.org/jira/browse/CAMEL-11944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Cosentino resolved CAMEL-11944.
--------------------------------------
Resolution: Fixed
> Ensure HBaseConfiguration ClassLoader is set correctly
> ------------------------------------------------------
>
> Key: CAMEL-11944
> URL: https://issues.apache.org/jira/browse/CAMEL-11944
> Project: Camel
> Issue Type: Improvement
> Components: camel-hbase
> Affects Versions: 2.20.0
> Reporter: James Netherton
> Assignee: James Netherton
> Priority: Minor
>
> Follow up on CAMEL-11692, my fix in HBaseComponent isn't quite right because a call to HBaseConfiguration.create() automatically sets the ClassLoader on the HBaseConfiguration object. Hence the conditional logic that follows is always false.
> I think it'd be better to move [this logic|https://github.com/apache/camel/blob/master/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/HBaseComponent.java#L53-L59] into the preceding if block where the HBaseConfiguration is created. If folks provide their own configuration, then it's up to them to make sure they have set the ClassLoader correctly.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)