[ 
https://issues.apache.org/jira/browse/IMPALA-7992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16726228#comment-16726228
 ] 

ASF subversion and git services commented on IMPALA-7992:
---------------------------------------------------------

Commit 5bf81cdc2797f986189aec4e78ebff2c2d1ed1b6 in impala's branch 
refs/heads/master from Bharath Vissapragada
[ https://git-wip-us.apache.org/repos/asf?p=impala.git;h=5bf81cd ]

IMPALA-7992: Revert "Symbolize stacktraces in debug builds."

This reverts commit 40caf7898cae163d4f8c5b7831341bc55c3bcf35.

This commit is causing decimal test failures on certain exhaustive
debug builds deterministically (IMPALA-7992). With the revert I could
confirm the test passes fine. I'm reverting this while we fix the
underlying issue.

test_width_bucket repeatedly dumps the following stack trace, which is likely
causing high CPU usage during symbolization.

I1219 19:26:12.834262  5201 status.cc:128] AnalysisException: Cannot
resolve DECIMAL types of the width_bucket(DECIMAL(14,4), DECIMAL(21,13),
DECIMAL(38,0), INT) function arguments. You need to wrap the arguments
in a CAST.
    @          0x1a36d56  impala::Status::Status()
    @          0x215ef28  impala::JniUtil::GetJniExceptionMsg()
    @          0x1ff0a01  impala::JniCall::Call<>()
    @          0x1fedc5d  impala::JniUtil::CallJniMethod<>()
    @          0x1fec68c  impala::Frontend::GetExecRequest()
    @          0x2016a8a  impala::ImpalaServer::ExecuteInternal()
    @          0x201659e  impala::ImpalaServer::Execute()
    @          0x208c008  impala::ImpalaServer::query()
    @          0x257e937  beeswax::BeeswaxServiceProcessor::process_query()
    @          0x257e685  beeswax::BeeswaxServiceProcessor::dispatchCall()
    @          0x2553e56  impala::ImpalaServiceProcessor::dispatchCall()
    @          0x19e0165  apache::thrift::TDispatchProcessor::process()
    @          0x1e28cb4  
apache::thrift::server::TAcceptQueueServer::Task::run()
    @          0x1e1fcc0  impala::ThriftThread::RunRunnable()
    @          0x1e213e6  boost::_mfi::mf2<>::operator()()
    @          0x1e2127c  boost::_bi::list3<>::operator()<>()
    @          0x1e20fc8  boost::_bi::bind_t<>::operator()()
    @          0x1e20edb  
boost::detail::function::void_function_obj_invoker0<>::invoke()
    @          0x1d448e1  boost::function0<>::operator()()
    @          0x21ca604  impala::Thread::SuperviseThread()
    @          0x21d2924  boost::_bi::list5<>::operator()<>()
    @          0x21d2848  boost::_bi::bind_t<>::operator()()
    @          0x21d280b  boost::detail::thread_data<>::run()
    @          0x36b8549  thread_proxy
    @       0x3ff5207850  (unknown)
    @       0x3ff4ee894c  (unknown)

Change-Id: I3646c9cb1c4db9f5295ff7f80d73acca746d296f
Reviewed-on: http://gerrit.cloudera.org:8080/12115
Reviewed-by: Bharath Vissapragada <bhara...@cloudera.com>
Reviewed-by: Tim Armstrong <tarmstr...@cloudera.com>
Tested-by: Bharath Vissapragada <bhara...@cloudera.com>


> 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
>            Assignee: Csaba Ringhofer
>            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: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to