This is an automated email from the ASF dual-hosted git repository.

asherman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git

commit c098fdc69a74f174d66ad37f28ac3f42e5e8ca30
Author: Andrew Sherman <[email protected]>
AuthorDate: Fri Mar 31 10:56:57 2023 -0700

    IMPALA-12034: Use more portable filesystem_client instead of hdfs_client.
    
    Fix an Ozone test failure where we were using 'hdfs_client', which is
    set to None on non-HDFS systems. Instead use 'filesystem_client' which
    is a generic interface for doing filesystem operations that works
    across all the filesystems that Impala supports.
    
    TESTING:
    - Ran the test on Ozone.
    
    Change-Id: Ib6fe961cb659c3002321f26673293e6e25b902a4
    Reviewed-on: http://gerrit.cloudera.org:8080/19672
    Reviewed-by: Impala Public Jenkins <[email protected]>
    Tested-by: Impala Public Jenkins <[email protected]>
---
 tests/query_test/test_iceberg.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/query_test/test_iceberg.py b/tests/query_test/test_iceberg.py
index 9154ca6be..37ad24e32 100644
--- a/tests/query_test/test_iceberg.py
+++ b/tests/query_test/test_iceberg.py
@@ -163,7 +163,7 @@ class TestIcebergTable(IcebergTestSuite):
     assert self.filesystem_client.exists(metadata_location)
     status = self.filesystem_client.delete_file_dir(metadata_location, True)
     assert status, "Delete failed with {0}".format(status)
-    assert not self.hdfs_client.exists(metadata_location)
+    assert not self.filesystem_client.exists(metadata_location)
 
     if do_invalidate:
       # Invalidate so that table loading problems will happen in the catalog.

Reply via email to