[
https://issues.apache.org/jira/browse/IMPALA-7992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16723414#comment-16723414
]
bharath v commented on IMPALA-7992:
-----------------------------------
Couple of things I noticed
1. I have seen this particular test manifest as a timeout issue a couple of
times. For ex:
{noformat}
Error Message
query_test/test_decimal_fuzz.py:251: in test_decimal_ops
self.execute_one_decimal_op() query_test/test_decimal_fuzz.py:219: in
execute_one_decimal_op result = self.execute_scalar(query,
query_options={'decimal_v2': 'true'}) common/impala_test_suite.py:590: in
wrapper return function(*args, **kwargs) common/impala_test_suite.py:645:
in execute_scalar result = self.__execute_query(self.client, query,
query_options) common/impala_test_suite.py:688: in __execute_query return
impalad_client.execute(query, user=user) common/impala_connection.py:170: in
execute return self.__beeswax_client.execute(sql_stmt, user=user)
beeswax/impala_beeswax.py:182: in execute handle =
self.__execute_query(query_string.strip(), user=user)
beeswax/impala_beeswax.py:359: in __execute_query
self.wait_for_finished(handle) beeswax/impala_beeswax.py:383: in
wait_for_finished time.sleep(0.05) E Failed: Timeout >7200s
Stacktrace
query_test/test_decimal_fuzz.py:251: in test_decimal_ops
self.execute_one_decimal_op()
query_test/test_decimal_fuzz.py:219: in execute_one_decimal_op
result = self.execute_scalar(query, query_options={'decimal_v2': 'true'})
common/impala_test_suite.py:590: in wrapper
return function(*args, **kwargs)
common/impala_test_suite.py:645: in execute_scalar
result = self.__execute_query(self.client, query, query_options)
common/impala_test_suite.py:688: in __execute_query
return impalad_client.execute(query, user=user)
common/impala_connection.py:170: in execute
return self.__beeswax_client.execute(sql_stmt, user=user)
beeswax/impala_beeswax.py:182: in execute
handle = self.__execute_query(query_string.strip(), user=user)
beeswax/impala_beeswax.py:359: in __execute_query
self.wait_for_finished(handle)
beeswax/impala_beeswax.py:383: in wait_for_finished
time.sleep(0.05)
E Failed: Timeout >7200s
{noformat}
2. All these failures also typically cause test_width_bucket to fail with weird
exceptions. So there seems to be a correlation there.
{noformat}
Error Message
query_test/test_decimal_fuzz.py:305: in test_width_bucket
self.execute_one_width_bucket() query_test/test_decimal_fuzz.py:301: in
execute_one_width_bucket raise e E ImpalaBeeswaxException:
ImpalaBeeswaxException: E INNER EXCEPTION: <class
'thrift.Thrift.TApplicationException'> E MESSAGE: query failed: unknown
result
Stacktrace
query_test/test_decimal_fuzz.py:305: in test_width_bucket
self.execute_one_width_bucket()
query_test/test_decimal_fuzz.py:301: in execute_one_width_bucket
raise e
E ImpalaBeeswaxException: ImpalaBeeswaxException:
E INNER EXCEPTION: <class 'thrift.Thrift.TApplicationException'>
E MESSAGE: query failed: unknown result
Standard Error
SET decimal_v2=true;
-- executing against localhost:21000
select width_bucket(cast(-4.1 as decimal(38,11)), cast(-122831.322492 as
decimal(21,12)), cast(1939441130.87066505 as decimal(35,13)), 186450235);
{noformat}
> test_decimal_fuzz.py/test_decimal_ops failing in exhaustive runs
> ----------------------------------------------------------------
>
> Key: IMPALA-7992
> URL: https://issues.apache.org/jira/browse/IMPALA-7992
> Project: IMPALA
> Issue Type: Bug
> Components: Backend
> Affects Versions: Impala 3.2.0
> Reporter: bharath v
> Priority: Blocker
> Labels: broken-build
>
> Error Message
> {noformat}
> query_test/test_decimal_fuzz.py:251: in test_decimal_ops
> self.execute_one_decimal_op() query_test/test_decimal_fuzz.py:247: in
> execute_one_decimal_op assert self.result_equals(expected_result, result) E
> assert <bound method TestDecimalFuzz.result_equals of
> <test_decimal_fuzz.TestDecimalFuzz object at 0xbc23cd0>>(Decimal('-0.80'),
> None) E + where <bound method TestDecimalFuzz.result_equals of
> <test_decimal_fuzz.TestDecimalFuzz object at 0xbc23cd0>> =
> <test_decimal_fuzz.TestDecimalFuzz object at 0xbc23cd0>.result_equals
> {noformat}
> Stacktrace
> {noformat}
> query_test/test_decimal_fuzz.py:251: in test_decimal_ops
> self.execute_one_decimal_op() query_test/test_decimal_fuzz.py:247: in
> execute_one_decimal_op assert self.result_equals(expected_result, result) E
> assert <bound method TestDecimalFuzz.result_equals of
> <test_decimal_fuzz.TestDecimalFuzz object at 0xbc23cd0>>(Decimal('-0.80'),
> None) E + where <bound method TestDecimalFuzz.result_equals of
> <test_decimal_fuzz.TestDecimalFuzz object at 0xbc23cd0>> =
> <test_decimal_fuzz.TestDecimalFuzz object at 0xbc23cd0>.result_equals
> {noformat}
> stderr
> {noformat}
> -- 2018-12-16 00:10:48,905 INFO MainThread: Started query
> aa4b44ad5b34c3fb:24d1838500000000
> SET decimal_v2=true;
> -- executing against localhost:21000
> select cast(-879550566.24 as decimal(11,2)) %
> cast(-10000000000000000000000.000 as decimal(28,5));
> -- 2018-12-16 00:10:48,979 INFO MainThread: Started query
> b24acf22b1607dc6:4f28753000000000
> SET decimal_v2=true;
> -- executing against localhost:21000
> select cast(17179869.184 as decimal(19,7)) /
> cast(-87808593158000679814.7939232649738916 as decimal(38,17));
> -- 2018-12-16 00:10:49,054 INFO MainThread: Started query
> 38435f02022e590a:18f7e9700000000
> SET decimal_v2=true;
> -- executing against localhost:21000
> select cast(9999999999999999999999 as decimal(32,2)) -
> cast(-519203.671959101313 as decimal(18,12));
> -- 2018-12-16 00:10:49,132 INFO MainThread: Started query
> 504edbac7ecb32ce:bfbbbe9300000000
> ~~~~~~~~~~~~~~~~~~~~~ Stack of <unknown> (140061483271936)
> ~~~~~~~~~~~~~~~~~~~~~
> File
> "/data/jenkins/workspace/impala-asf-master-exhaustive-centos6/repos/Impala/infra/python/env/lib/python2.6/site-packages/execnet/gateway_base.py",
> line 277, in _perform_spawn
> reply.run()
> File
> "/data/jenkins/workspace/impala-asf-master-exhaustive-centos6/repos/Impala/infra/python/env/lib/python2.6/site-packages/execnet/gateway_base.py",
> line 213, in run
> self._result = func(*args, **kwargs)
> File
> "/data/jenkins/workspace/impala-asf-master-exhaustive-centos6/repos/Impala/infra/python/env/lib/python2.6/site-packages/execnet/gateway_base.py",
> line 954, in _thread_receiver
> msg = Message.from_io(io)
> File
> "/data/jenkins/workspace/impala-asf-master-exhaustive-centos6/repos/Impala/infra/python/env/lib/python2.6/site-packages/execnet/gateway_base.py",
> line 418, in from_io
> header = io.read(9) # type 1, channel 4, payload 4
> File
> "/data/jenkins/workspace/impala-asf-master-exhaustive-centos6/repos/Impala/infra/python/env/lib/python2.6/site-packages/execnet/gateway_base.py",
> line 386, in read
> data = self._read(numbytes-len(buf))
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]