[
https://issues.apache.org/jira/browse/PHOENIX-5723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17039564#comment-17039564
]
Swaroopa Kadam commented on PHOENIX-5723:
-----------------------------------------
Thanks for the patch, [~tkhurana] Merged to 4.x and master branch.
> PhoenixIndexImportDirectReducer cleanup method updates index state to active
> ----------------------------------------------------------------------------
>
> Key: PHOENIX-5723
> URL: https://issues.apache.org/jira/browse/PHOENIX-5723
> Project: Phoenix
> Issue Type: Bug
> Reporter: Tanuj Khurana
> Assignee: Tanuj Khurana
> Priority: Minor
> Attachments: PHOENIX-5723.4.x-HBase-1.3.v1.patch,
> PHOENIX-5723.master.v1.patch
>
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> The cleanup() method on PhoenixIndexImportDirectReducer updates the index
> state to active. The cleanup() method is called even if the reduce() method
> throws an exception. We need to move the index update to reduce() method.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)