hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-1310) off by one error in Bytes.vintToBytes
Date Sun, 05 Apr 2009 21:32:12 GMT

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

Andrew Purtell updated HBASE-1310:
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.20.0
           Status: Resolved  (was: Patch Available)

Committed to trunk. Passes all local tests. 

> off by one error in Bytes.vintToBytes
> -------------------------------------
>
>                 Key: HBASE-1310
>                 URL: https://issues.apache.org/jira/browse/HBASE-1310
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: Andrew Purtell
>             Fix For: 0.20.0
>
>         Attachments: HBASE-1310.patch
>
>
> 2009-04-05 05:46:35,010 FATAL org.apache.hadoop.hbase.regionserver.MemcacheFlusher: Replay
of hlog required. Forcing server shutdown
> org.apache.hadoop.hbase.DroppedSnapshotException: region: content,,1238909966683
> 	at org.apache.hadoop.hbase.regionserver.HRegion.internalFlushcache(HRegion.java:878)
> 	at org.apache.hadoop.hbase.regionserver.HRegion.flushcache(HRegion.java:771)
> 	at org.apache.hadoop.hbase.regionserver.MemcacheFlusher.flushRegion(MemcacheFlusher.java:229)
> 	at org.apache.hadoop.hbase.regionserver.MemcacheFlusher.run(MemcacheFlusher.java:139)
> Caused by: java.io.IOException: java.lang.ArrayIndexOutOfBoundsException: 2
> 	at org.apache.hadoop.hbase.regionserver.Store.internalFlushCache(Store.java:509)
> 	at org.apache.hadoop.hbase.regionserver.Store.flushCache(Store.java:463)
> 	at org.apache.hadoop.hbase.regionserver.HRegion.internalFlushcache(HRegion.java:863)
> 	... 3 more
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 2
> 	at org.apache.hadoop.hbase.util.Bytes.vintToBytes(Bytes.java:265)
> 	at org.apache.hadoop.hbase.util.Bytes.writeByteArray(Bytes.java:122)
> 	at org.apache.hadoop.hbase.HStoreKey.getBytes(HStoreKey.java:608)
> 	at org.apache.hadoop.hbase.HStoreKey.getBytes(HStoreKey.java:580)
> 	at org.apache.hadoop.hbase.HStoreKey.getBytes(HStoreKey.java:566)
> 	at org.apache.hadoop.hbase.regionserver.Store.internalFlushCache(Store.java:502)
> 	... 5 more

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