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-648) If mapfile index is empty, run repair
Date Wed, 28 May 2008 21:02:45 GMT

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

stack updated HBASE-648:
------------------------

    Attachment: fix.patch

{code}
M  src/java/org/apache/hadoop/hbase/HStoreFile.java
    Genericized the static defines of classes used in HbaseMapFile.
    Fixed javadoc.
M  src/java/org/apache/hadoop/hbase/HStore.java
    Don't catch the EOFException opening readers.  Instead, run code
    earlier that checks for empty index and run repairs there.
    (isEmptyIndexFile, isEmptyFile): Added.
{code}

> If mapfile index is empty, run repair
> -------------------------------------
>
>                 Key: HBASE-648
>                 URL: https://issues.apache.org/jira/browse/HBASE-648
>             Project: Hadoop HBase
>          Issue Type: Improvement
>            Reporter: stack
>         Attachments: fix.patch
>
>
> Our cluster lost data.  Made for some interesting scenarios in hbase.  One such was empty
index files (Would get an EOFException when we tried to scan or open region).  HBASE-646 added
checking of data, info, and index files.  Tried to run repair of indexes but was doing it
wrong place and wasn't first removing the broken index so it'd fail.

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