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

Flaky TestCorruptTableStats.test_corrupt_stats

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 4.3.0
    • Impala 4.3.0
    • Frontend
    • None
    • ghx-label-11

    Description

      TestCorruptTableStats.test_corrupt_stats is failing frequently with the following stack trace.

      metadata/test_compute_stats.py:369: in test_corrupt_stats
          self.run_test_case('QueryTest/corrupt-stats', vector, unique_database)
      common/impala_test_suite.py:743: in run_test_case
          self.__verify_results_and_errors(vector, test_section, result, use_db)
      common/impala_test_suite.py:579: in __verify_results_and_errors
          replace_filenames_with_placeholder)
      common/test_result_verifier.py:469: in verify_raw_results
          VERIFIER_MAP[verifier](expected, actual)
      common/test_result_verifier.py:246: in verify_query_result_is_subset
          assert expected_literal_strings <= actual_literal_strings
      E   assert Items in expected results not found in actual results:
      E     '   row-size=0B cardinality=1'
      E     Items in actual results:
      E     '|  row-size=8B cardinality=1'
      E     'the partition(s) is positive.'
      E     '   partition predicates: org = 1'
      E     'PLAN-ROOT SINK'
      E     ''
      E     'statistics when the corresponding tables are transactional.'
      E     '|  output: count(*)'
      E     'is either a) less than -1, or b) 0 but the size of all the files inside '
      E     '00:SCAN HDFS [test_corrupt_stats_4d6cb186.corrupted]'
      E     '03:AGGREGATE [FINALIZE]'
      E     '   HDFS partitions=1/2 files=1 size=24B'
      E     '01:AGGREGATE'
      E     'If it is suspected that there may be corrupt statistics, dropping and '
      E     'The latter case does not necessarily imply the existence of corrupt '
      E     'Max Per-Host Resource Reservation: Memory=8.00KB Threads=3'
      E     '   row-size=0B cardinality=unavailable'
      E     'test_corrupt_stats_4d6cb186.corrupted'
      E     'The row count in one or more partitions in the following tables '
      E     '|  output: count:merge(*)'
      E     'Per-Host Resource Estimates: Memory=32MB'
      E     '02:EXCHANGE [UNPARTITIONED]'
      E     're-computing statistics could resolve this problem.'
      E     'WARNING: The following tables are missing relevant table and/or column statistics.'
      E     '|'
      

      Attachments

        Activity

          People

            drorke David Rorke
            tmate Tamas Mate
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: