hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: add a task in master to check if tableInfo is missinig
Date Fri, 16 Oct 2015 18:02:16 GMT
I assume you're aware of the trash feature of hdfs

See:
https://issues.apache.org/jira/browse/HDFS-2740

FYI 

> On Oct 16, 2015, at 10:31 AM, "wangyongqiang0617@163.com" <wangyongqiang0617@163.com>
wrote:
> 
> not a sucure hbase
> we delete the tableInfo by mistabke is a case
> the other is: if we can not drop a table with drop in hbase shell, so we can drop table
by ourselves, delete hdfs, delete meta, and so on,
> so, after we delete hdfs, we need to restart master to refresh the cache.
> 
> so, i think we can add a task to synchronize master' cache and hdfs
> 
> 
> 
> wangyongqiang0617@163.com
> 
> From: Ted Yu
> Date: 2015-10-17 01:17
> To: dev@hbase.apache.org
> Subject: Re: add a task in master to check if tableInfo is missinig
> Are you running hbase on secure cluster ?
> 
> As J-M said, hbck can come to the rescue if you encounter such a case.
> 
> Cheers
> 
> On Fri, Oct 16, 2015 at 10:11 AM, wangyongqiang0617@163.com <
> wangyongqiang0617@163.com> wrote:
> 
>> 
>> if we delete the tableInfo file by mistake, then if hbase is restated, the
>> regions of this table can not be opend successfully,
>> so, can we add a task in master to check its cache and hdfs to check if a
>> tableInfo is missing, if missing, we can write a new one using master's
>> cache
>> 
>> 
>> wangyongqiang0617@163.com
>> 

Mime
View raw message