[ 
https://issues.apache.org/jira/browse/PHOENIX-5414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16961414#comment-16961414
 ] 

Geoffrey Jacoby commented on PHOENIX-5414:
------------------------------------------

[~vkrava4] - does ALTER INDEX [index name] ON [table name] REBUILD ASYNC not 
suit your needs? (It does currently require running the PhoenixMRJobSubmitter 
as a cron job -- we hope to eventually retire this and enqueue it using 
Phoenix's new task framework that's introduced in 4.15 / 5.1.) 

> Design High-Level wrapper for IndexTool
> ---------------------------------------
>
>                 Key: PHOENIX-5414
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5414
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Vlad Krava
>            Priority: Critical
>
> Currently there is *no possibility to execute IndexTool from client 
> applications*, only form the node directly. Which is not always the case for 
> distributed systems.
> The idea for improvement to add High-Level wrapper to already existing 
> client-side dependencies_(like: phoenix-queryserver-client)_ in order to 
> trigger async index creation.
>  
> Example;
> {noformat}
> final IndexToolClient client = new 
> IndexToolClient(phoenixConnectionFactory.get(),"SCHEMA_NAME", "TABEL_NAME", 
> "INDEX_NAME");
> client.buildIndex(successCallbackClass, errorCallbackClass);
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to