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

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

Commit 3c38888dfb10c462c97ba965b356fef63ba97078 in impala's branch 
refs/heads/master from stiga-huang
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=3c38888df ]

IMPALA-14441: Skip tests depending on unsupported HMS APIs for Apache Hive 3

Some tests import new API objects that are missing in Apache Hive 3.
This patch skips these import statements and related tests when running
on Apache Hive 3.

Change-Id: I9053b3b9d507a038a018f242628e344a528b5af0
Reviewed-on: http://gerrit.cloudera.org:8080/23428
Reviewed-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>


> Tests failed by ImportError on missing APIs in Apache Hive 3
> ------------------------------------------------------------
>
>                 Key: IMPALA-14441
>                 URL: https://issues.apache.org/jira/browse/IMPALA-14441
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Infrastructure
>            Reporter: Quanlong Huang
>            Assignee: Quanlong Huang
>            Priority: Major
>
> When build on Apache Hive 3, there are some test failures due to ImportError 
> on missing APIs, e.g. TruncateTableRequest is missing in Apache Hive 3:
> {noformat}
> custom_cluster/test_events_custom_configs.py:34: in <module>
>     from tests.util.acid_txn import AcidTxn
> util/acid_txn.py:23: in <module>
>     from impala_thrift_gen.hive_metastore.ttypes import (
> E   ImportError: cannot import name 'TruncateTableRequest' from 
> 'impala_thrift_gen.hive_metastore.ttypes' 
> (/home/ubuntu/Impala/shell/impala_thrift_gen/hive_metastore/ttypes.py){noformat}
> Another example is on FindNextCompactRequest
> {noformat}
> custom_cluster/test_metastore_service.py:23: in <module>
>     from impala_thrift_gen.hive_metastore.ttypes import (
> E   ImportError: cannot import name 'FindNextCompactRequest' from 
> 'impala_thrift_gen.hive_metastore.ttypes' 
> (/home/ubuntu/Impala/shell/impala_thrift_gen/hive_metastore/ttypes.py){noformat}
> Here are the failed tests:
> {noformat}
> custom_cluster.test_event_processing_error
> custom_cluster.test_events_custom_configs
> custom_cluster.test_metastore_service
> query_test.test_acid
> query_test.test_acid_row_validation{noformat}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to