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-1569) rare race condition can take down a regionserver.
Date Wed, 24 Jun 2009 05:02:07 GMT

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

stack updated HBASE-1569:

    Attachment: 1569-v2.patch

Patch does following:

+ Wraps metrics in a try/catch that catches any exception, logs it and then moves on rather
than let it out and kill HRS
+ Changed getReader so it doesn't do IllegalArgumentException with "must open first" but instead
lets out the null Reader.
+ Then, changed whereever we get a Reader to check for null.  If null log it so we can see
extent of phenomeon but in general just keep going.

> rare race condition can take down a regionserver. 
> --------------------------------------------------
>                 Key: HBASE-1569
>                 URL: https://issues.apache.org/jira/browse/HBASE-1569
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.20.0
>            Reporter: ryan rawson
>            Priority: Critical
>             Fix For: 0.20.0
>         Attachments: 1569-v2.patch, sf.patch
> this happened after > 24 hours of heavy import load on my cluster.  Luckily the shutdown
seemed to be clean:
> java.lang.IllegalAccessError: Call open first
>         at org.apache.hadoop.hbase.regionserver.StoreFile.getReader(StoreFile.java:356)
>         at org.apache.hadoop.hbase.regionserver.Store.getStorefilesIndexSize(Store.java:1378)
>         at org.apache.hadoop.hbase.regionserver.HRegionServer.doMetrics(HRegionServer.java:1075)
>         at org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:454)
>         at java.lang.Thread.run(Thread.java:619)

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

View raw message