[
https://issues.apache.org/jira/browse/PHOENIX-5512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Swaroopa Kadam updated PHOENIX-5512:
------------------------------------
Fix Version/s: 4.16.0
4.15.1
5.1.0
> IndexTool returns error after rebuilding a DISABLED index
> ---------------------------------------------------------
>
> Key: PHOENIX-5512
> URL: https://issues.apache.org/jira/browse/PHOENIX-5512
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.14.3
> Reporter: Gokcen Iskender
> Assignee: Gokcen Iskender
> Priority: Major
> Fix For: 5.1.0, 4.15.1, 4.16.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> IndexTool fails to set the indexstate to active in the reducer but the index
> becomes Active later anyways and is usable and built.
>
> Error: java.lang.RuntimeException: ERROR 1028 (42Y87): Invalid index state
> transition. currentState=DISABLE. requestedState=ACTIVE
> tableName=IDX_TEST_1_2
> at
> org.apache.phoenix.mapreduce.index.PhoenixIndexImportDirectReducer.reduce(PhoenixIndexImportDirectReducer.java:57)
> at
> org.apache.phoenix.mapreduce.index.PhoenixIndexImportDirectReducer.reduce(PhoenixIndexImportDirectReducer.java:35)
> at org.apache.hadoop.mapreduce.Reducer.run(Reducer.java:171)
> at org.apache.hadoop.mapred.ReduceTask.runNewReducer(ReduceTask.java:627)
> at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:389)
> at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:170)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:422)
> at
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1760)
> at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:164)
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)