[
https://issues.apache.org/jira/browse/PHOENIX-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14072854#comment-14072854
]
James Taylor commented on PHOENIX-1105:
---------------------------------------
[~mujtaba] - are you planning on giving me a patch with the upgrade code
removed?
> 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)