hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Daniel Cryans <jdcry...@apache.org>
Subject Re: region missing after restart ?
Date Tue, 25 May 2010 17:38:00 GMT
Probably missing updates in .META., if your region server that was
serving it failed or you had to kill -9 it then it lost the last edits
to it (unless you patched your HDFS to support fsSync, I guess not).

Currently to fix .META. it requires a manual intervention, which is
running bin/add_table.rb. Disable your table before running it. Look
in this mailing list's archive for stories of others users who had to
experience it.


On Tue, May 25, 2010 at 2:03 AM, steven zhuang
<steven.zhuang.1984@gmail.com> wrote:
> I have checked the HDFS, it seems that the data from "da_2010/01/09"
> to "r2_2010/01/10" is in HDFS, it is weird Hbase cannot online the
> corresponding region.
> I have enable the table in shell several times,  still it doesn't work.
> On Tue, May 25, 2010 at 4:55 PM, steven zhuang
> <steven.zhuang.1984@gmail.com> wrote:
>> hi, all,
>>             I have a table imported some data already, but I failed to
>> import more data into it(still checking). for some reason I restarted
>> the cluster, and in the Web interface I have found out that there are
>> some regions missing. Below is what it shows, while I am sure there
>> are  rows like "ee_2010/01/09" or "ff_2010/01/07" in the table.
>>            I use the ruby shell, and scan the table with a missing
>> row key, and the command just hang there.
>>            I am using HBase 0.20.3.
>>            If we close the cluster while the cluster is doing
>> compaction, would the data get lost? I might have closed the cluster
>> while some regionserver is doing a compaction operation.
>> The Table on Web UI:
>> Name
>> Region Server                      Encoded Name     Start Key
>> End Key
>> hbt2table33,   ,1274761089803
>> dx-9j50d07.off.tn:60030           1484851145    bi_2010/01/19_3
>> hbt2table33,bi_2010/01/19_3,1274775708656     dx-9j50d07.off:60030
>>          2038135176    bi_2010/01/19_3   bp_2010/01/05
>> hbt2table33,bp_2010/01/05,1274775708656        dx-9j50d08.off.tn:60030
>>          1165242562    bp_2010/01/05     da_2010/01/09
>> hbt2table33,r2_2010/01/10,1274760679583        dd-9c34d07.off.tn:60030
>>          1829006811    r2_2010/01/10

View raw message