hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Yulin...@DELL.com>
Subject RE: hbase server incorrect shutdown case table corruption?
Date Fri, 15 Mar 2013 23:28:16 GMT
I'm using 0.94.1.

We noticed that after HBase server shutdown, the .META. table lost a few rows of the tables.
I had to use hbck to repair the .META. to get those rows back.  I was wondering if there could
be any configuration that we didn't do properly to cause this issue...



-----Original Message-----
From: Ted Yu [mailto:yuzhihong@gmail.com] 
Sent: Friday, March 15, 2013 3:51 PM
To: user@hbase.apache.org
Subject: Re: hbase server incorrect shutdown case table corruption?

Which HBase version are you using ?

Did the HBase server experiencing shutdown carry the .META. table ?


On Fri, Mar 15, 2013 at 3:45 PM, <Yuling_C@dell.com> wrote:

> Hi,
> We recently encountered a few issues about hbase server incorrect 
> shutdown causing table corruption issues. Basically, if the HBase 
> server was not gracefully shutdown using stop-hbase.sh, instead it was 
> shutdown by linux server reboot, we got '.META' table missing table 
> rows. We were able to use 'hsbk -fixMeta -fixAssignment' to recover 
> from this issue. However, I was wondering if this is the expected 
> behavior of HBase that when hbase server is not gracefully shutdown, 
> the database get into inconsistency state?  Is there any way from hbase configuration
point of view to avoid this behavior?
> Thanks,
> YuLing

View raw message