[
https://issues.apache.org/jira/browse/HBASE-9682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Amit Sela updated HBASE-9682:
-
Attachment: HBASE-9682.patch
Patch fixing the issue for HBase 0.94.12
I removed the Configuration member and added a createConfiguration method that
creates a new Configuration (with the "hadoop.native.lib" boolean true) per
demand.
This way, there are no cached configuration with stale CL after bundle update
(in OSGi client environment)
> 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, 0.94.12
>Reporter: Amit Sela
> Attachments: HBASE-9682.patch
>
>
> 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)