Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-9685

Full-ACID support breaks in LocalCatalog mode

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: Impala 4.0
    • Fix Version/s: Impala 4.0
    • Component/s: Catalog
    • Labels:
    • Epic Color:
      ghx-label-7

      Description

      IMPALA-9484 adds the initial support for reading full acid tables. However, it breaks in LocalCatalog mode.

      Reproduction
      Launch impala in LocalCatalog mode, create a full-acid table and use it:

      create table my_tbl (id int) stored as orc tblproperties('transactional'='true');
      show create table my_tbl;
      ERROR: IllegalStateException: null
      
      select * from my_tbl;
      ERROR: IllegalStateException: null
      

      Got the stacktrace in logs:

      I0422 01:39:35.084354  5867 jni-util.cc:288] 594ad640fd7d8588:f9746b0e00000000] java.lang.IllegalStateException
              at com.google.common.base.Preconditions.checkState(Preconditions.java:492)
              at org.apache.impala.analysis.ToSqlUtils.getCreateTableSql(ToSqlUtils.java:329)
              at org.apache.impala.service.JniFrontend.showCreateTable(JniFrontend.java:469)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stigahuang Quanlong Huang
                Reporter:
                stigahuang Quanlong Huang
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: