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 "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/08/16 00:30:01 UTC

[jira] [Commented] (IMPALA-2256) Failed DCHECK(idx <= IDX_MASK >> IDX_SHIFT) in RowIdx::set

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

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

Commit 29905d1ea41b3c0e7ceebf913981173292dfffbf in impala's branch refs/heads/master from [~tarmstrong@cloudera.com]
[ https://git-wip-us.apache.org/repos/asf?p=impala.git;h=29905d1 ]

IMPALA-7442: reduce mem requirement of semi-joins-exhaustive

The test started running into IMPALA-7446, maybe because of
a timing change. This appears to have always been possible.

The fix is to reduce the memory requirement of the test.
IMPALA-2256 is no longer really possible because the
BufferedTupleStream code was simplified to avoid the 32-bit
row index limitation, so we're not losing important coverage
on the current code with this change.

Testing:
Ran test in a loop to confirm it did not OOM.

Change-Id: I9d9480cad6bf8222abe990e7046498a0531e2849
Reviewed-on: http://gerrit.cloudera.org:8080/11223
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> Failed DCHECK(idx <= IDX_MASK >> IDX_SHIFT) in RowIdx::set
> ----------------------------------------------------------
>
>                 Key: IMPALA-2256
>                 URL: https://issues.apache.org/jira/browse/IMPALA-2256
>             Project: IMPALA
>          Issue Type: Bug
>    Affects Versions: Impala 2.3.0
>            Reporter: Taras Bobrovytsky
>            Assignee: Ippokratis Pandis
>            Priority: Blocker
>              Labels: crash, query_generator
>             Fix For: Impala 2.3.0, Impala 2.2.8
>
>
> Impala Commit Git Hash: af46f26
> DB: Functional
> Query:
> {code}
> SELECT
> COALESCE(COALESCE(366, NULL, 668), LEAD(225, 20) OVER (ORDER BY t1.int_col DESC, t1.string_col DESC)) AS int_col
> FROM alltypesagg t1
> WHERE
> (t1.int_col) IN (SELECT
> -95.27 AS decimal_col
> FROM alltypesagg t1
> CROSS JOIN alltypesagg t2)
> {code}
> This query causes a crash every time I run it, so it's easy to reproduce.
> Stack Trace:
> {code}
> __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
> 56	../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
> __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
> __GI_abort () at abort.c:89
> google::DumpStackTraceAndExit () at src/utilities.cc:147
> google::LogMessage::Fail () at src/logging.cc:1315
> google::LogMessage::SendToLog (this=0x7f3e52a28450) at src/logging.cc:1269
> google::LogMessage::Flush (this=this@entry=0x7f3e52a28450) at src/logging.cc:1138
> google::LogMessageFatal::~LogMessageFatal (this=0x7f3e52a28450, __in_chrg=) at src/logging.cc:1836
> impala::BufferedTupleStream::RowIdx::set (this=0x13cae000, block=0, offset=0, idx=16777216) at /home/dev/Impala/be/src/runtime/buffered-tuple-stream.h:146
> impala::BufferedTupleStream::GetNextInternal (this=0x123e4000, batch=0x7f3e52a287d0, eos=0x7f3e52a28730, indices=0x7f3e52a28660) at /home/dev/Impala/be/src/runtime/buffered-tuple-stream.cc:525
> impala::BufferedTupleStream::GetNext (this=0x123e4000, batch=0x7f3e52a287d0, eos=0x7f3e52a28730, indices=0x0) at /home/dev/Impala/be/src/runtime/buffered-tuple-stream.cc:452
> impala::PartitionedHashJoinNode::ProcessBuildInput (this=0xd384800, state=0x10622d00, level=1) at /home/dev/Impala/be/src/exec/partitioned-hash-join-node.cc:572
> impala::PartitionedHashJoinNode::PrepareNextPartition (this=0xd384800, state=0x10622d00) at /home/dev/Impala/be/src/exec/partitioned-hash-join-node.cc:722
> impala::PartitionedHashJoinNode::GetNext (this=0xd384800, state=0x10622d00, out_batch=0x7f3e52a28e50, eos=0x7f3e52a28e3f) at /home/dev/Impala/be/src/exec/partitioned-hash-join-node.cc:882
> impala::SortNode::SortInput (this=0x12290800, state=0x10622d00) at /home/dev/Impala/be/src/exec/sort-node.cc:155
> impala::SortNode::Open (this=0x12290800, state=0x10622d00) at /home/dev/Impala/be/src/exec/sort-node.cc:76
> impala::PlanFragmentExecutor::OpenInternal (this=0x10620210) at /home/dev/Impala/be/src/runtime/plan-fragment-executor.cc:334
> impala::PlanFragmentExecutor::Open (this=0x10620210) at /home/dev/Impala/be/src/runtime/plan-fragment-executor.cc:320
> impala::FragmentMgr::FragmentExecState::Exec (this=0x10620000) at /home/dev/Impala/be/src/service/fragment-exec-state.cc:50
> impala::FragmentMgr::FragmentExecThread (this=0x93bf7a0, exec_state=0x10620000) at /home/dev/Impala/be/src/service/fragment-mgr.cc:70
> boost::_mfi::mf1::operator() (this=0x143d7420, p=0x93bf7a0, a1=0x10620000) at /usr/include/boost/bind/mem_fn_template.hpp:165
> boost::_bi::list2, boost::_bi::value >::operator(), boost::_bi::list0> (this=0x143d7430, f=..., a=...) at /usr/include/boost/bind/bind.hpp:313
> boost::_bi::bind_t, boost::_bi::list2, boost::_bi::value > >::operator() (this=0x143d7420) at /usr/include/boost/bind/bind_template.hpp:20
> boost::detail::function::void_function_obj_invoker0, boost::_bi::list2, boost::_bi::value > >, void>::invoke (function_obj_ptr=...) at /usr/include/boost/function/function_template.hpp:153
> boost::function0::operator() (this=0x7f3e52a29e00) at /usr/include/boost/function/function_template.hpp:767
> impala::Thread::SuperviseThread(std::string const&, std::string const&, boost::function, impala::Promise*) (name=..., category=..., functor=..., thread_started=0x7f3e4c895eb0) at /home/dev/Impala/be/src/util/thread.cc:314
> boost::_bi::list4, boost::_bi::value, boost::_bi::value >, boost::_bi::value*> >::operator(), impala::Promise*), boost::_bi::list0>(boost::_bi::type, void (*&)(std::string const&, std::string const&, boost::function, impala::Promise*), boost::_bi::list0&, int) (this=0xd4c97c0, f=@0xd4c97b8: 0x142acf4 , impala::Promise*)>, a=...) at /usr/include/boost/bind/bind.hpp:457
> boost::_bi::bind_t, impala::Promise*), boost::_bi::list4, boost::_bi::value, boost::_bi::value >, boost::_bi::value*> > >::operator()() (this=0xd4c97b8) at /usr/include/boost/bind/bind_template.hpp:20
> boost::detail::thread_data, impala::Promise*), boost::_bi::list4, boost::_bi::value, boost::_bi::value >, boost::_bi::value*> > > >::run() (this=0xd4c9600) at /usr/include/boost/thread/detail/thread.hpp:117
> ?? () from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.54.0
> start_thread (arg=0x7f3e52a2a700) at pthread_create.c:312
> clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
> {code}
> This may be related to IMPALA-2071



--
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