Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-1501

Crash: impala::ThreadResourceMgr::ResourcePool::SetThreadAvailableCb

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • Impala 2.1
    • Impala 2.1
    • None

    Description

      QUERY:

      SELECT
      t1.month,
      t2.date_string_col,
      GREATEST(COALESCE(t1.double_col, 494.49274489), COALESCE(t2.bigint_col, -398)) AS float_col
      FROM alltypestiny t1
      RIGHT JOIN alltypestiny t2 ON (t2.int_col) = (t1.int_col)
      

      STACK:

      #0  0x0000003a0ca32635 in raise () from /lib64/libc.so.6
      #0  0x0000003a0ca32635 in raise () from /lib64/libc.so.6
      #1  0x0000003a0ca33e15 in abort () from /lib64/libc.so.6
      #2  0x0000000001e62489 in google::DumpStackTraceAndExit () at src/utilities.cc:147
      #3  0x0000000001e59b8d in google::LogMessage::Fail () at src/logging.cc:1296
      #4  0x0000000001e5d617 in google::LogMessage::SendToLog (this=0x7f26d704b260) at src/logging.cc:1250
      #5  0x0000000001e5cb76 in google::LogMessage::Flush (this=0x7f26d704b260) at src/logging.cc:1119
      #6  0x0000000001e5daad in google::LogMessageFatal::~LogMessageFatal (this=0x7f26d704b260, __in_chrg=<value optimized out>) at src/logging.cc:1817
      #7  0x0000000000f0257e in impala::ThreadResourceMgr::ResourcePool::SetThreadAvailableCb (this=0x6a42de0, fn=...) at /data/9/query-gen/Impala/be/src/runtime/thread-resource-mgr.cc:91
      #8  0x00000000013fa992 in impala::HdfsScanNode::Open (this=0x8d0a100, state=0x7546000) at /data/9/query-gen/Impala/be/src/exec/hdfs-scan-node.cc:538
      #9  0x000000000149c153 in impala::PartitionedHashJoinNode::ConstructBuildSide (this=0x43a9180, state=0x7546000) at /data/9/query-gen/Impala/be/src/exec/partitioned-hash-join-node.cc:477
      #10 0x00000000014d87cd in impala::BlockingJoinNode::BuildSideThread (this=0x43a9180, state=0x7546000, status=0x7f26d5c49270) at /data/9/query-gen/Impala/be/src/exec/blocking-join-node.cc:133
      #11 0x00000000014da30e in boost::_mfi::mf2<void, impala::BlockingJoinNode, impala::RuntimeState*, impala::Promise<impala::Status>*>::operator() (this=0x6f68b70, p=0x43a9180, a1=0x7546000, a2=0x7f26d5c49270) at /usr/include/boost/bind/mem_fn_template.hpp:280
      #12 0x00000000014da1ba in boost::_bi::list3<boost::_bi::value<impala::BlockingJoinNode*>, boost::_bi::value<impala::RuntimeState*>, boost::_bi::value<impala::Promise<impala::Status>*> >::operator()<boost::_mfi::mf2<void, impala::BlockingJoinNode, impala::RuntimeState*, impala::Promise<impala::Status>*>, boost::_bi::list0> (this=0x6f68b80, f=..., a=...) at /usr/include/boost/bind/bind.hpp:392
      #13 0x00000000014d9f59 in boost::_bi::bind_t<void, boost::_mfi::mf2<void, impala::BlockingJoinNode, impala::RuntimeState*, impala::Promise<impala::Status>*>, boost::_bi::list3<boost::_bi::value<impala::BlockingJoinNode*>, boost::_bi::value<impala::RuntimeState*>, boost::_bi::value<impala::Promise<impala::Status>*> > >::operator() (this=0x6f68b70) at /usr/include/boost/bind/bind_template.hpp:20
      #14 0x00000000014d9e8d in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf2<void, impala::BlockingJoinNode, impala::RuntimeState*, impala::Promise<impala::Status>*>, boost::_bi::list3<boost::_bi::value<impala::BlockingJoinNode*>, boost::_bi::value<impala::RuntimeState*>, boost::_bi::value<impala::Promise<impala::Status>*> > >, void>::invoke (function_obj_ptr=...) at /usr/include/boost/function/function_template.hpp:153
      #15 0x0000000000ee7b9f in boost::function0<void>::operator() (this=0x7f26d704bcd0) at /usr/include/boost/function/function_template.hpp:1013
      #16 0x0000000001123f9c in impala::Thread::SuperviseThread (name="build thread", category="PartitionedHashJoinNode", functor=..., thread_started=0x7f26d5c49070) at /data/9/query-gen/Impala/be/src/util/thread.cc:311
      #17 0x000000000112c334 in boost::_bi::list4<boost::_bi::value<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, boost::_bi::value<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, boost::_bi::value<boost::function<void()> >, boost::_bi::value<impala::Promise<long int>*> >::operator()<void (*)(const std::string&, const std::string&, impala::Thread::ThreadFunctor, impala::Promise<long int>*), boost::_bi::list0>(boost::_bi::type<void>, void (*&)(const std::string &, const std::string &, impala::Thread::ThreadFunctor, impala::Promise<long> *), boost::_bi::list0 &, int) (this=0x6a46370, f=@0x6a46368, a=...) at /usr/include/boost/bind/bind.hpp:457
      #18 0x000000000112c27b in boost::_bi::bind_t<void, void (*)(const std::string&, const std::string&, impala::Thread::ThreadFunctor, impala::Promise<long int>*), boost::_bi::list4<boost::_bi::value<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, boost::_bi::value<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, boost::_bi::value<boost::function<void()> >, boost::_bi::value<impala::Promise<long int>*> > >::operator()(void) (this=0x6a46368) at /usr/include/boost/bind/bind_template.hpp:20
      #19 0x000000000112c208 in boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(const std::string&, const std::string&, impala::Thread::ThreadFunctor, impala::Promise<long int>*), boost::_bi::list4<boost::_bi::value<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, boost::_bi::value<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, boost::_bi::value<boost::function<void()> >, boost::_bi::value<impala::Promise<long int>*> > > >::run(void) (this=0x6a461e0) at /usr/include/boost/thread/detail/thread.hpp:61
      #20 0x0000000001546d04 in thread_proxy ()
      #21 0x0000003a0ce079d1 in start_thread () from /lib64/libpthread.so.0
      #22 0x0000003a0cae886d in clone () from /lib64/libc.so.6
      

      DB: functional
      File Format: text/none

      Attachments

        Activity

          People

            mgrund_impala_bb91 Martin Grund
            tarasbob Taras Bobrovytsky
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: