Description
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)
Attachments
Attachments
Issue Links
- links to