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

[jira] [Commented] (PHOENIX-1105) TableNotFoundException does not get caught if SYSTEM.TABLE is not present for whitelisted upgrade

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

James Taylor commented on PHOENIX-1105:
---------------------------------------

Unless there's a real need, we should remove the upgrade code instead, as customers should move from 2.2.x -> 3.0 -> 3.1 rather than 2.2.x -> 3.1

> TableNotFoundException does not get caught if SYSTEM.TABLE is not present for whitelisted upgrade
> -------------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-1105
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1105
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 3.0.0, 4.0.0, 3.0-Release, 5.0.0, 3.1, 4.1
>            Reporter: Mujtaba Chohan
>            Assignee: Mujtaba Chohan
>            Priority: Trivial
>             Fix For: 5.0.0, 3.1, 4.1
>
>         Attachments: PHOENIX-1105.patch
>
>
> Phoenix client get the following exception (not warning) during whitelisted upgrade if SYSTEM.TABLE is not present in HBase.
> org.apache.phoenix.exception.PhoenixIOException: SYSTEM.TABLE
> 	at org.apache.phoenix.util.ServerUtil.parseServerException(ServerUtil.java:101)
> 	at org.apache.phoenix.query.ConnectionQueryServicesImpl.ensureTableCreated(ConnectionQueryServicesImpl.java:866)
> 	at org.apache.phoenix.query.ConnectionQueryServicesImpl.createTable(ConnectionQueryServicesImpl.java:1146)
> 	at org.apache.phoenix.query.DelegateConnectionQueryServices.createTable(DelegateConnectionQueryServices.java:114)
> 	at org.apache.phoenix.schema.MetaDataClient.createTableInternal(MetaDataClient.java:1265)
> 	at org.apache.phoenix.schema.MetaDataClient.createTable(MetaDataClient.java:434)
> 	at org.apache.phoenix.compile.CreateTableCompiler$2.execute(CreateTableCompiler.java:183)
> 	at org.apache.phoenix.jdbc.PhoenixStatement$3.call(PhoenixStatement.java:247)
> 	at org.apache.phoenix.jdbc.PhoenixStatement$3.call(PhoenixStatement.java:1)



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