[
https://issues.apache.org/jira/browse/PHOENIX-5610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16994246#comment-16994246
]
Lars Hofhansl edited comment on PHOENIX-5610 at 12/12/19 6:01 AM:
------------------------------------------------------------------
Please have a look. Hopefully this is the last one.
I wrote a bunch of SQL scripts that are executed with 4.15 and 4.14 clients, in
an order that covers the scenarios we have recently encountered plus some
others that I could think of. They now all pass. 5 scripts in fact: to be run
(1) with a 4.14 client, (2) with a 4.15 client, (3) with a 4.14 client again,
(4) and (5) again with a 4.15 client.
(I think those could run against a LOCAL HBase, in which case that might be a
simple and quick way to add compatibility tests. We'd have to add some gold
files.)
was (Author: lhofhansl):
Please have a look. Hopefully this is the last one.
I wrote a bunch of SQL scripts that are executed with 4.15 and 4.14 clients, in
an order that covers the scenarios we have recently encountered plus some
others that I could think of. They now all pass.
(I think those could run against a LOCAL HBase, in which case that might be a
simple and quick way to add compatibility tests. We'd have to add some gold
files.)
> 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
> Affects Versions: 4.15.0
> Reporter: Xinyi Yan
> Priority: Blocker
> Fix For: 4.15.0
>
> Attachments: 5610-4.x-HBase-1.5-v2.txt, 5610-4.x-HBase-1.5.txt,
> 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)