You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Cristian Armaselu (JIRA)" <ji...@apache.org> on 2014/06/12 06:28:01 UTC

[jira] [Created] (PHOENIX-1042) exception when dropping table

Cristian Armaselu created PHOENIX-1042:
------------------------------------------

             Summary: exception when dropping table
                 Key: PHOENIX-1042
                 URL: https://issues.apache.org/jira/browse/PHOENIX-1042
             Project: Phoenix
          Issue Type: Bug
    Affects Versions: 3.0.0
         Environment: Cloudera 4.8.X


            Reporter: Cristian Armaselu


Dropping a table:
0: jdbc:phoenix:localhost> drop table P9_PROFILE_5          ;                                                                                                                                                                 
14/06/11 21:22:13 WARN client.HConnectionManager$HConnectionImplementation: Encountered problems when prefetch META table: 
org.apache.hadoop.hbase.TableNotFoundException: Cannot find row in .META. for table: _IDX_P9_PROFILE_5, row=_IDX_P9_PROFILE_5,,99999999999999
	at org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:151)
	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.prefetchRegionCache(HConnectionManager.java:1059)
	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1121)
	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:1001)
	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:958)
	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:251)
	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:243)
	at org.apache.phoenix.query.HTableFactory$HTableFactoryImpl.getTable(HTableFactory.java:51)
	at org.apache.phoenix.query.ConnectionQueryServicesImpl.getTable(ConnectionQueryServicesImpl.java:249)
	at org.apache.phoenix.query.ConnectionQueryServicesImpl.getTableDescriptor(ConnectionQueryServicesImpl.java:261)
	at org.apache.phoenix.util.MetaDataUtil.hasViewIndexTable(MetaDataUtil.java:269)
	at org.apache.phoenix.schema.MetaDataClient.dropTable(MetaDataClient.java:1303)
	at org.apache.phoenix.schema.MetaDataClient.dropTable(MetaDataClient.java:1244)
	at org.apache.phoenix.jdbc.PhoenixStatement$ExecutableDropTableStatement$1.execute(PhoenixStatement.java:519)
	at org.apache.phoenix.jdbc.PhoenixStatement.executeMutation(PhoenixStatement.java:226)
	at org.apache.phoenix.jdbc.PhoenixStatement.execute(PhoenixStatement.java:919)
	at sqlline.SqlLine$Commands.execute(SqlLine.java:3673)
	at sqlline.SqlLine$Commands.sql(SqlLine.java:3584)
	at sqlline.SqlLine.dispatch(SqlLine.java:821)
	at sqlline.SqlLine.begin(SqlLine.java:699)
	at sqlline.SqlLine.mainWithInputRedirection(SqlLine.java:441)
	at sqlline.SqlLine.main(SqlLine.java:424)
No rows affected (4.332 seconds)

The table was dropped and the associated folder/files were deleted from HDFS.
Why am I getting the error above?




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