phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey Lyons <>
Subject Can't add views on HBase tables after upgrade
Date Thu, 10 Sep 2015 15:44:41 GMT
Hey all,

I have recently tried upgrading my Phoenix version from 4.4-HBase-0.98 to build 835 on 4.x-HBase-0.98
to get some of the new changes. After the upgrade it seems that I can't add new views directly
over raw HBase tables, though it seems to work fine over Phoenix tables or views.

The error it gives when I try to add a view is:

Error: ERROR 1012 (42M03): Table undefined. tableName=<myTable> (state=42M03,code=1012)
org.apache.phoenix.schema.TableNotFoundException: ERROR 1012 (42M03): Table undefined. tableName=<myTable>
        at org.apache.phoenix.schema.PMetaDataImpl.getTable(
        at org.apache.phoenix.schema.MetaDataClient.createTableInternal(
        at org.apache.phoenix.schema.MetaDataClient.createTable(
        at org.apache.phoenix.compile.CreateTableCompiler$2.execute(
        at org.apache.phoenix.jdbc.PhoenixStatement$
        at org.apache.phoenix.jdbc.PhoenixStatement$
        at org.apache.phoenix.jdbc.PhoenixStatement.executeMutation(
        at org.apache.phoenix.jdbc.PhoenixStatement.execute(
        at sqlline.Commands.execute(
        at sqlline.Commands.sql(
        at sqlline.SqlLine.dispatch(
        at sqlline.SqlLine.begin(
        at sqlline.SqlLine.start(
        at sqlline.SqlLine.main(

(myTable is an Hbase table name in this case)

Any advice, or could this just be an issue with the current state of the code?


View raw message