hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Sela (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9682) Bulk loading fails after ClassLoader is updated on OSGi client
Date Sun, 29 Sep 2013 13:11:23 GMT

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

Amit Sela commented on HBASE-9682:
----------------------------------

This is the stack trace as I posted in the mailing list:
Caused by: java.lang.NullPointerException: null
	at org.apache.felix.framework.BundleRevisionImpl.getResourceLocal(BundleRevisionImpl.java:474)
	at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1432)
	at org.apache.felix.framework.BundleWiringImpl.getResourceByDelegation(BundleWiringImpl.java:1360)
	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.getResource(BundleWiringImpl.java:2256)
	at org.apache.hadoop.conf.Configuration.getResource(Configuration.java:1002)
	at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1156)
	at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1112)
	at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1056)
	at org.apache.hadoop.conf.Configuration.get(Configuration.java:401)
	at org.apache.hadoop.conf.Configuration.getInt(Configuration.java:471)
	at org.apache.hadoop.io.compress.GzipCodec.createInputStream(GzipCodec.java:131)
	at org.apache.hadoop.hbase.io.hfile.Compression$Algorithm.createDecompressionStream(Compression.java:223)
	at org.apache.hadoop.hbase.io.hfile.HFileBlock$AbstractFSReader.decompress(HFileBlock.java:1392)
	at org.apache.hadoop.hbase.io.hfile.HFileBlock$FSReaderV2.readBlockDataInternal(HFileBlock.java:1897)
	at org.apache.hadoop.hbase.io.hfile.HFileBlock$FSReaderV2.readBlockData(HFileBlock.java:1637)
	at org.apache.hadoop.hbase.io.hfile.HFileBlock$AbstractFSReader$1.nextBlock(HFileBlock.java:1286)
	at org.apache.hadoop.hbase.io.hfile.HFileBlock$AbstractFSReader$1.nextBlockWithBlockType(HFileBlock.java:1294)
	at org.apache.hadoop.hbase.io.hfile.HFileReaderV2.<init>(HFileReaderV2.java:126)
	at org.apache.hadoop.hbase.io.hfile.HFile.pickReaderVersion(HFile.java:552)
	at org.apache.hadoop.hbase.io.hfile.HFile.createReaderWithEncoding(HFile.java:589)
	at org.apache.hadoop.hbase.io.hfile.HFile.createReader(HFile.java:603)
	at org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles.groupOrSplit(LoadIncrementalHFiles.java:402)
	at org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles$2.call(LoadIncrementalHFiles.java:323)
	at org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles$2.call(LoadIncrementalHFiles.java:321)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

> 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)

Mime
View raw message