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

HdfsScanners drops Status on the floor in multiple places

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • Impala 2.8.0
    • Impala 2.8.0
    • Backend
    • None

    Description

      I was playing around with _attribute_((warn_unused_result)) (IMPALA-2615) and found this:

        void AttachPool(MemPool* pool, bool commit_batch) {
          DCHECK(scan_node_->HasRowBatchQueue());
          DCHECK(batch_ != NULL);
          DCHECK(pool != NULL);
          batch_->tuple_data_pool()->AcquireData(pool, false);
          if (commit_batch) CommitRows(0); <== drops Status
        }
      

      This may have been valid at some point in time, but can now leave the scanner in an unexpected state if allocating the new RowBatch fails.

      BaseSequenceScanner::ProcessSplit() also drops the AddScanRanges() status.

      Attachments

        Activity

          People

            tarmstrong Tim Armstrong
            tarmstrong Tim Armstrong
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: