You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Jeffrey Zhong (JIRA)" <ji...@apache.org> on 2014/07/31 23:21:38 UTC

[jira] [Created] (PHOENIX-1139) Failed to disable local index when index update fails

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)