Phoenix delete data

1. Remove the system table data in Phoenix

Phoenix query system tables (SYSTEM.CATALOG)

select distinct(TABLE_NAME) FROM SYSTEM.CATALOG;

Delete the table in Phoenix

 delete from SYSTEM.CATALOG where TABLE_NAME = 'TOUTIAOCLICKDATA';

!tables

2. Remove HBase tables

 disable 'TOUTIAOCLICKDATA'
 drop 'TOUTIAOCLICKDATA'

Guess you like

Origin www.cnblogs.com/wuning/p/11572537.html