hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Rawson <ryano...@gmail.com>
Subject Re: [jira] Updated: (HBASE-1310) off by one error in Bytes.vintToBytes
Date Sun, 05 Apr 2009 09:44:50 GMT
hey andrew,

can you add a test to cover this bug... it would be good to prevent
regression, and it would help illustrate the problem to other engineers.

thanks!
-ryan

On Sat, Apr 4, 2009 at 11:27 PM, Andrew Purtell (JIRA) <jira@apache.org>wrote:

>
>     [
> https://issues.apache.org/jira/browse/HBASE-1310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>
> Andrew Purtell updated HBASE-1310:
> ----------------------------------
>
>     Status: Patch Available  (was: Open)
>
> > 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
> >         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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message