You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Geoffrey Jacoby (JIRA)" <ji...@apache.org> on 2018/09/06 20:48:00 UTC

[jira] [Commented] (PHOENIX-4519) Index rebuild MR jobs not created for "alter index rebuild async" rebuilds

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

Geoffrey Jacoby commented on PHOENIX-4519:
------------------------------------------

[~vincentpoon] - I can take care of this JIRA. Looks pretty straightforward – changing the query to also check ASYNC_REBUILD_TIMESTAMP. 

I'll also fill in a testing gap in the candidate job lookup logic to verify that the change works.

(There appear to be unit tests that verify that once you have the candidate jobs, the submitter does the right thing, but not tests verifying the lookup itself.) 

> Index rebuild MR jobs not created for "alter index rebuild async" rebuilds
> --------------------------------------------------------------------------
>
>                 Key: PHOENIX-4519
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4519
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Vincent Poon
>            Assignee: Geoffrey Jacoby
>            Priority: Major
>
> It seems we have two ASYNC flags for index rebuilds:
> ASYNC_CREATED_DATE - when an index is created async
> ASYNC_REBUILD_TIMESTAMP - created by "alter index ... rebuild async"
> The PhoenixMRJobSubmitter only submits MR jobs for the former.  We should also submit jobs for the latter.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)