Dan Hecht created IMPALA-6983:
---------------------------------

             Summary: stress test binary search exits if process mem_limit is 
too low
                 Key: IMPALA-6983
                 URL: https://issues.apache.org/jira/browse/IMPALA-6983
             Project: IMPALA
          Issue Type: Improvement
          Components: Infrastructure
            Reporter: Dan Hecht


This was running stress test on tpch SF=20 and minicluster process 
mem_limit=7857355161.
{code:java}
2018-05-04 18:25:07,790 18531 MainThread INFO:concurrent_select[1406]:Finding a 
starting point for binary search
2018-05-04 18:25:07,790 18531 MainThread INFO:concurrent_select[1409]:Next 
mem_limit: 7493
2018-05-04 18:28:06,380 18531 MainThread WARNING:concurrent_select[1416]:Query 
couldn't be run even when using all available memory
select
n_name,
sum(l_extendedprice * (1 - l_discount)) as revenue
from
customer,
orders,
lineitem,
supplier,
nation,
region
where
c_custkey = o_custkey
and l_orderkey = o_orderkey
and l_suppkey = s_suppkey
and c_nationkey = s_nationkey
and s_nationkey = n_nationkey
and n_regionkey = r_regionkey
and r_name = 'ASIA'
and o_orderdate >= '1994-01-01'
and o_orderdate < '1995-01-01'
group by
n_name
order by
revenue desc

Traceback (most recent call last):
File "./tests/stress/concurrent_select.py", line 2265, in <module>
main()
File "./tests/stress/concurrent_select.py", line 2162, in main
queries, impala, converted_args, 
queries_with_runtime_info_by_db_sql_and_options)
File "./tests/stress/concurrent_select.py", line 1879, in populate_all_queries
os.path.join(converted_args.results_dir, PROFILES_DIR))
File "./tests/stress/concurrent_select.py", line 964, in 
write_runtime_info_profiles
fh.write(profile)
TypeError: expected a string or other character buffer object{code}
I don't understand the details of {{concurrent_select.py}} control flow, but it 
looks like in this case {{update_runtime_info()}} won't get called leading to 
this issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to