This is an automated email from the ASF dual-hosted git repository. laszlog pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/impala.git
commit 0f8f54de20cf67cefc0d356d8cc07f04122dd2a5 Author: Riza Suminto <[email protected]> AuthorDate: Tue Dec 2 11:19:12 2025 -0800 IMPALA-14595: Fix Ozone trash path after IMPALA-12893 IMPALA-12893 upgrade CDP_BUILD_NUMBER=71942734 upgrade Ozone version to 1.4.0.7.3.1.500-182. This newer Ozone version does not include WAREHOUSE_PREFIX anymore in its trash path. This patch fix the broken tests in test_ddl.py by updating the expected trash path. Testing: Run and pass metadata/test_ddl.py in Ozone environment. Change-Id: If1271a399d4eb82fed9b073b99d9a7b2c18a03b1 Reviewed-on: http://gerrit.cloudera.org:8080/23734 Reviewed-by: Michael Smith <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- tests/metadata/test_ddl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/metadata/test_ddl.py b/tests/metadata/test_ddl.py index af1674143..54989b84a 100644 --- a/tests/metadata/test_ddl.py +++ b/tests/metadata/test_ddl.py @@ -61,8 +61,8 @@ from tests.util.shell_util import dump_server_stacktraces def get_trash_path(bucket, path): if IS_OZONE: - return get_fs_path('/{0}/.Trash/{1}/Current{2}/{0}/{3}'.format(bucket, - getpass.getuser(), WAREHOUSE_PREFIX, path)) + return get_fs_path('/{0}/.Trash/{1}/Current/{2}'.format( + bucket, getpass.getuser(), path)) return '/user/{0}/.Trash/Current/{1}/{2}'.format(getpass.getuser(), bucket, path)
