do those operation

1.     create table test_pri(a char(10) NOT NULL NOT DROPPABLE, b char(20), 
primary key(a)) hbase_options(encryption='AES');

2.     insert into test_pri(a) values ('hello'),('world');

3.     create index test_pri_index on test_pri(a) 
hbase_options(encryption='AES');;

the data about test_pri_index table refreah directly to hdfs and data not 
encryption;
but after create index, write data to table, when do flush operation, the data 
in test_pri_index is encryption;

when I create a normal table,  only write a record , then create a index, the 
data also flush to hdfs;

I don't know why do write record first then create index, the record about 
index table will auto flush to hdfs;
But create index first then write record, not flush index table data to hdfs.

Reply via email to