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

TestReusePartitionMetadata.test_reuse_partition_meta fails

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

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • Impala 4.1.0
    • Impala 4.1.0
    • Catalog
    • ghx-label-7

    Description

      https://jenkins.impala.io/job/ubuntu-16.04-from-scratch/14670/testReport/junit/custom_cluster.test_local_catalog/TestReusePartitionMetadata/test_reuse_partition_meta/

      custom_cluster/test_local_catalog.py:586: in test_reuse_partition_meta
          self.check_missing_partitions(unique_database, 1)
      custom_cluster/test_local_catalog.py:595: in check_missing_partitions
          assert match.group(1) == str(partition_misses)
      E   assert '0' == '1'
      E     - 0
      E     + 1
      

      RCA

      There is a bug in CatalogOpExecutor#updateCatalog() that we loss the createEventId of the new partitions. It should be used in the final call
      of loadTableMetadata(). This bug causes intermittent failures in TestReusePartitionMetadata.test_reuse_partition_meta. The last two DMLs
      of the test is dropping a partition and then creating it back by an INSERT. If the DROP_PARTITION event is processed after the INSERT
      finishes, the partition will be dropped incorrectly. See more in the commit message of the fix.

      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:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment