Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-5610

Dropping a view or column with a 4.14 client raises an ArrayIndexOutOfBoundsException on 4.15 server

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.15.0
    • Fix Version/s: 4.15.0, 5.1.0
    • Component/s: None
    • Labels:
      None

      Description

      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;
       

       

        Attachments

        1. 5610-4.x-HBase-1.5.txt
          1 kB
          Lars Hofhansl
        2. 5610-4.x-HBase-1.5-v2.txt
          2 kB
          Lars Hofhansl
        3. 5610-4.x-HBase-1.5-v3.txt
          2 kB
          Lars Hofhansl
        4. Screen Shot 2019-12-10 at 5.15.35 PM.png
          268 kB
          Xinyi Yan
        5. Screen Shot 2019-12-10 at 5.24.05 PM.png
          594 kB
          Xinyi Yan

          Activity

            People

            • Assignee:
              larsh Lars Hofhansl
              Reporter:
              yanxinyi Xinyi Yan
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: