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

thread-resource-mgr.cc:92] Check failed: thread_available_fn_ == __null || fn == __null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • Impala 2.5.0
    • Impala 2.5.0
    • Backend
    • None

    Description

      In IMPALA-3063 the query below gives an analysis error about the query only working for a single node plan. So I tried setting NUM_NODES=1 and there was a dcheck failure.

      [localhost:21000] > use functional;
      Query: use functional
      
      [localhost:21000] > set num_nodes=1;
      NUM_NODES set to 1
      
      [localhost:21000] > SELECT 1
      FROM alltypes a1
      LEFT JOIN alltypes a2 ON a2.tinyint_col >= 1;
      Query: select 1
      FROM alltypes a1
      LEFT JOIN alltypes a2 ON a2.tinyint_col >= 1
      Socket error 104: Connection reset by peer
      
      F0223 12:41:58.164899 30303 thread-resource-mgr.cc:92] Check failed: thread_available_fn_ == __null || fn == __null
      *** Check failure stack trace: ***
          @     0x7f0bac2c524d  google::LogMessage::Fail()
          @     0x7f0bac2c7b76  google::LogMessage::SendToLog()
          @     0x7f0bac2c4d6d  google::LogMessage::Flush()
          @     0x7f0bac2c861e  google::LogMessageFatal::~LogMessageFatal()
          @     0x7f0bae5a7394  impala::ThreadResourceMgr::ResourcePool::SetThreadAvailableCb()
          @     0x7f0bb02d7dcb  impala::HdfsScanNode::Open()
          @     0x7f0bb0238884  impala::BlockingJoinNode::Open()
          @     0x7f0bb03dfcef  impala::NestedLoopJoinNode::Open()
          @     0x7f0bae5660e7  impala::PlanFragmentExecutor::OpenInternal()
          @     0x7f0bae565263  impala::PlanFragmentExecutor::Open()
          @     0x7f0bae438525  impala::Coordinator::Wait()
          @     0x7f0badd6fa03  impala::ImpalaServer::QueryExecState::WaitInternal()
          @     0x7f0badd6f6aa  impala::ImpalaServer::QueryExecState::Wait()
          @     0x7f0badd92a39  boost::_mfi::mf0<>::operator()()
          @     0x7f0badd929a0  boost::_bi::list1<>::operator()<>()
          @     0x7f0badd9294a  boost::_bi::bind_t<>::operator()()
          @     0x7f0badd9272d  boost::detail::function::void_function_obj_invoker0<>::invoke()
          @           0x6d3e88  boost::function0<>::operator()()
          @     0x7f0bacbe1f11  impala::Thread::SuperviseThread()
          @     0x7f0bacbe9a36  boost::_bi::list4<>::operator()<>()
          @     0x7f0bacbe997a  boost::_bi::bind_t<>::operator()()
          @     0x7f0bacbe950c  boost::detail::thread_data<>::run()
          @           0x7c91aa  thread_proxy
          @     0x7f0baab5edc5  start_thr
      
      void ThreadResourceMgr::ResourcePool::SetThreadAvailableCb(ThreadAvailableCb fn) {
        unique_lock<mutex> l(lock_);
        DCHECK(thread_available_fn_ == NULL || fn == NULL);
        thread_available_fn_ = fn;
      }
      

      Version:

      ☁  Impala  git log -1
      commit a2a78d4a69c9ab241fc54d2c86275c2c9651dafc
      

      Attachments

        Issue Links

          Activity

            People

              kwho Michael Ho
              caseyc casey
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: