[
https://issues.apache.org/jira/browse/HBASE-1093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659485#action_12659485
]
stack commented on HBASE-1093:
------------------------------
I was going to add below as part of another patch more by way as trying to
learn more about this NPE:
{code}
for (int i = 0; i < countOfFiles; i++) {
HStoreFile file = filesToCompact.get(i);
Path path = file.getMapFilePath();
if (path == null) {
LOG.warn("Path is null for " + file);
return null;
}
...
{code}
Shouldn't be a null path hereabouts.
> NPE in HStore#compact
> ---------------------
>
> Key: HBASE-1093
> URL: https://issues.apache.org/jira/browse/HBASE-1093
> Project: Hadoop HBase
> Issue Type: Bug
> Environment: apurtell cluster
> Reporter: stack
> Fix For: 0.19.0
>
>
> I think I've seen this one before (if line numbers agree):
> {code}
> 2008-12-28 00:06:21,111 ERROR
> org.apache.hadoop.hbase.regionserver.CompactSplitThread: Compaction failed
> for region content,10a1c144cf729885001e71a5ff5108dc,1230416158498
> java.lang.NullPointerException
> at
> org.apache.hadoop.hbase.regionserver.HStore.compact(HStore.java:870)
> at
> org.apache.hadoop.hbase.regionserver.HRegion.compactStores(HRegion.java:709)
> at
> org.apache.hadoop.hbase.regionserver.HRegion.compactStores(HRegion.java:666)
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.