[
https://issues.apache.org/jira/browse/PHOENIX-755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gabriel Reid resolved PHOENIX-755.
----------------------------------
Resolution: Fixed
Bulk resolve of closed issues imported from GitHub. This status was reached by
first re-opening all closed imported issues and then resolving them in bulk.
> TableExistsException for SYSTEM.TABLE - HBase 0.94.14
> -----------------------------------------------------
>
> Key: PHOENIX-755
> URL: https://issues.apache.org/jira/browse/PHOENIX-755
> Project: Phoenix
> Issue Type: Task
> Affects Versions: 3.0-Release
> Reporter: mujtaba
> Labels: bug
>
> Using HBase 0.94.14, initiating Phoenix connection when SYSTEM.TABLE is not
> present causes:
> com.salesforce.phoenix.exception.PhoenixIOException:
> org.apache.hadoop.hbase.TableExistsException: SYSTEM.TABLE
> at
> com.salesforce.phoenix.util.ServerUtil.parseServerException(ServerUtil.java:107)
> at
> com.salesforce.phoenix.query.ConnectionQueryServicesImpl.ensureTableCreated(ConnectionQueryServicesImpl.java:712)
> at
> com.salesforce.phoenix.query.ConnectionQueryServicesImpl.createTable(ConnectionQueryServicesImpl.java:1052)
> at
> com.salesforce.phoenix.schema.MetaDataClient.createTable(MetaDataClient.java:827)
> at
> com.salesforce.phoenix.schema.MetaDataClient.createTable(MetaDataClient.java:337)
> at
> com.salesforce.phoenix.compile.CreateTableCompiler$1.execute(CreateTableCompiler.java:83)
> at
> com.salesforce.phoenix.jdbc.PhoenixStatement$ExecutableCreateTableStatement.executeUpdate(PhoenixStatement.java:357)
> at
> com.salesforce.phoenix.jdbc.PhoenixStatement.executeUpdate(PhoenixStatement.java:1036)
> at
> com.salesforce.phoenix.query.ConnectionQueryServicesImpl.init(ConnectionQueryServicesImpl.java:1217)
> at
> com.salesforce.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDriver.java:87)
> at
> com.salesforce.phoenix.jdbc.PhoenixEmbeddedDriver.connect(PhoenixEmbeddedDriver.java:115)
> at java.sql.DriverManager.getConnection(DriverManager.java:615)
> at java.sql.DriverManager.getConnection(DriverManager.java:167)
> at
> com.salesforce.phoenix.util.PhoenixRuntime.main(PhoenixRuntime.java:197)
> Note:
> 1. This exception does not happen with HBase 0.94.12 or lower.
> 2. This exception happens when running HBase in distributed mode.
--
This message was sent by Atlassian JIRA
(v6.2#6252)