[
https://issues.apache.org/jira/browse/HBASE-9682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13781300#comment-13781300
]
Amit Sela commented on HBASE-9682:
----------------------------------
Maybe consider adding a createConfiguration() method to Algorithm, instead of
the configuration member. This way, the configuration is not cached with
obsolete CL.
> Bulk loading fails after ClassLoader is updated on OSGi client
> --------------------------------------------------------------
>
> Key: HBASE-9682
> URL: https://issues.apache.org/jira/browse/HBASE-9682
> Project: HBase
> Issue Type: Bug
> Components: Client, HFile, io
> Affects Versions: 0.94.2
> Reporter: Amit Sela
>
> In an OSGi environment (felix) client, running with a bundled HBase (used bnd
> tool), after CL is updated - for instance when updating the client bundle
> without updating the HBase bundle, Algorithm class in HBase is a static enum
> and therefore it's configuration member still holds on to the old CL. This
> causes NPE when trying to bulk load using LoadIncrementalHFile.
--
This message was sent by Atlassian JIRA
(v6.1#6144)