[
https://issues.apache.org/jira/browse/PHOENIX-4949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16638857#comment-16638857
]
Vincent Poon commented on PHOENIX-4949:
---------------------------------------
[~tdsilva] [~gjacoby] Yea that's one thing I'm still not clear on - will the
reducer get initialized/closed even if it doesn't run?
> IndexTool - updateIndexState called too many times unnecessarily
> ----------------------------------------------------------------
>
> Key: PHOENIX-4949
> URL: https://issues.apache.org/jira/browse/PHOENIX-4949
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.14.1
> Reporter: Vincent Poon
> Assignee: Geoffrey Jacoby
> Priority: Minor
> Fix For: 4.15.0, 5.1.0
>
> Attachments: PHOENIX-4949.patch
>
>
> The IndexTool uses a reducer in the mapreduce job to set the index state to
> 'active' after the mappers are done. But the reduce() method is called once
> per mapper, and there are potentially many hundreds or thousands of mappers.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)