Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-252

Check failure in backend if new scan with range predicate but without projection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • M3
    • n/a
    • tserver
    • n/a

    Description

      I had a bug in my scanner where the projection wasn't being set in the PB struct, but the predicates were. I got this from the tablet server:

      F0507 14:04:51.043179 64635 scan_predicate.cc:54] Check failed: col_idx >= 0 (-1 vs. 0) bad col: string_val[string NULLABLE]
      *** Check failure stack trace: ***
      *** Aborted at 1399496691 (unix time) try "date -d @1399496691" if you are using GNU date ***
      PC: @     0x7fa549f79f79 (unknown)
      *** SIGABRT (@0x3e80000fbe3) received by PID 64483 (TID 0x7fa539b64700) from PID 64483; stack trace: ***
          @     0x7fa54b6a2340 (unknown)
          @     0x7fa549f79f79 (unknown)
          @     0x7fa549f7d388 (unknown)
          @     0x7fa54ab34516 google::logging_fail()
          @     0x7fa54ab3450a google::LogMessage::Fail()
          @     0x7fa54ab33da9 google::LogMessage::SendToLog()
          @     0x7fa54ab3421f google::LogMessage::Flush()
          @     0x7fa54ab37d2d google::LogMessageFatal::~LogMessageFatal()
          @           0xcc4f9b kudu::ColumnRangePredicate::Evaluate()
          @           0xc9a02f kudu::PredicateEvaluatingIterator::MaterializeBlock()
          @           0xc9734d kudu::UnionIterator::MaterializeBlock()
          @           0xa2d965 kudu::tablet::Tablet::Iterator::MaterializeBlock()
          @           0x90b487 kudu::RowwiseIterator::CopyBlock()
          @           0x905f94 kudu::tserver::TabletServiceImpl::HandleContinueScanRequest()
          @           0x905351 kudu::tserver::TabletServiceImpl::HandleNewScanRequest()
          @           0x903f1f kudu::tserver::TabletServiceImpl::Scan()
          @           0xb4b8ac kudu::tserver::TabletServerServiceIf::Handle()
          @           0xb6af7a kudu::rpc::ServicePool::RunThread()
          @           0xb6d5c2 boost::_mfi::mf0<>::operator()()
          @           0xb6d525 boost::_bi::list1<>::operator()<>()
          @           0xb6d4bf boost::_bi::bind_t<>::operator()()
          @           0xb6d26d boost::detail::function::void_function_obj_invoker0<>::invoke()
          @           0xa6c7eb boost::function0<>::operator()()
          @           0xd1e996 kudu::Thread::SuperviseThread()
          @           0xd222e1 boost::_mfi::mf2<>::operator()()
          @           0xd221cc boost::_bi::list3<>::operator()<>()
          @           0xd2211f boost::_bi::bind_t<>::operator()()
          @           0xd2133c boost::detail::thread_data<>::run()
          @     0x7fa54babfa4a (unknown)
          @     0x7fa54b69a182 start_thread
          @     0x7fa54a03e30d (unknown)
      

      Ideally, the tablet server would handle this gracefully.

      Attachments

        Issue Links

          Activity

            People

              tlipcon Todd Lipcon
              adar Adar Dembo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: