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

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

Joe McDonnell created IMPALA-14103:
--------------------------------------

             Summary: 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


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)