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

Daniel Becker commented on IMPALA-14322:
----------------------------------------

Examples:
{code:java}
CREATE TABLE iceberg_hadoop_tbls_with_loc(
  level STRING
)
PARTITIONED BY SPEC
(
  level,
  BUCKET(12345, level),
  TRUNCATE(15, level)
)
STORED AS ICEBERG
LOCATION 
'/impala/test_warehouse/test_create_iceberg_tables_53ba9ee3.iceberg_test_with_location'
TBLPROPERTIES('iceberg.catalog'='hadoop.tables');{code}
{code:java}
CREATE TABLE iceberg_hadoop_catalog(
  level STRING
)
STORED AS ICEBERG
TBLPROPERTIES('format-version'='2', 'iceberg.catalog'='hadoop.catalog',
'iceberg.catalog_location'='/impala/test_warehouse/test_alter_iceberg_tables_v2_7bec4919/hadoop_catalog_test');{code}

> Iceberg Hadoop-catalog tests fail on Ozone
> ------------------------------------------
>
>                 Key: IMPALA-14322
>                 URL: https://issues.apache.org/jira/browse/IMPALA-14322
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Daniel Becker
>            Priority: Major
>              Labels: broken-build, impala-iceberg
>
> Some Iceberg tests started failing on Ozone with the following error:
>  
> {code:java}
> CAUSED BY: OMException: Invalid bucket name: test_warehouse{code}
>  
> Failing tests:
> query_test.test_iceberg.TestIcebergTable.test_alter_iceberg_tables_v2
> query_test.test_iceberg.TestIcebergTable.test_iceberg_negative
> query_test.test_iceberg.TestIcebergTable.test_alter_iceberg_tables_default
> query_test.test_iceberg.TestIcebergTable.test_alter_iceberg_tables_v1
> query_test.test_iceberg.TestIcebergTable.test_create_iceberg_tables
> h3. Stacktrace
> {code:java}
> query_test/test_iceberg.py:67: in test_create_iceberg_tables
>     self.run_test_case('QueryTest/iceberg-create', vector, 
> use_db=unique_database)
> common/impala_test_suite.py:886: in run_test_case
>     result = exec_fn(query, user=test_section.get('USER', '').strip() or None)
> common/impala_test_suite.py:816: in __exec_in_impala
>     result = self.__execute_query(target_impalad_client, query, user=user)
> common/impala_test_suite.py:1294: in __execute_query
>     return impalad_client.execute(query, user=user)
> common/impala_connection.py:687: in execute
>     cursor.execute(sql_stmt, configuration=self.__query_options)
> /data/jenkins/workspace/impala-asf-master-core-ozone/repos/Impala/infra/python/env-gcc10.4.0/lib/python2.7/site-packages/impala/hiveserver2.py:394:
>  in execute
>     self._wait_to_finish()  # make execute synchronous
> /data/jenkins/workspace/impala-asf-master-core-ozone/repos/Impala/infra/python/env-gcc10.4.0/lib/python2.7/site-packages/impala/hiveserver2.py:484:
>  in _wait_to_finish
>     raise OperationalError(resp.errorMessage)
> E   OperationalError: Query 0c48502cc1398e77:e2f8dbd900000000 failed:
> E   ImpalaRuntimeException: Error making 'createTable' RPC to Hive Metastore: 
> E   CAUSED BY: RuntimeIOException: Failed to create file: 
> ofs://localhost:9862/impala/test_warehouse/test_create_iceberg_tables_53ba9ee3.iceberg_test_with_location/metadata/1e064fde-4dac-4b9c-89ee-b648da81d5e2.metadata.json
> E   CAUSED BY: OMException: Invalid bucket name: test_warehouse{code}



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

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

Reply via email to