Huawei-Hadoop / hindex

Secondary Index for HBase
Apache License 2.0
591 stars 286 forks source link

auto index the table after modify the table #33

Closed hy2014 closed 11 years ago

hy2014 commented 11 years ago

If we create table first and there are some data in the table, now we want to use hindex, I use HtableAdmin.modifyAdmin method, it can create the index table, but it cannot index the data already exist in the table, is there some method to resolve this issues.?

chrajeshbabu commented 11 years ago

You can use org.apache.hadoop.hbase.index.mapreduce.TableIndexer mapreduce job to create index table and index the data already exists. You can see the usage of it for more detail. Thanks.