i had two tables,
i created index on one table and dropped index by specifying other table,
index was dropped succesfully, later when i tried indexing on the same
table,
 it had thrown me error saying the index table name already exists,

looks like, the reference was not updated in phoenix table,

0: jdbc:phoenix:localhost:/hbase-unsecure> create table t1( id integer not
null primary key ,name char(5));
No rows affected (17.666 seconds)
0: jdbc:phoenix:localhost:/hbase-unsecure> create table t2( id integer not
null primary key ,name char(5));
No rows affected (1.296 seconds)
0: jdbc:phoenix:localhost:/hbase-unsecure> *CREATE INDEX i1 ON t1  (id);*
No rows affected (3.164 seconds)
0: jdbc:phoenix:localhost:/hbase-unsecure> *DROP INDEX i1 on t2;*
No rows affected (2.023 seconds)


any idea how to fix this issue,

-yeshwanth

Reply via email to