[ 
https://issues.apache.org/jira/browse/PHOENIX-3162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15490523#comment-15490523
 ] 

Rajeshbabu Chintaguntla commented on PHOENIX-3162:
--------------------------------------------------

bq. why do we need to catch a ClassNotFoundException here? 
This method throws CNFE just handling that.
{noformat}
 QueryUtil.getConnection(c.getEnvironment().getConfiguration());
{noformat}

> TableNotFoundException might be thrown when an index dropped while upserting.
> -----------------------------------------------------------------------------
>
>                 Key: PHOENIX-3162
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3162
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Rajeshbabu Chintaguntla
>            Assignee: Rajeshbabu Chintaguntla
>             Fix For: 4.8.1
>
>         Attachments: PHOENIX-3162.patch, PHOENIX-3162_v2.patch
>
>
> If a table has mix of global and local indexes and one of them is dropped 
> while upserting data then there is a chance that the query might fail with 
> TableNotFoundException. Usually when an index dropped we skip writing to the 
> dropped index on failure.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to