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

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

Commit a453a62d7c6f2deecc3272f261cf2494978ed415 in impala's branch 
refs/heads/master from Andrew Sherman
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=a453a62d7 ]

IMPALA-11999: Ensure iceberg catalog location has correct filesystem prefix for 
Ozone

Some iceberg tests run using different forms of iceberg catalog. One of
these specifies iceberg.catalog_location as one of the TBLPROPERTIES
when a table is created. This location was hard-coded to a path
starting with "/test-warehouse", which results in an illegal Ozone
path. Fix this by wrapping the location with get_fs_path(), which gives
a legal Ozone path.

TESTING
- ran end to end tests on an Ozone filesystem.

Change-Id: Iabafb9cb778a923ffe084dd3e61053b2aa8a6b1f
Reviewed-on: http://gerrit.cloudera.org:8080/19629
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> TestIcebergTable.test_execute_rollback fails in Ozone build
> -----------------------------------------------------------
>
>                 Key: IMPALA-11999
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11999
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Daniel Becker
>            Assignee: Andrew Sherman
>            Priority: Blocker
>              Labels: broken-build
>
> A build using the Ozone file system failed with the following test failures:
> query_test.test_iceberg.TestIcebergTable.test_execute_rollback
> query_test.test_iceberg.TestIcebergTable.test_expire_snapshots
> {code:java}
> query_test/test_iceberg.py:267: in test_execute_rollback
>     TBLPROPERTIES ({1})""".format(tbl_name, catalog_properties))
> common/impala_connection.py:214: in execute
>     return self.__beeswax_client.execute(sql_stmt, user=user)
> beeswax/impala_beeswax.py:191: in execute
>     handle = self.__execute_query(query_string.strip(), user=user)
> beeswax/impala_beeswax.py:369: in __execute_query
>     self.wait_for_finished(handle)
> beeswax/impala_beeswax.py:390: in wait_for_finished
>     raise ImpalaBeeswaxException("Query aborted:" + error_log, None)
> E   ImpalaBeeswaxException: ImpalaBeeswaxException:
> E    Query aborted:ImpalaRuntimeException: Error making 'createTable' RPC to 
> Hive Metastore: 
> E   CAUSED BY: RuntimeIOException: Failed to refresh the table
> E   CAUSED BY: OMException: Bucket or Volume name has an unsupported 
> character : _
> {code}
> The issue came after IMPALA-11482 was merged, it may be related.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to