You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Lars Hofhansl (Resolved) (JIRA)" <ji...@apache.org> on 2011/10/26 23:31:33 UTC

[jira] [Resolved] (HBASE-4673) NPE in HFileReaderV2.close during major compaction when hfile.block.cache.size is set to 0

     [ https://issues.apache.org/jira/browse/HBASE-4673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Hofhansl resolved HBASE-4673.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.94.0
     Hadoop Flags: Reviewed
    
> NPE in HFileReaderV2.close during major compaction when hfile.block.cache.size is set to 0 
> -------------------------------------------------------------------------------------------
>
>                 Key: HBASE-4673
>                 URL: https://issues.apache.org/jira/browse/HBASE-4673
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.94.0
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: 4673.txt
>
>
> On a test system got this exception when hfile.block.cache.size is set to 0:
> java.lang.NullPointerException
> at org.apache.hadoop.hbase.io.hfile.HFileReaderV2.close(HFileReaderV2.java:321)
> at org.apache.hadoop.hbase.regionserver.StoreFile$Reader.close(StoreFile.java:1065)
> at org.apache.hadoop.hbase.regionserver.StoreFile.closeReader(StoreFile.java:539)
> at org.apache.hadoop.hbase.regionserver.StoreFile.deleteReader(StoreFile.java:549)
> at org.apache.hadoop.hbase.regionserver.Store.completeCompaction(Store.java:1314)
> at org.apache.hadoop.hbase.regionserver.Store.compact(Store.java:686)
> at org.apache.hadoop.hbase.regionserver.HRegion.compact(HRegion.java:1016)
> at org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest.run(CompactionRequest.java:178)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619) 
> Minor issue as nobody in their right mind with have hfile.block.cache.size=0
> Looks like this is due to HBASE-4422

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira