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

Refactor HdfsPartition to be immutable

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Impala 4.0
    • Component/s: Catalog
    • Labels:
      None

      Description

      Making HdfsPartition immutable has several benefits:

      • HdfsPartition meta can be shared across table versions, which means in the legacy catalog update mode, catalog update can ignore unchanged partitions (IMPALA-3234) and send the update in partition granularity.
      • Aborted DDL/DMLs won’t leave partition metadata in illegal states (IMPALA-8406), which requires invalidation to recover.
      • LocalCatalog coordinators can cache partition meta using the partition id as the key. When table version updates, only metadata of changed partitions needs to be reloaded (IMPALA-7533).
      • In the work of IMPALA-3127, we don't need to assign a catalog version to partitions since the partition ids already identify the partitions.

        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: