[
https://issues.apache.org/jira/browse/IMPALA-13608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17907475#comment-17907475
]
ASF subversion and git services commented on IMPALA-13608:
----------------------------------------------------------
Commit f8f20203913f927dc563611177e0b03074c82d7a in impala's branch
refs/heads/master from Noemi Pap-Takacs
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=f8f202039 ]
IMPALA-13608: Fix TestIcebergTable.test_catalogs exhaustive test failure
TestIcebergTable.test_catalogs contained 2 tables
that were created in the default Hadoop Catalog location:
'iceberg.catalog_location' = 'ice_hadoop_cat'.
As a result of this, the tables were created under the path defined in
hive-site.xml.py and not in the unique database directory.
They both had a constant string as the table identifier that was
concatenated to the catalog location to form the table's path.
When the test was run in parallel, it failed with AlreadyExistsException
because all tests created the table with the same name in the same
directory.
Fix: Added unique database to the table identifier so that it became
unique and the tables are stored in separate directories.
Testing:
- Ran TestIcebergTable.test_catalogs locally
in exhaustive mode multiple times before and after the fix.
Command:
'tests/run-tests.py --workload_exploration_strategy=functional-query:exhaustive
query_test/test_iceberg.py::TestIcebergTable::test_catalogs'
Change-Id: If193945f11d450000523a194acd56936a364a9e1
Reviewed-on: http://gerrit.cloudera.org:8080/22218
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> TestIcebergTable.test_catalogs failed in exhaustive mode
> --------------------------------------------------------
>
> Key: IMPALA-13608
> URL: https://issues.apache.org/jira/browse/IMPALA-13608
> Project: IMPALA
> Issue Type: Bug
> Components: Test
> Reporter: Noemi Pap-Takacs
> Assignee: Noemi Pap-Takacs
> Priority: Major
> Labels: flaky
>
> TestIcebergTable.test_catalogs is failed in exhaustive mode with following
> stack trace.
> {code:java}
> query_test/test_iceberg.py:1157: in test_catalogs
> use_db=unique_database)
> common/impala_test_suite.py:740: in run_test_case
> result = exec_fn(query, user=test_section.get('USER', '').strip() or None)
> common/impala_test_suite.py:675: in __exec_in_impala
> result = self.__execute_query(target_impalad_client, query, user=user)
> common/impala_test_suite.py:1028: in __execute_query
> return impalad_client.execute(query, user=user)
> common/impala_connection.py:216: in execute
> fetch_profile_after_close=fetch_profile_after_close)
> beeswax/impala_beeswax.py:190: in execute
> handle = self.__execute_query(query_string.strip(), user=user)
> beeswax/impala_beeswax.py:383: in __execute_query
> self.wait_for_finished(handle)
> beeswax/impala_beeswax.py:413: in wait_for_finished
> raise ImpalaBeeswaxException(error_log, None)
> E ImpalaBeeswaxException: Query 4a49550a3c2a9836:ad14b98400000000 failed:
> E ImpalaRuntimeException: Error making 'createTable' RPC to Hive Metastore:
> E CAUSED BY: AlreadyExistsException: Table already exists: org.db.tbl {code}
> This is similar to IMPALA-13383
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]