hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-1686) major compaction can create empty store files, causing AIOOB when trying to read
Date Mon, 27 Jul 2009 17:22:14 GMT

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

stack updated HBASE-1686:
-------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Committed.  It worked to fix issue in two separate locations.  Committing also because it
logs when scenario arises so we have some chance confirming indeedi ts because of major compaction
that results in no output.

> major compaction can create empty store files, causing AIOOB when trying to read
> --------------------------------------------------------------------------------
>
>                 Key: HBASE-1686
>                 URL: https://issues.apache.org/jira/browse/HBASE-1686
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.20.0
>            Reporter: ryan rawson
>            Assignee: stack
>            Priority: Blocker
>             Fix For: 0.20.0
>
>         Attachments: 1686.patch
>
>
> here is the backtrace:
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
>         at org.apache.hadoop.hbase.io.hfile.HFile$Reader.getFirstKey(HFile.java:991)
>         at org.apache.hadoop.hbase.regionserver.StoreFileGetScan.getStoreFile(StoreFileGetScan.java:84)
>         at org.apache.hadoop.hbase.regionserver.StoreFileGetScan.get(StoreFileGetScan.java:65)
>         at org.apache.hadoop.hbase.regionserver.Store.get(Store.java:1548)
>         at org.apache.hadoop.hbase.regionserver.HRegion.get(HRegion.java:2263)
>         at org.apache.hadoop.hbase.regionserver.HRegion.get(HRegion.java:2252)
>         at org.apache.hadoop.hbase.regionserver.HRegionServer.get(HRegionServer.java:1739)
> This can happen if your table only has deletes, and everything evaporates during a major
compaction.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message