You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2024/11/22 18:24:00 UTC

[jira] [Commented] (IMPALA-13383) TestIcebergTable.test_create_table_like_table failed in exhaustive mode

    [ https://issues.apache.org/jira/browse/IMPALA-13383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17900467#comment-17900467 ] 

ASF subversion and git services commented on IMPALA-13383:
----------------------------------------------------------

Commit 6a2f5da59c2241644b10a2e8a1e26cecbf3f6e87 in impala's branch refs/heads/master from Noemi Pap-Takacs
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=6a2f5da59 ]

IMPALA-13383: Fix TestIcebergTable.test_create_table_like_table exhaustive test failure

TestIcebergTable.test_create_table_like_table 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_create_table_like_table 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_create_table_like_table'

Change-Id: I1d70855f37aae06cc2b8e59fb773013e2b3918a8
Reviewed-on: http://gerrit.cloudera.org:8080/22072
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> TestIcebergTable.test_create_table_like_table failed in exhaustive mode
> -----------------------------------------------------------------------
>
>                 Key: IMPALA-13383
>                 URL: https://issues.apache.org/jira/browse/IMPALA-13383
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: Impala 4.5.0
>            Reporter: Riza Suminto
>            Assignee: Noemi Pap-Takacs
>            Priority: Major
>              Labels: flaky
>
> TestIcebergTable.test_create_table_like_table is failed in exhaustive mode with following stack trace.
> {code:java}
> query_test/test_iceberg.py:1157: in test_create_table_like_table
>     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: id_a.id_b.ice_hadoop_cat_no_part
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org