You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "James Netherton (JIRA)" <ji...@apache.org> on 2017/10/25 08:02:00 UTC
[jira] [Created] (CAMEL-11944) Ensure HBaseConfiguration
ClassLoader is set correctly
James Netherton created CAMEL-11944:
---------------------------------------
Summary: 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)