impala-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tarmstr...@apache.org
Subject incubator-impala git commit: IMPALA-4745: fix TestScratchLimit failure on S3
Date Wed, 11 Jan 2017 07:32:06 GMT
Repository: incubator-impala
Updated Branches:
  refs/heads/master 09aa76186 -> 75027c913


IMPALA-4745: fix TestScratchLimit failure on S3

The commit "IMPALA-3202,IMPALA-2079: rework scratch file I/O"
improved efficiency of scratch file use in some scenarios.
TestScratchLimit::test_with_low_scratch_limit started failing
on S3, because it expects to use more than 50MB of scratch space.

Testing:
Ran the test in a loop locally for 50+ iterations - didn't see
any failures.

Change-Id: I607b4c6ad10eba0e6c7bc8d6e640d42da26ee6c8
Reviewed-on: http://gerrit.cloudera.org:8080/5654
Reviewed-by: Tim Armstrong <tarmstrong@cloudera.com>
Tested-by: Impala Public Jenkins


Project: http://git-wip-us.apache.org/repos/asf/incubator-impala/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-impala/commit/75027c91
Tree: http://git-wip-us.apache.org/repos/asf/incubator-impala/tree/75027c91
Diff: http://git-wip-us.apache.org/repos/asf/incubator-impala/diff/75027c91

Branch: refs/heads/master
Commit: 75027c913b9eaac8f983cff5b3ad26e8f316c1a9
Parents: 09aa761
Author: Tim Armstrong <tarmstrong@cloudera.com>
Authored: Mon Jan 9 17:10:49 2017 -0800
Committer: Impala Public Jenkins <impala-public-jenkins@gerrit.cloudera.org>
Committed: Wed Jan 11 03:47:29 2017 +0000

----------------------------------------------------------------------
 tests/query_test/test_scratch_limit.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/75027c91/tests/query_test/test_scratch_limit.py
----------------------------------------------------------------------
diff --git a/tests/query_test/test_scratch_limit.py b/tests/query_test/test_scratch_limit.py
index f2cec78..20e8e8f 100644
--- a/tests/query_test/test_scratch_limit.py
+++ b/tests/query_test/test_scratch_limit.py
@@ -59,9 +59,9 @@ class TestScratchLimit(ImpalaTestSuite):
     """
     exec_option = vector.get_value('exec_option')
     exec_option['max_block_mgr_memory'] = self.max_block_mgr_memory
-    exec_option['scratch_limit'] = '50m'
+    exec_option['scratch_limit'] = '24m'
     expected_error = 'Scratch space limit of %s bytes exceeded'
-    scratch_limit_in_bytes = 50 * 1024 * 1024
+    scratch_limit_in_bytes = 24 * 1024 * 1024
     try:
       self.execute_query(self.spill_query, exec_option)
       assert False, "Query was expected to fail"


Mime
View raw message