[jira] [Created] (IMPALA-8924) DCHECK(!closed_) in SpillableRowBatchQueue::IsEmpty

2019-09-06 Thread Sahil Takiar (Jira)
Sahil Takiar created IMPALA-8924:


 Summary: DCHECK(!closed_) in SpillableRowBatchQueue::IsEmpty
 Key: IMPALA-8924
 URL: https://issues.apache.org/jira/browse/IMPALA-8924
 Project: IMPALA
  Issue Type: Sub-task
  Components: Backend
Affects Versions: Impala 3.4.0
Reporter: Sahil Takiar
Assignee: Sahil Takiar


When running exhaustive tests with result spooling enabled, there are several 
impalad crashes with the following stack:
{code:java}
#0  0x7f5e797541f7 in raise () from /lib64/libc.so.6
#1  0x7f5e797558e8 in abort () from /lib64/libc.so.6
#2  0x04cc5834 in google::DumpStackTraceAndExit() ()
#3  0x04cbc28d in google::LogMessage::Fail() ()
#4  0x04cbdb32 in google::LogMessage::SendToLog() ()
#5  0x04cbbc67 in google::LogMessage::Flush() ()
#6  0x04cbf22e in google::LogMessageFatal::~LogMessageFatal() ()
#7  0x029a16cd in impala::SpillableRowBatchQueue::IsEmpty 
(this=0x13d504e0) at 
/data/jenkins/workspace/impala-private-parameterized/repos/Impala/be/src/runtime/spillable-row-batch-queue.cc:128
#8  0x025f5610 in impala::BufferedPlanRootSink::IsQueueEmpty 
(this=0x13943000) at 
/data/jenkins/workspace/impala-private-parameterized/repos/Impala/be/src/exec/buffered-plan-root-sink.h:147
#9  0x025f4e81 in impala::BufferedPlanRootSink::GetNext 
(this=0x13943000, state=0x13d2a1c0, results=0x173c8520, num_results=-1, 
eos=0xd30cde1) at 
/data/jenkins/workspace/impala-private-parameterized/repos/Impala/be/src/exec/buffered-plan-root-sink.cc:158
#10 0x0294ef4d in impala::Coordinator::GetNext (this=0xe4ed180, 
results=0x173c8520, max_rows=-1, eos=0xd30cde1) at 
/data/jenkins/workspace/impala-private-parameterized/repos/Impala/be/src/runtime/coordinator.cc:683
#11 0x02251043 in impala::ClientRequestState::FetchRowsInternal 
(this=0xd30c800, max_rows=-1, fetched_rows=0x173c8520) at 
/data/jenkins/workspace/impala-private-parameterized/repos/Impala/be/src/service/client-request-state.cc:959
#12 0x022503e7 in impala::ClientRequestState::FetchRows 
(this=0xd30c800, max_rows=-1, fetched_rows=0x173c8520) at 
/data/jenkins/workspace/impala-private-parameterized/repos/Impala/be/src/service/client-request-state.cc:851
#13 0x0226a36d in impala::ImpalaServer::FetchInternal (this=0x12d14800, 
request_state=0xd30c800, start_over=false, fetch_size=-1, 
query_results=0x7f5daf861138) at 
/data/jenkins/workspace/impala-private-parameterized/repos/Impala/be/src/service/impala-beeswax-server.cc:582
#14 0x02264970 in impala::ImpalaServer::fetch (this=0x12d14800, 
query_results=..., query_handle=..., start_over=false, fetch_size=-1) at 
/data/jenkins/workspace/impala-private-parameterized/repos/Impala/be/src/service/impala-beeswax-server.cc:188
#15 0x027caf09 in beeswax::BeeswaxServiceProcessor::process_fetch 
(this=0x12d6fc20, seqid=0, iprot=0x119f5780, oprot=0x119f56c0, 
callContext=0xdf92060) at 
/data/jenkins/workspace/impala-private-parameterized/repos/Impala/be/generated-sources/gen-cpp/BeeswaxService.cpp:3398
#16 0x027c94e6 in beeswax::BeeswaxServiceProcessor::dispatchCall 
(this=0x12d6fc20, iprot=0x119f5780, oprot=0x119f56c0, fname=..., seqid=0, 
callContext=0xdf92060) at 
/data/jenkins/workspace/impala-private-parameterized/repos/Impala/be/generated-sources/gen-cpp/BeeswaxService.cpp:3200
#17 0x02796f13 in impala::ImpalaServiceProcessor::dispatchCall 
(this=0x12d6fc20, iprot=0x119f5780, oprot=0x119f56c0, fname=..., seqid=0, 
callContext=0xdf92060) at 
/data/jenkins/workspace/impala-private-parameterized/repos/Impala/be/generated-sources/gen-cpp/ImpalaService.cpp:1824
#18 0x01b3cee4 in apache::thrift::TDispatchProcessor::process 
(this=0x12d6fc20, in=..., out=..., connectionContext=0xdf92060) at 
/data/jenkins/workspace/impala-private-parameterized/Impala-Toolchain/thrift-0.9.3-p7/include/thrift/TDispatchProcessor.h:121
#19 0x01f9bf28 in apache::thrift::server::TAcceptQueueServer::Task::run 
(this=0xdf92000) at 
/data/jenkins/workspace/impala-private-parameterized/repos/Impala/be/src/rpc/TAcceptQueueServer.cpp:84
#20 0x01f9166d in impala::ThriftThread::RunRunnable (this=0x116ddfc0, 
runnable=..., promise=0x7f5db0862e90) at 
/data/jenkins/workspace/impala-private-parameterized/repos/Impala/be/src/rpc/thrift-thread.cc:74
#21 0x01f92d93 in boost::_mfi::mf2, 
impala::Promise*>::operator() 
(this=0x121e7800, p=0x116ddfc0, a1=..., a2=0x7f5db0862e90) at 
/data/jenkins/workspace/impala-private-parameterized/Impala-Toolchain/boost-1.57.0-p3/include/boost/bind/mem_fn_template.hpp:280
#22 0x01f92c29 in 
boost::_bi::list3, 
boost::_bi::value >, 
boost::_bi::value*> 
>::operator(), 
impala::Promise*>, boost::_bi::list0> 
(this=0x121e7810, f=..., a=...) at 

[jira] [Created] (IMPALA-8924) DCHECK(!closed_) in SpillableRowBatchQueue::IsEmpty

2019-09-06 Thread Sahil Takiar (Jira)
Sahil Takiar created IMPALA-8924:


 Summary: DCHECK(!closed_) in SpillableRowBatchQueue::IsEmpty
 Key: IMPALA-8924
 URL: https://issues.apache.org/jira/browse/IMPALA-8924
 Project: IMPALA
  Issue Type: Sub-task
  Components: Backend
Affects Versions: Impala 3.4.0
Reporter: Sahil Takiar
Assignee: Sahil Takiar


When running exhaustive tests with result spooling enabled, there are several 
impalad crashes with the following stack:
{code:java}
#0  0x7f5e797541f7 in raise () from /lib64/libc.so.6
#1  0x7f5e797558e8 in abort () from /lib64/libc.so.6
#2  0x04cc5834 in google::DumpStackTraceAndExit() ()
#3  0x04cbc28d in google::LogMessage::Fail() ()
#4  0x04cbdb32 in google::LogMessage::SendToLog() ()
#5  0x04cbbc67 in google::LogMessage::Flush() ()
#6  0x04cbf22e in google::LogMessageFatal::~LogMessageFatal() ()
#7  0x029a16cd in impala::SpillableRowBatchQueue::IsEmpty 
(this=0x13d504e0) at 
/data/jenkins/workspace/impala-private-parameterized/repos/Impala/be/src/runtime/spillable-row-batch-queue.cc:128
#8  0x025f5610 in impala::BufferedPlanRootSink::IsQueueEmpty 
(this=0x13943000) at 
/data/jenkins/workspace/impala-private-parameterized/repos/Impala/be/src/exec/buffered-plan-root-sink.h:147
#9  0x025f4e81 in impala::BufferedPlanRootSink::GetNext 
(this=0x13943000, state=0x13d2a1c0, results=0x173c8520, num_results=-1, 
eos=0xd30cde1) at 
/data/jenkins/workspace/impala-private-parameterized/repos/Impala/be/src/exec/buffered-plan-root-sink.cc:158
#10 0x0294ef4d in impala::Coordinator::GetNext (this=0xe4ed180, 
results=0x173c8520, max_rows=-1, eos=0xd30cde1) at 
/data/jenkins/workspace/impala-private-parameterized/repos/Impala/be/src/runtime/coordinator.cc:683
#11 0x02251043 in impala::ClientRequestState::FetchRowsInternal 
(this=0xd30c800, max_rows=-1, fetched_rows=0x173c8520) at 
/data/jenkins/workspace/impala-private-parameterized/repos/Impala/be/src/service/client-request-state.cc:959
#12 0x022503e7 in impala::ClientRequestState::FetchRows 
(this=0xd30c800, max_rows=-1, fetched_rows=0x173c8520) at 
/data/jenkins/workspace/impala-private-parameterized/repos/Impala/be/src/service/client-request-state.cc:851
#13 0x0226a36d in impala::ImpalaServer::FetchInternal (this=0x12d14800, 
request_state=0xd30c800, start_over=false, fetch_size=-1, 
query_results=0x7f5daf861138) at 
/data/jenkins/workspace/impala-private-parameterized/repos/Impala/be/src/service/impala-beeswax-server.cc:582
#14 0x02264970 in impala::ImpalaServer::fetch (this=0x12d14800, 
query_results=..., query_handle=..., start_over=false, fetch_size=-1) at 
/data/jenkins/workspace/impala-private-parameterized/repos/Impala/be/src/service/impala-beeswax-server.cc:188
#15 0x027caf09 in beeswax::BeeswaxServiceProcessor::process_fetch 
(this=0x12d6fc20, seqid=0, iprot=0x119f5780, oprot=0x119f56c0, 
callContext=0xdf92060) at 
/data/jenkins/workspace/impala-private-parameterized/repos/Impala/be/generated-sources/gen-cpp/BeeswaxService.cpp:3398
#16 0x027c94e6 in beeswax::BeeswaxServiceProcessor::dispatchCall 
(this=0x12d6fc20, iprot=0x119f5780, oprot=0x119f56c0, fname=..., seqid=0, 
callContext=0xdf92060) at 
/data/jenkins/workspace/impala-private-parameterized/repos/Impala/be/generated-sources/gen-cpp/BeeswaxService.cpp:3200
#17 0x02796f13 in impala::ImpalaServiceProcessor::dispatchCall 
(this=0x12d6fc20, iprot=0x119f5780, oprot=0x119f56c0, fname=..., seqid=0, 
callContext=0xdf92060) at 
/data/jenkins/workspace/impala-private-parameterized/repos/Impala/be/generated-sources/gen-cpp/ImpalaService.cpp:1824
#18 0x01b3cee4 in apache::thrift::TDispatchProcessor::process 
(this=0x12d6fc20, in=..., out=..., connectionContext=0xdf92060) at 
/data/jenkins/workspace/impala-private-parameterized/Impala-Toolchain/thrift-0.9.3-p7/include/thrift/TDispatchProcessor.h:121
#19 0x01f9bf28 in apache::thrift::server::TAcceptQueueServer::Task::run 
(this=0xdf92000) at 
/data/jenkins/workspace/impala-private-parameterized/repos/Impala/be/src/rpc/TAcceptQueueServer.cpp:84
#20 0x01f9166d in impala::ThriftThread::RunRunnable (this=0x116ddfc0, 
runnable=..., promise=0x7f5db0862e90) at 
/data/jenkins/workspace/impala-private-parameterized/repos/Impala/be/src/rpc/thrift-thread.cc:74
#21 0x01f92d93 in boost::_mfi::mf2, 
impala::Promise*>::operator() 
(this=0x121e7800, p=0x116ddfc0, a1=..., a2=0x7f5db0862e90) at 
/data/jenkins/workspace/impala-private-parameterized/Impala-Toolchain/boost-1.57.0-p3/include/boost/bind/mem_fn_template.hpp:280
#22 0x01f92c29 in 
boost::_bi::list3, 
boost::_bi::value >, 
boost::_bi::value*> 
>::operator(), 
impala::Promise*>, boost::_bi::list0> 
(this=0x121e7810, f=..., a=...) at