[
https://issues.apache.org/jira/browse/IMPALA-11806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17651053#comment-17651053
]
ASF subversion and git services commented on IMPALA-11806:
----------------------------------------------------------
Commit 6ff99431a6eab1841f1bf46b923ad4664772e185 in impala's branch
refs/heads/master from Tamas Mate
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=6ff99431a ]
IMPALA-11806: Fix TestIcebergTable.test_load E2E test
The test had a flaky part, it was referring to a directory which was
random generated. Removed the reference to this directory.
The test was failing with filesystems other than HDFS due to the
hdfs_client dependency, replaced the hdfs_client calls to
filesystem_client instead.
Testing:
- Executed the test locally (HDFS/Minicluster)
- Triggered an Ozone build to verify it with different FS
Change-Id: Id95523949aab7dc2417a3d06cf780d3de2e44ee3
Reviewed-on: http://gerrit.cloudera.org:8080/19385
Reviewed-by: Tamas Mate <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> TestIcebergTable.test_load failed
> ---------------------------------
>
> Key: IMPALA-11806
> URL: https://issues.apache.org/jira/browse/IMPALA-11806
> Project: IMPALA
> Issue Type: Bug
> Components: Backend
> Affects Versions: Impala 4.3.0
> Reporter: Wenzhe Zhou
> Assignee: Tamas Mate
> Priority: Major
>
> TestIcebergTable.test_load was added by IMPALA-11339 (Add Iceberg LOAD DATA
> INPATH statement). It failed in core-ozone build.
> *Error Message*
> query_test/test_iceberg.py:805: in test_load
> self.hdfs_client.make_dir(DST_DIR, permission=777) E AttributeError:
> 'TestIcebergTable' object has no attribute 'hdfs_client'
> *Stacktrace*
> query_test/test_iceberg.py:805: in test_load
> self.hdfs_client.make_dir(DST_DIR, permission=777)
> E AttributeError: 'TestIcebergTable' object has no attribute 'hdfs_client'
> Standard Error
> SET
> client_identifier=query_test/test_iceberg.py::TestIcebergTable::()::test_load[protocol:beeswax|exec_option:{'test_replan':1;'batch_size':0;'num_nodes':0;'disable_codegen_rows_threshold':0;'disable_codegen':False;'abort_on_error':1;'exec_single_node_rows_threshold':0}|table;
> SET sync_ddl=False;
> -- executing against localhost:21000
> DROP DATABASE IF EXISTS `test_load_a61184e9` CASCADE;
> -- 2022-12-16 09:11:10,345 INFO MainThread: Started query
> 7748bb1822e271fa:9bada05000000000
> SET
> client_identifier=query_test/test_iceberg.py::TestIcebergTable::()::test_load[protocol:beeswax|exec_option:{'test_replan':1;'batch_size':0;'num_nodes':0;'disable_codegen_rows_threshold':0;'disable_codegen':False;'abort_on_error':1;'exec_single_node_rows_threshold':0}|table;
> SET sync_ddl=False;
> -- executing against localhost:21000
> CREATE DATABASE `test_load_a61184e9`;
> -- 2022-12-16 09:11:14,357 INFO MainThread: Started query
> 2649fc95833f8f75:cafcfec300000000
> -- 2022-12-16 09:11:14,408 INFO MainThread: Created database
> "test_load_a61184e9" for test ID
> "query_test/test_iceberg.py::TestIcebergTable::()::test_load[protocol:
> beeswax | exec_option: {'test_replan': 1, 'batch_size': 0, 'num_nodes': 0,
> 'disable_codegen_rows_threshold': 0, 'disable_codegen': False,
> 'abort_on_error': 1, 'exec_single_node_rows_threshold': 0} | table_format:
> parquet/none]"
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]