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

Concurrent operations on the same partitioned table may cause stale partition metadata

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Impala 2.2.4, Impala 2.3.0
    • None
    • Catalog

    Description

      The following operations, when being executed concurrently on the same partitioned table, may cause stale partition metadata.

      Query: insert OVERWRITE part_table partition (id='1') SELECT * from table where id = 1;
      Inserted 4205565 row(s) in 8.50s
      Query: alter TABLE part_table PARTITION (id='1') SET tblproperties('numRows'='3604700', 'STATS_GENERATED_VIA_STATS_TASK' ='true')
      ERROR: AnalysisException: Partition spec does not exist: (id='1').
      

      The operations are executed on the same impalad node and every INSERT, ALTER TABLE sequence is targeting a different partition. The problem appears with 10-20 concurrent operations.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dtsirogiannis Dimitris Tsirogiannis
              Votes:
              4 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated: