You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Gokcen Iskender (Jira)" <ji...@apache.org> on 2019/10/09 23:03:00 UTC

[jira] [Created] (PHOENIX-5512) IndexTool returns error after rebuilding a DISABLED index

Gokcen Iskender created PHOENIX-5512:
----------------------------------------

             Summary: 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


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)