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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 4.15.0
    • 4.15.0, 5.1.0
    • None
    • 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. Screen Shot 2019-12-10 at 5.15.35 PM.png
          268 kB
          Xinyi Yan
        2. Screen Shot 2019-12-10 at 5.24.05 PM.png
          594 kB
          Xinyi Yan
        3. 5610-4.x-HBase-1.5.txt
          1 kB
          Lars Hofhansl
        4. 5610-4.x-HBase-1.5-v2.txt
          2 kB
          Lars Hofhansl
        5. 5610-4.x-HBase-1.5-v3.txt
          2 kB
          Lars Hofhansl

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment