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

Fail to load metadata for table: 'iceberg_partitioned' in a scanner test with ASAN build

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • None
    • ghx-label-14

    Description

      The following error was seen when running the scanner test against the ASAN build.

      E   ImpalaBeeswaxException: ImpalaBeeswaxException:
      E    INNER EXCEPTION: <class 'beeswaxd.ttypes.BeeswaxException'>
      E    MESSAGE: AnalysisException: Failed to load metadata for table: 'iceberg_partitioned'
      E   CAUSED BY: TableLoadingException: Error loading metadata for Iceberg table hdfs://localhost:20500/test-warehouse/iceberg_test/iceberg_partitioned
      E   CAUSED BY: IllegalArgumentException: Can not create a Path from a null string
       TestIceberg.test_iceberg_query[protocol: beeswax | exec_option: {'batch_size': 0, 'num_nodes': 0, 'disable_codegen_rows_threshold': 0, 'disable_codegen': True, 'abort_on_error': 1, 'debug_action': 'HDFS_SCANNER_THREAD_CHECK_SOFT_MEM_LIMIT:FAIL@0.5', 'exec_single_node_rows_threshold': 0} | table_format: parquet/none] 
      [gw2] linux2 -- Python 2.7.16 /home/qchen/Impala/bin/../infra/python/env-gcc7.5.0/bin/python
      query_test/test_scanners.py:357: in test_iceberg_query
          self.run_test_case('QueryTest/iceberg-query', vector)
      common/impala_test_suite.py:662: in run_test_case
          result = exec_fn(query, user=test_section.get('USER', '').strip() or None)
      common/impala_test_suite.py:600: in __exec_in_impala
          result = self.__execute_query(target_impalad_client, query, user=user)
      common/impala_test_suite.py:920: in __execute_query
          return impalad_client.execute(query, user=user)
      common/impala_connection.py:205: in execute
          return self.__beeswax_client.execute(sql_stmt, user=user)
      beeswax/impala_beeswax.py:187: in execute
          handle = self.__execute_query(query_string.strip(), user=user)
      beeswax/impala_beeswax.py:363: in __execute_query
          handle = self.execute_query_async(query_string, user=user)
      beeswax/impala_beeswax.py:357: in execute_query_async
          handle = self.__do_rpc(lambda: self.imp_service.query(query,))
      beeswax/impala_beeswax.py:520: in __do_rpc
      

      To reproduce, apply the following steps.

      1. Build: ${IMPALA_HOME}/buildall.sh -skiptests -ninja -asan
      2. Run test: 
          cd {IMPALA_HOME} 
          $tests/run-tests.py --exploration_strategy=exhaustive tests/query_test/test_scanners.py
      

      Branch info.

      The master branch with ttps://github.com/apache/impala.git. The HEAD points at 193c2e773fa9f6772e4a7c30ed3a4f75029863f1.

      Attachments

        Activity

          People

            boroknagyz Zoltán Borók-Nagy
            sql_forever Qifan Chen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: