Michael Ho created IMPALA-8264:
----------------------------------

             Summary: F0228 00:42:35.132514 139036 system-state-info.cc:102] 
Check failed: total_tics > 0 (-4294962910 vs. 0)
                 Key: IMPALA-8264
                 URL: https://issues.apache.org/jira/browse/IMPALA-8264
             Project: IMPALA
          Issue Type: Bug
          Components: Backend
    Affects Versions: Impala 3.2.0
            Reporter: Michael Ho
            Assignee: Lars Volker


When running 64-streams concurrent TPC-DS in debug builds at commit 
681b256627e5e569778d4996bbdf530e30c528eb in a 140 node cluster, hit the 
following DCHECK after close to 14 hours of running.

{noformat}
F0228 00:42:35.132514 139036 system-state-info.cc:102] Check failed: total_tics 
> 0 (-4294962910 vs. 0)
{noformat}

{noformat}
void SystemStateInfo::ComputeCpuRatios() {
  const CpuValues& cur = cpu_values_[cur_val_idx_];
  const CpuValues& old = cpu_values_[1 - cur_val_idx_];

  // Sum up all counters
  int64_t cur_sum = accumulate(cur.begin(), cur.end(), 0);
  int64_t old_sum = accumulate(old.begin(), old.end(), 0);

  int64_t total_tics = cur_sum - old_sum;
  // If less than 1/USER_HZ time has time has passed for any of the counters, 
the ratio is
  // zero (to avoid dividing by zero).
  if (total_tics == 0) {
    memset(&cpu_ratios_, 0, sizeof(cpu_ratios_));
    return;
  }
  DCHECK_GT(total_tics, 0); <<----
{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to