[ https://issues.apache.org/jira/browse/PHOENIX-2966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15351644#comment-15351644 ]
James Taylor commented on PHOENIX-2966: --------------------------------------- Looking good, [~singamteja]. A couple of issues with the query that looks for asynchronous index builds: - Match for COLUMN_FAMILY IS NULL in the where clause - Match for ASYNC_CREATED_DATE IS NOT NULL in the where clause. This is the attribute we set for indexes being build asynchronously. Otherwise, you'll find non asynchronous indexes too and attempt to build them. Also some other feedback: - Revert PhoenixEmbeddedDriver.java as it looks like there are no non whitespace changes. - How about a unit test for this? Since MapReduce isn't running by default, it should be as simple as issuing a CREATE INDEX ASYNC command and having a loop that confirms the index is eventually built. Would you give this a quick look too, [~samarthjain]? This is really more of a test-only feature - if ftests have a CREATE INDEX ASYNC, they will never be built if HBase is running in local mode. Not a blocker, but if we can opportunistically get this into 4.8, it'd be good. > Implement mechanism to build async indexes when running locally > --------------------------------------------------------------- > > Key: PHOENIX-2966 > URL: https://issues.apache.org/jira/browse/PHOENIX-2966 > Project: Phoenix > Issue Type: Sub-task > Reporter: James Taylor > Assignee: Loknath Priyatham Teja Singamsetty > Fix For: 4.8.0 > > Attachments: phoenix-2966.patch > > > For local, non distributed environments, we need to build indexes that were > build asynchronously. -- This message was sent by Atlassian JIRA (v6.3.4#6332)