You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Bikramjeet Vig (JIRA)" <ji...@apache.org> on 2018/10/19 01:50:00 UTC
[jira] [Commented] (IMPALA-7697) Query gets erased before the
client gets a chance to call get_log to fetch the error string
[ https://issues.apache.org/jira/browse/IMPALA-7697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16656153#comment-16656153 ]
Bikramjeet Vig commented on IMPALA-7697:
----------------------------------------
I looked into the logs and this seems like a flaky test. The query completes in the given time of 2 sec and therefore does not get expired. (the logs in the description are for the SET query)
{noformat}
select count(*) from tpch.lineitem l1,tpch.lineitem l2, tpch.lineitem l3 where
l1.l_suppkey = l2.l_linenumber and l1.l_orderkey = l2.l_orderkey and
l1.l_orderkey = l3.l_orderkey group by l1.l_comment, l2.l_comment
having count(*) = 99;
-- 2018-10-10 22:38:18,493 INFO MainThread: Started query 934db0b256b2ef58:8cb292e800000000
{noformat}
{noformat}
:7923330:I1010 22:38:21.324031 7180 query-state.cc:480] Instance completed. instance_id=934db0b256b2ef58:8cb292e800000000 #in-flight=2 status=OK
:7923331:I1010 22:38:21.324076 31355 coordinator.cc:685] Backend completed: host=impala-ec2-centos74-m5-4xlarge-ondemand-0b61.vpc.cloudera.com:22001 remaining=1 query_id=934db0b256b2ef58:8cb292e800000000
:7923512:I1010 22:38:21.345137 31580 impala-beeswax-server.cc:197] get_results_metadata(): query_id=934db0b256b2ef58:8cb292e800000000
:7923513:I1010 22:38:21.345301 31580 coordinator.cc:457] ExecState: query id=934db0b256b2ef58:8cb292e800000000 execution completed <---------- QUERY COMPLETED
:7923514:I1010 22:38:21.345355 31580 coordinator.cc:790] Release admission control resources for query_id=934db0b256b2ef58:8cb292e800000000
:7923613:I1010 22:38:21.357970 31580 impala-beeswax-server.cc:239] close(): query_id=934db0b256b2ef58:8cb292e800000000
:7923614:I1010 22:38:21.357978 31580 impala-server.cc:1127] UnregisterQuery(): query_id=934db0b256b2ef58:8cb292e800000000
:7923615:I1010 22:38:21.357983 31580 impala-server.cc:1238] Cancel(): query_id=934db0b256b2ef58:8cb292e800000000
{noformat}
> Query gets erased before the client gets a chance to call get_log to fetch the error string
> -------------------------------------------------------------------------------------------
>
> Key: IMPALA-7697
> URL: https://issues.apache.org/jira/browse/IMPALA-7697
> Project: IMPALA
> Issue Type: Bug
> Reporter: Pooja Nilangekar
> Assignee: Bikramjeet Vig
> Priority: Blocker
> Labels: broken-build
>
> In a recent build, certain queries went missing from the ImpalaServer::query_log_index_ before the client gets a chance to call get_log to fetch the error string. Hence the test case failed. An easy (intermediate) fix would be to increase FLAGS_query_log_size.
> Here are the test logs:
> {code:java}
> Error Message
> query_test/test_resource_limits.py:45: in test_resource_limits self.run_test_case('QueryTest/query-resource-limits', vector) common/impala_test_suite.py:478: in run_test_case assert False, "Expected exception: %s" % expected_str E AssertionError: Expected exception: row_regex:.*expired due to execution time limit of 2s000ms.*
> Stacktrace
> query_test/test_resource_limits.py:45: in test_resource_limits
> self.run_test_case('QueryTest/query-resource-limits', vector)
> common/impala_test_suite.py:478: in run_test_case
> assert False, "Expected exception: %s" % expected_str
> E AssertionError: Expected exception: row_regex:.*expired due to execution time limit of 2s000ms.*
> Standard Error
> -- executing against localhost:21000
> SET SCAN_BYTES_LIMIT="0";
> -- 2018-10-10 22:38:29,826 INFO MainThread: Started query 8e45a13bc999749e:58175e1600000000
> {code}
> Here are the impalad logs:
> {code:java}
> impalad.INFO.20181010-191824.5460:I1010 22:38:29.825745 31580 impala-server.cc:1060] Registered query query_id=8e45a13bc999749e:58175e1600000000 session_id=43434de5f83010f9:7e0750ad7ad86b80
> impalad.INFO.20181010-191824.5460:I1010 22:38:29.826026 31580 impala-server.cc:1115] Query 8e45a13bc999749e:58175e1600000000 has scan bytes limit of 100.00 GB
> impalad.INFO.20181010-191824.5460:I1010 22:38:29.826328 31580 impala-beeswax-server.cc:197] get_results_metadata(): query_id=8e45a13bc999749e:58175e1600000000
> impalad..INFO.20181010-191824.5460:I1010 22:38:29.826584 31580 impala-server.cc:776] Query id 8e45a13bc999749e:58175e1600000000 not found.
> impalad.INFO.20181010-191824.5460:I1010 22:38:29.826858 31580 impala-beeswax-server.cc:239] close(): query_id=8e45a13bc999749e:58175e1600000000
> impalad.INFO.20181010-191824.5460:I1010 22:38:29.826861 31580 impala-server.cc:1127] UnregisterQuery(): query_id=8e45a13bc999749e:58175e1600000000
> impalad.INFO.20181010-191824.5460:I1010 22:38:29.826864 31580 impala-server.cc:1238] Cancel(): query_id=8e45a13bc999749e:58175e1600000000
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org