Jeffrey Zhong created PHOENIX-1139:
--------------------------------------

             Summary: Failed to disable local index when index update fails
                 Key: PHOENIX-1139
                 URL: https://issues.apache.org/jira/browse/PHOENIX-1139
             Project: Phoenix
          Issue Type: Bug
    Affects Versions: 5.0.0, 4.1
            Reporter: Jeffrey Zhong


When PhoenixIndexFailurePolicy is triggered when index update failed, we got 
following error:
{noformat}
2014-07-29 18:24:53,552 WARN  [defaultRpcServer.handler=0,queue=0,port=61926] 
org.apache.phoenix.index.PhoenixIndexFailurePolicy(136): Attempt to disable 
index _LOCAL_IDX_T failed with code = TABLE_NOT_FOUND. Will use default failure 
policy instead.
{noformat}

The reason is that in PhoenixIndexFailurePolicy code, we construct index table 
name from underlying hbase index table name. While local index table can't be 
derived because underlying local index table name is always like 
"_LOCAL_IDX_<DATA TABLE NAME>".



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to