You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Rajeshbabu Chintaguntla (JIRA)" <ji...@apache.org> on 2015/02/10 15:17:11 UTC

[jira] [Updated] (PHOENIX-1649) Confusing TableNotFoundException error message while querying first time on a table

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

Rajeshbabu Chintaguntla updated PHOENIX-1649:
---------------------------------------------
    Attachment: PHOENIX-1649.patch

We are printing the error message when table not present in meta cache which is not required. On the exception we get it from scanning catalog table.

Here is the simple patch removing the error message.

> Confusing TableNotFoundException error message while querying first time on a table
> -----------------------------------------------------------------------------------
>
>                 Key: PHOENIX-1649
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1649
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Rajeshbabu Chintaguntla
>            Assignee: Rajeshbabu Chintaguntla
>             Fix For: 5.0.0, 4.3
>
>         Attachments: PHOENIX-1649.patch
>
>
> {noformat}
> 0: jdbc:phoenix:localhost> upsert into t values(1,2,3);
> org.apache.phoenix.schema.TableNotFoundException: ERROR 1012 (42M03): Table undefined. tableName=T
> 1 row affected (0.021 seconds)
> 0: jdbc:phoenix:localhost> 
> {noformat}



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