You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Chinmay Kulkarni (Jira)" <ji...@apache.org> on 2019/12/11 18:27:00 UTC

[jira] [Commented] (PHOENIX-5610) 4.14 client dropped table but raised ArrayIndexOutOfBoundsException on 4.15 server

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

Chinmay Kulkarni commented on PHOENIX-5610:
-------------------------------------------

Great debugging once again, [~yanxinyi]! I just tried this scenario and it did indeed throw an ArrayIndexOutOfBoundsException when I tried to drop the view from a 4.14 client. Unfortunately (for the sake of the 4.15 RC), this exception is *not* thrown for 4.13 \-> 4.14 and looks like it is due to something newly introduced in 4.15 as opposed to a pre-existing issue. 
 
However, since the actual view _is_ dropped (despite the exception thrown at the client), I'm not 100% sure if we should count this as a blocker. How have we approached similar issues in the past? 
What are your thoughts [~larsh]  [~gjacoby] [~kadir]?

> 4.14 client dropped table but raised ArrayIndexOutOfBoundsException on 4.15 server 
> -----------------------------------------------------------------------------------
>
>                 Key: PHOENIX-5610
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5610
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Xinyi Yan
>            Priority: Major
>             Fix For: 4.15.0
>
>         Attachments: Screen Shot 2019-12-10 at 5.15.35 PM.png, Screen Shot 2019-12-10 at 5.24.05 PM.png
>
>
> I created a multi-tenant table and a global view on the 4.15 server (hbase1.3.3) from a 4.15 client and then tried to drop the global view from the 4.14 client. The 4.14 client raised ArrayIndexOutOfBoundsException, even though it dropped the global view. I uploaded two screenshots for 4.15 and 4.14 clients along with reproducing steps.
>  
> Command to reproduce :
> 4.15 client:
> CREATE TABLE A (TENANT_ID VARCHAR(15) NOT NULL, A BIGINT NOT NULL, B BIGINT CONSTRAINT PK PRIMARY KEY (TENANT_ID, A)) MULTI_TENANT=true;
> CREATE VIEW B(C BIGINT) AS SELECT * FROM A;
> 4.14 client:
> DROP VIEW B;
>  
> !Screen Shot 2019-12-10 at 5.15.35 PM.png|width=600, height=300!
>  
> !Screen Shot 2019-12-10 at 5.24.05 PM.png|width=600, height=300!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)