phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rajeshbabu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PHOENIX-1139) Failed to disable local index when index update fails
Date Thu, 28 Aug 2014 16:34:09 GMT

     [ https://issues.apache.org/jira/browse/PHOENIX-1139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

rajeshbabu updated PHOENIX-1139:
--------------------------------

    Attachment: PHOENIX-1139.patch

Here is the patch to disable local indexes on update failures.
[~jeffreyz], [~jamestaylor]  please review.
Thanks.

> 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.2
>            Reporter: Jeffrey Zhong
>         Attachments: PHOENIX-1139.patch
>
>
> 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)

Mime
View raw message