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

Tablet server crashed when handle scan request

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.12.0
    • 1.13.0
    • None
    • None

    Description

      We found that one of kudu tablet server crashed when handle scan request. The scanned table didn't have any row operations at that time. This issue only came up once so far.

      Coredump stack is:

      Program terminated with signal 11, Segmentation fault.
      (gdb) bt
      #0  kudu::tablet::DeltaApplier::HasNext (this=<optimized out>) at /home/zhangyifan8/work/kudu-xm/src/kudu/tablet/delta_applier.cc:84
      #1  0x0000000002185900 in kudu::UnionIterator::HasNext (this=<optimized out>) at /home/zhangyifan8/work/kudu-xm/src/kudu/common/generic_iterators.cc:1051
      #2  0x0000000000a2ea8f in kudu::tserver::ScannerManager::UnregisterScanner (this=0x4fea140, scanner_id=...) at /home/zhangyifan8/work/kudu-xm/src/kudu/tserver/scanners.cc:195
      #3  0x00000000009e7adf in ~ScopedUnregisterScanner (this=0x7f2d72167610, __in_chrg=<optimized out>) at /home/zhangyifan8/work/kudu-xm/src/kudu/tserver/scanners.h:179
      #4  kudu::tserver::TabletServiceImpl::HandleContinueScanRequest (this=this@entry=0x60edef0, req=req@entry=0x9582e880, rpc_context=rpc_context@entry=0x8151d7800,     result_collector=result_collector@entry=0x7f2d721679f0, has_more_results=has_more_results@entry=0x7f2d721678f9, error_code=error_code@entry=0x7f2d721678fc)    at /home/zhangyifan8/work/kudu-xm/src/kudu/tserver/tablet_service.cc:2737
      #5  0x00000000009fb009 in kudu::tserver::TabletServiceImpl::Scan (this=0x60edef0, req=0x9582e880, resp=0xb87b16de0, context=0x8151d7800)    at /home/zhangyifan8/work/kudu-xm/src/kudu/tserver/tablet_service.cc:1907
      #6  0x000000000210f019 in operator() (__args#2=0x8151d7800, __args#1=0xb87b16de0, __args#0=<optimized out>, this=0x4e0c7708) at /usr/include/c++/4.8.2/functional:2471
      #7  kudu::rpc::GeneratedServiceIf::Handle (this=0x60edef0, call=<optimized out>) at /home/zhangyifan8/work/kudu-xm/src/kudu/rpc/service_if.cc:139
      #8  0x000000000210fcd9 in kudu::rpc::ServicePool::RunThread (this=0x50fb9e0) at /home/zhangyifan8/work/kudu-xm/src/kudu/rpc/service_pool.cc:225
      #9  0x000000000228ecaf in operator() (this=0xc1a58c28) at /usr/include/c++/4.8.2/functional:2471
      #10 kudu::Thread::SuperviseThread (arg=0xc1a58c00) at /home/zhangyifan8/work/kudu-xm/src/kudu/util/thread.cc:674#11 0x00007f2de6b8adc5 in start_thread () from /lib64/libpthread.so.0#12 0x00007f2de4e6873d in clone () from /lib64/libc.so.6
      

       

       

      Attachments

        1. tablet-52a743.log
          17 kB
          YifanZhang

        Activity

          People

            Unassigned Unassigned
            zhangyifan27 YifanZhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: