hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: Disable HBase System tables
Date Fri, 03 Apr 2015 00:02:35 GMT
+1



> On Apr 2, 2015, at 4:57 PM, Enis Söztutar <enis@apache.org> wrote:
> 
> makes sense.
> 
> On Thu, Apr 2, 2015 at 3:52 PM, Stephen Jiang <syuanjiangdev@gmail.com>
> wrote:
> 
>> In disable table, we specifically check whether it is a META table; if a
>> table is a META table, we disallow the table disable.  However, I think
>> other system tables should have the same treatment (is it possible that a
>> namespace table is disable and the system is still functional without
>> issue?).
>> 
>>    if(tableName.equals(TableName.META_TABLE_NAME)) {
>> 
>>      throw new ConstraintException("Cannot disable catalog table");
>> 
>>    }
>> I want to extend the disable-not-allowed treatment to all system tables,
>> please let me know if you disagree.
>> 
>> Thanks
>> Stephen
>> 
>> 

Mime
View raw message