(gdb) p probe_rows->num_rows_ $8 = 163742 (gdb) do #6 0x0000000001470d7e in impala::BufferedTupleStream::num_rows (this=0x0) at <== this is 0x0 -- SEGV /usr/src/debug/impala-2.1.0-cdh5.3.0/be/src/runtime/buffered-tuple-stream.h:232 232 /usr/src/debug/impala-2.1.0-cdh5.3.0/be/src/runtime/buffered-tuple-stream.h: No such file or directory. (gdb) up #7 0x000000000154dbe0 in impala::PartitionedHashJoinNode::NextSpilledProbeRowBatch (this=0xaa47538, state=0xee5e27 , out_batch=0x300000000) at /usr/src/debug/impala-2.1.0-cdh5.3.0/be/src/exec/partitioned-hash-join-node.cc:631 631 /usr/src/debug/impala-2.1.0-cdh5.3.0/be/src/exec/partitioned-hash-join-node.cc: No such file or directory. (gdb) p input_partition_->build_rows_ Cannot access memory at address 0x6f633c7269617052 (gdb) p input_partition_ $9 = (impala::PartitionedHashJoinNode::Partition *) 0x6f633c726961703a (gdb) p *input_partition_ <== this is hosed Cannot access memory at address 0x6f633c726961703a (gdb) up #7 0x000000000154dbe0 in impala::PartitionedHashJoinNode::NextSpilledProbeRowBatch (this=0xaa47538, state=0xee5e27 , out_batch=0x300000000) at /usr/src/debug/impala-2.1.0-cdh5.3.0/be/src/exec/partitioned-hash-join-node.cc:631 631 /usr/src/debug/impala-2.1.0-cdh5.3.0/be/src/exec/partitioned-hash-join-node.cc: No such file or directory. (gdb) p input_partition_->build_rows_ Cannot access memory at address 0x6f633c7269617052 (gdb) p input_partition_ $9 = (impala::PartitionedHashJoinNode::Partition *) 0x6f633c726961703a (gdb) p *input_partition_ Cannot access memory at address 0x6f633c726961703a (gdb) p *probe_rows $10 = {use_small_buffers_ = false, delete_on_read_ = true, read_write_ = false, state_ = 0x0, desc_ = @0x0, nullable_tuple_ = false, fixed_tuple_row_size_ = 0, null_indicators_read_block_ = 0, null_indicators_write_block_ = 0, string_slots_ = { > >, std::allocator > > > >> = { _M_impl = { > > >> = {<__gnu_cxx::new_allocator > > >> = {}, }, _M_start = 0x0, _M_finish = 0x8000000000000000, _M_end_of_storage = 0x92bca}}, }, block_mgr_ = 0xa00000000017fbea, block_mgr_client_ = 0x9e101, blocks_ = { >> = { _M_impl = { >> = {<__gnu_cxx::new_allocator >> = {}, }, _M_node = {_M_next = 0x4000000000000000, _M_prev = 0x400000000009f623}}}, }, total_byte_size_ = 4611686018427944704, read_block_ = {_M_node = 0x95000000000aed60}, block_start_idx_ = { >> = { _M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_start = 0x17000000000186c0, _M_finish = 0x35a5d6, _M_end_of_storage = 0x100000000000000}}, }, read_ptr_ = 0x4d2000000020
, read_tuple_idx_ = 0, write_tuple_idx_ = 2147483648, read_bytes_ = -9223372036853551781, rows_returned_ = 1224007, read_block_idx_ = 561298, write_block_ = 0x27fa9, num_pinned_ = 0, num_small_blocks_ = -268435456, closed_ = 157, status_ = { error_detail_ = 0xb0000000000c5b70}, num_rows_ = 163742, pinned_ = 160, pin_timer_ = 0xd0000000004741ae, unpin_timer_ = 0x4741ae, get_new_block_timer_ = 0x0} (gdb) p probe_rows->num_rows_ $11 = 163742 (gdb) p probe_rows->rows_returned_ <== rows_returned_ >> num_rows_ does not look correct $12 = 1224007 (gdb) (gdb) i locals __status__ = {error_detail_ = 0x7f1a343a0d00} SCOPED_TIMER3 = {sw_ = {start_ = {tv_sec = 25617611, tv_nsec = 876684951}, total_time_ = 0, running_ = true}, counter_ = 0x9c59770} (gdb) p probe_batch_pos_ $14 = -1 (gdb) do #8 0x000000000154f484 in impala::PartitionedHashJoinNode::GetNext (this=0x847d600, state=0x17fbea00, out_batch=0x9e101a0, eos=0x9e33029) at /usr/src/debug/impala-2.1.0-cdh5.3.0/be/src/exec/partitioned-hash-join-node.cc:793 793 in /usr/src/debug/impala-2.1.0-cdh5.3.0/be/src/exec/partitioned-hash-join-node.cc (gdb) p input_partition_ $15 = (impala::PartitionedHashJoinNode::Partition *) 0x8b03da0 (gdb) do #7 0x000000000154dbe0 in impala::PartitionedHashJoinNode::NextSpilledProbeRowBatch (this=0xaa47538, state=0xee5e27 , out_batch=0x300000000) at /usr/src/debug/impala-2.1.0-cdh5.3.0/be/src/exec/partitioned-hash-join-node.cc:631 631 in /usr/src/debug/impala-2.1.0-cdh5.3.0/be/src/exec/partitioned-hash-join-node.cc (gdb) p input_partition_ $16 = (impala::PartitionedHashJoinNode::Partition *) 0x6f633c726961703a (gdb) up #8 0x000000000154f484 in impala::PartitionedHashJoinNode::GetNext (this=0x847d600, state=0x17fbea00, out_batch=0x9e101a0, eos=0x9e33029) at /usr/src/debug/impala-2.1.0-cdh5.3.0/be/src/exec/partitioned-hash-join-node.cc:793 793 in /usr/src/debug/impala-2.1.0-cdh5.3.0/be/src/exec/partitioned-hash-join-node.cc (gdb) p input_partition_->build_rows_->num_rows_ Cannot access memory at address 0xd0 (gdb) p ouput_build_partitions_ No symbol "ouput_build_partitions_" in current context. (gdb) p output_build_partitions_ $17 = { >> = { _M_impl = { >> = {<__gnu_cxx::new_allocator >> = {}, }, _M_node = {_M_next = 0x847d9d8, _M_prev = 0x847d9d8}}}, }