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

Full-ACID support breaks in LocalCatalog mode

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

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • Impala 4.0.0
    • Impala 4.0.0
    • Catalog
    • 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

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

          People

            stigahuang Quanlong Huang
            stigahuang Quanlong Huang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment