[
https://issues.apache.org/jira/browse/IMPALA-14195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18003500#comment-18003500
]
ASF subversion and git services commented on IMPALA-14195:
----------------------------------------------------------
Commit 5d3de2fc6fe529b90fcf3cecd4724456d9c167a4 in impala's branch
refs/heads/master from Riza Suminto
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=5d3de2fc6 ]
IMPALA-14195: Fix test_execute_remove_orphan_files failed at Ozone
test_execute_remove_orphan_files failed in Ozone build for not getting
the correct table path.
This patch fix the issue by defining
TABLE_PATH = '{0}/{1}.db/{2}'.format(
WAREHOUSE, unique_database, tbl_name)
Other path assertions are also modified to use os.path.join.
Testing:
Run and pass test_execute_remove_orphan_files at Ozone.
Change-Id: I2aba4f464ef472ab8f9d8ff7db7b5fb31a735478
Reviewed-on: http://gerrit.cloudera.org:8080/23114
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> TestIcebergTable.test_execute_remove_orphan_files failed at Ozone builds
> ------------------------------------------------------------------------
>
> Key: IMPALA-14195
> URL: https://issues.apache.org/jira/browse/IMPALA-14195
> Project: IMPALA
> Issue Type: Bug
> Components: Catalog, Frontend
> Reporter: Yida Wu
> Assignee: Riza Suminto
> Priority: Major
> Labels: broken-build
>
> Test test_execute_remove_orphan_files failed at Ozone builds with following
> errors:
> *Failed*
> {code:java}
> query_test.test_iceberg.TestIcebergTable.test_execute_remove_orphan_files
> {code}
> *Error Message*
> {code:java}
> query_test/test_iceberg.py:492: in test_execute_remove_orphan_files
> SRC_DIR.format('data', file_parq1), DATA_PATH) util/hdfs_util.py:267: in
> copy_from_local src, dst) + stderr + '; ' + stdout E AssertionError:
> Ozone copy from
> /data/jenkins/workspace/impala-cdw-master-staging-core-ozone/repos/Impala/testdata/data/iceberg_test/iceberg_mixed_file_format_test/data/00000-0-data-gfurnstahl_20220906113044_157fc172-f5d3-4c70-8653-fff150b6136a-job_16619542960420_0002-1-00001.parquet
> to
> /test-warehouse/test_execute_remove_orphan_files_1be65674.db/tbl_with_orphan_files/data/
> failed: copyFromLocal:
> `/test-warehouse/test_execute_remove_orphan_files_1be65674.db/tbl_with_orphan_files/data/':
> No such file or directory:
> `ofs://localhost:9862/test-warehouse/test_execute_remove_orphan_files_1be65674.db/tbl_with_orphan_files/data'
> E ;
> {code}
> *Stacktrace*
> {code:java}
> query_test/test_iceberg.py:492: in test_execute_remove_orphan_files
> SRC_DIR.format('data', file_parq1), DATA_PATH)
> util/hdfs_util.py:267: in copy_from_local
> src, dst) + stderr + '; ' + stdout
> E AssertionError: Ozone copy from
> /data/jenkins/workspace/impala-cdw-master-staging-core-ozone/repos/Impala/testdata/data/iceberg_test/iceberg_mixed_file_format_test/data/00000-0-data-gfurnstahl_20220906113044_157fc172-f5d3-4c70-8653-fff150b6136a-job_16619542960420_0002-1-00001.parquet
> to
> /test-warehouse/test_execute_remove_orphan_files_1be65674.db/tbl_with_orphan_files/data/
> failed: copyFromLocal:
> `/test-warehouse/test_execute_remove_orphan_files_1be65674.db/tbl_with_orphan_files/data/':
> No such file or directory:
> `ofs://localhost:9862/test-warehouse/test_execute_remove_orphan_files_1be65674.db/tbl_with_orphan_files/data'
> E ;
> {code}
> Since the test was introduced in IMPALA-12337, it’s likely 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]