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

Crash in Frontend::ExecHiveServer2MetadataOp()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • Impala 2.8.0
    • None
    • Frontend
    • ghx-label-2

    Description

      Frontend::ExecHiveServer2MetadataOp() seems to trigger a JNI exception, which results in a segmentation fault in libjvm.so!jni_GetStringUTFChar.

      Here is the stack trace of the crashing thread from a minidump.

       0  libjvm.so!jni_GetStringUTFChars + 0xb8
       1  impalad!impala::JniUtil::GetJniExceptionMsg(JNIEnv_*, bool, std::string const&) [jni.h : 1617 + 0x19]
       2  impalad!impala::Frontend::ExecHiveServer2MetadataOp(impala::TMetadataOpRequest const&, impala::TResultSet*) [jni-util.h : 266 + 0x2c]
       3  impalad!impala::ImpalaServer::QueryExecState::Exec(impala::TMetadataOpRequest const&) [query-exec-state.cc : 571 + 0x1c]
       4  impalad!impala::ImpalaServer::ExecuteMetadataOp(apache::hive::service::cli::thrift::THandleIdentifier const&, impala::TMetadataOpRequest*, apache::hive::service::cli::thrift::TOperationHandle*, apache::hive::service::cli::thrift::TStatus*) [impala-hs2-server.cc : 145 + 0x23]
       5  impalad!impala::ImpalaServer::GetSchemas(apache::hive::service::cli::thrift::TGetSchemasResp&, apache::hive::service::cli::thrift::TGetSchemasReq const&) [impala-hs2-server.cc : 526 + 0x5]
       6  impalad!apache::hive::service::cli::thrift::TCLIServiceProcessor::process_GetSchemas(int, apache::thrift::protocol::TProtocol*, apache::thrift::protocol::TProtocol*, void*) [TCLIService.cpp : 4857 + 0x6]
       7  impalad!apache::hive::service::cli::thrift::TCLIServiceProcessor::dispatchCall(apache::thrift::protocol::TProtocol*, apache::thrift::protocol::TProtocol*, std::string const&, int, void*) [TCLIService.cpp : 4506 + 0x15]
       8  impalad!apache::thrift::TDispatchProcessor::process(boost::shared_ptr<apache::thrift::protocol::TProtocol>, boost::shared_ptr<apache::thrift::protocol::TProtocol>, void*) [TDispatchProcessor.h : 121 + 0x1c]
       9  impalad!apache::thrift::server::TThreadPoolServer::Task::run() + 0x22b
      10  impalad!apache::thrift::concurrency::ThreadManager::Worker::run() + 0x2c9
      11  impalad!impala::ThriftThread::RunRunnable(boost::shared_ptr<apache::thrift::concurrency::Runnable>, impala::Promise<unsigned long>*) [thrift-thread.cc : 64 + 0x6]
      12  impalad!boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf2<void, impala::ThriftThread, boost::shared_ptr<apache::thrift::concurrency::Runnable>, impala::Promise<unsigned long>*>, boost::_bi::list3<boost::_bi::value<impala::ThriftThread*>, boost::_bi::value<boost::shared_ptr<apache::thrift::concurrency::Runnable> >, boost::_bi::value<impala::Promise<unsigned long>*> > >, void>::invoke(boost::detail::function::function_buffer&) [mem_fn_template.hpp : 280 + 0xf]
      13  impalad!impala::Thread::SuperviseThread(std::string const&, std::string const&, boost::function<void ()>, impala::Promise<long>*) [function_template.hpp : 767 + 0x7]
      14  impalad!boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(std::string const&, std::string const&, boost::function<void ()>, impala::Promise<long>*), boost::_bi::list4<boost::_bi::value<std::string>, boost::_bi::value<std::string>, boost::_bi::value<boost::function<void ()> >, boost::_bi::value<impala::Promise<long>*> > > >::run() [bind.hpp : 457 + 0x6]
      15  impalad!thread_proxy + 0xda
      16  libpthread-2.12.so!start_thread + 0xd1
      17  libc-2.12.so!clone + 0x6d
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lv Lars Volker
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: