Re: Multi-Tenancy and shared records

2019-10-16 Thread Simon Mottram
Thanks for the response I'm pretty much tied to Phoenix 4.14.2-HBase-1.4 as we are using Amazon EMR. Looks like I can get the table using the same deprecated method that Phoenix does: tablename comes from the Mutation kvPair in the original fragment HTableInterface hTable =

Re: Phoenix index REBUILD stuck in BUILDING state

2019-10-16 Thread Aleksandr Saraseka
Hello Niraj. You can use ASYNC option and then rebuild index with IndexTool (map-reduce under the hood) https://issues.apache.org/jira/browse/PHOENIX-2890

Re: Phoenix index REBUILD stuck in BUILDING state

2019-10-16 Thread Niraj Gupta
On Wed, Oct 16, 2019 at 12:43 PM Niraj Gupta wrote: > Hi, > I'm trying to rebuild a secondary global index with the following command: > ALTER INDEX ON SCHEMA.TABLE_NAME REBUILD; > > This table has 100+ GB of data and it's stuck for the last 12 hours. > Is there any way using which I can track