Qifan Chen created IMPALA-10308:
-----------------------------------

             Summary: Failed to load metadata for table: 'iceberg_partitioned' 
in a scanner test with ASAN build
                 Key: IMPALA-10308
                 URL: https://issues.apache.org/jira/browse/IMPALA-10308
             Project: IMPALA
          Issue Type: Bug
            Reporter: Qifan Chen


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

{code:java}
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:[email protected]', 
'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
{code}

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




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to