[ https://issues.apache.org/jira/browse/IMPALA-10596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17315056#comment-17315056 ]
Bikramjeet Vig commented on IMPALA-10596: ----------------------------------------- The previous [patch|http://gerrit.cloudera.org:8080/17256] finally allowed the actual error to be logged. {noformat} custom_cluster/test_admission_controller.py:2078: in test_mem_limit {'request_pool': self.pool_name, 'mem_limit': query_mem_limit}) custom_cluster/test_admission_controller.py:1936: in run_admission_test assert metric_deltas['dequeued'] == 0,\ E AssertionError: Queued queries should not run until others are made to finish E assert 4 == 0 {noformat} As I suspected, after turning on result spooling by default the queries are finishing early and releasing resources which allows queued queries to run. This test uses a long running query that returns a lot of rows to control resources being held and result spooling messes with that control. Since adapting this to result spooling would not add any test coverage benefit, we can just turn it off for these stress tests. > TestAdmissionControllerStressWithACService.test_mem_limit fails with "Invalid > or unknown query handle" when canceling a query > ----------------------------------------------------------------------------------------------------------------------------- > > Key: IMPALA-10596 > URL: https://issues.apache.org/jira/browse/IMPALA-10596 > Project: IMPALA > Issue Type: Bug > Affects Versions: Impala 4.0 > Reporter: Andrew Sherman > Assignee: Bikramjeet Vig > Priority: Critical > > TestAdmissionControllerStress.test_mem_limit fails similarly > {code} > custom_cluster/test_admission_controller.py:1437: in teardown > client.cancel(thread.query_handle) > common/impala_connection.py:215: in cancel > return self.__beeswax_client.cancel_query(operation_handle.get_handle()) > beeswax/impala_beeswax.py:369: in cancel_query > return self.__do_rpc(lambda: self.imp_service.Cancel(query_id)) > beeswax/impala_beeswax.py:520: in __do_rpc > raise ImpalaBeeswaxException(self.__build_error_message(b), b) > E ImpalaBeeswaxException: ImpalaBeeswaxException: > E INNER EXCEPTION: <class 'beeswaxd.ttypes.BeeswaxException'> > E MESSAGE: Invalid or unknown query handle: > 174962332188aac2:1713d0fe00000000. > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org For additional commands, e-mail: issues-all-h...@impala.apache.org