Re: local index turn disable when region split

2017-11-03 Thread Ted Yu
Can you give us more information ?

Release of hbase and Phoenix you use

bq. The local index turn disable

Can you pastebin the related exception(s) ?

Snippet from region server log would also help.

On Thu, Nov 2, 2017 at 11:31 PM, vergil  wrote:

> Hi,all:
>
>
> Here is my test table.
> *create table test_table_local(id varchar primary key,f1 varchar,f2
> varchar) salt_buckets=3;*
> Add local index on it at the first time.
> *create local index test_index_local on test_table_local(f1);*
>
> Then upsert data into it.
> As the data increase,the region will split.
> The local index turn disable when the region splits.
> Local index data do not increase and it do not work.
>
> Here is my configuration on each master and regionserver.
>  hbase.regionserver.wal.codec
> org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec
>   
> hbase.region.server.rpc.scheduler.factory.class
> org.apache.hadoop.hbase.ipc.PhoenixRpcSchedulerFactory
>   hbase.rpc.controllerfactory.class
> org.apache.hadoop.hbase.ipc.controller.ServerRpcControllerFactory
> 
>
> I need your help,thx!
> --
> The harder, more fortunate
>
>


local index turn disable when region split

2017-11-03 Thread vergil
Hi,all:




Here is my test table.
create table test_table_local(id varchar primary key,f1 varchar,f2 varchar) 
salt_buckets=3;
Add local index on it at the first time.
create local index test_index_local on test_table_local(f1);


Then upsert data into it.
As the data increase,the region will split.
The local index turn disable when the region splits.
Local index data do not increase and it do not work.


Here is my configuration on each master and regionserver.
   hbase.regionserver.wal.codec 
org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec   
  
hbase.region.server.rpc.scheduler.factory.class   
org.apache.hadoop.hbase.ipc.PhoenixRpcSchedulerFactory 
 hbase.rpc.controllerfactory.class   
org.apache.hadoop.hbase.ipc.controller.ServerRpcControllerFactory
 




I need your help,thx!
--
The harder, more fortunate