Repository: incubator-impala Updated Branches: refs/heads/master bc56d3c48 -> 7a1ff1e5e
IMPALA-4674: add new message to stress test The main IMPALA-4674 commit adds a new OOM failure mode where the query can't get its minimum reservation during query startup. The new message includes the string "failed to get minimum memory reservation" along with some additional context. Testing: Ran a stress test using the modified script. Verified it treats failure to get minimum reservation in the same way as mem limit exceeded. Change-Id: I1f5e227084dfd50369a9908975305fa5e571c8a8 Reviewed-on: http://gerrit.cloudera.org:8080/7458 Reviewed-by: Michael Brown <[email protected]> Tested-by: Tim Armstrong <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/incubator-impala/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-impala/commit/db5103dc Tree: http://git-wip-us.apache.org/repos/asf/incubator-impala/tree/db5103dc Diff: http://git-wip-us.apache.org/repos/asf/incubator-impala/diff/db5103dc Branch: refs/heads/master Commit: db5103dc9fd083344a3216c7687400dc2cade2a0 Parents: bc56d3c Author: Tim Armstrong <[email protected]> Authored: Tue Jul 18 16:07:51 2017 -0700 Committer: Tim Armstrong <[email protected]> Committed: Wed Jul 19 16:11:13 2017 +0000 ---------------------------------------------------------------------- tests/stress/concurrent_select.py | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/db5103dc/tests/stress/concurrent_select.py ---------------------------------------------------------------------- diff --git a/tests/stress/concurrent_select.py b/tests/stress/concurrent_select.py index a5fdea1..2b45c9c 100755 --- a/tests/stress/concurrent_select.py +++ b/tests/stress/concurrent_select.py @@ -925,6 +925,7 @@ class QueryRunner(object): # Exceeding a mem limit may result in the message "cancelled". See IMPALA-2234 if "memory limit exceeded" in caught_msg or \ "repartitioning did not reduce the size of a spilled partition" in caught_msg or \ + "failed to get minimum memory reservation" in caught_msg or \ caught_msg == "cancelled": report.mem_limit_exceeded = True return
