You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Joe McDonnell (Jira)" <ji...@apache.org> on 2025/05/27 22:24:00 UTC

[jira] [Assigned] (IMPALA-14103) TestAdmissionControllerStress fails on Python 3 due to invalid except clause

     [ https://issues.apache.org/jira/browse/IMPALA-14103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe McDonnell reassigned IMPALA-14103:
--------------------------------------

    Assignee: Joe McDonnell

> TestAdmissionControllerStress fails on Python 3 due to invalid except clause
> ----------------------------------------------------------------------------
>
>                 Key: IMPALA-14103
>                 URL: https://issues.apache.org/jira/browse/IMPALA-14103
>             Project: IMPALA
>          Issue Type: Sub-task
>          Components: Test
>    Affects Versions: Impala 5.0.0
>            Reporter: Joe McDonnell
>            Assignee: Joe McDonnell
>            Priority: Major
>
> When using IMPALA_USE_PYTHON3_TESTS=true, custom_cluster.test_admission_controller.TestAdmissionControllerStress fails with an error:
> {noformat}
> custom_cluster/test_admission_controller.py:2832: in test_admission_controller_with_configs
>     self.run_admission_test(vector)
> custom_cluster/test_admission_controller.py:2805: in run_admission_test
>     raise thread.error
> custom_cluster/test_admission_controller.py:2577: in run
>     self._end_query(client, query, query_handle)
> custom_cluster/test_admission_controller.py:2616: in _end_query
>     except (Exception, ImpalaHiveServer2Service) as e:
> E   TypeError: catching classes that do not inherit from BaseException is not allowed{noformat}
> It's complaining about ImpalaHiveServer2Service, which is not an exception type. It looks like we might be able to remove that.



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

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