phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-1171) Dropping the index is not verifying the associated table
Date Fri, 15 Aug 2014 06:22:18 GMT

    [ https://issues.apache.org/jira/browse/PHOENIX-1171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14098237#comment-14098237
] 

Hudson commented on PHOENIX-1171:
---------------------------------

SUCCESS: Integrated in Phoenix | Master | Hadoop1 #330 (See [https://builds.apache.org/job/Phoenix-master-hadoop1/330/])
PHOENIX-1171 Dropping the index is not verifying the associated table (jtaylor: rev c85d4c6ad145babcd5eca2fde1dc632071105b77)
* phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
* phoenix-core/src/main/java/org/apache/phoenix/util/MetaDataUtil.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/index/IndexMetadataIT.java
* phoenix-core/src/test/java/org/apache/phoenix/compile/ViewCompilerTest.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/ViewIT.java


> Dropping the index is not verifying the associated table
> --------------------------------------------------------
>
>                 Key: PHOENIX-1171
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1171
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.0.0
>         Environment: Linux HDP-2.1
>            Reporter: yeshwanth
>            Assignee: James Taylor
>              Labels: newbie, patch
>             Fix For: 5.0.0, 3.1, 4.1
>
>         Attachments: PHOENIX-1171-addendum.patch, PHOENIX-1171.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> 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)



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

Mime
View raw message