Hello Michael Ho, Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/12638

to look at the new patch set (#2).

Change subject: IMPALA-8264: Fix overflow in SystemStateInfo::ComputeCpuRatios
......................................................................

IMPALA-8264: Fix overflow in SystemStateInfo::ComputeCpuRatios

We pass '0' as the initial value to std::accumulate(), which causes it
to use int32_t for its internal state, which then overflows when values
read from /proc/stat get too large. The fix is to initialize it with
'0L' to make it use int64_t.

Change-Id: I46dfb7264e85a3da492e383caaa6853d8ef95f35
---
M be/src/util/system-state-info-test.cc
M be/src/util/system-state-info.cc
M be/src/util/system-state-info.h
3 files changed, 16 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/38/12638/2
--
To view, visit http://gerrit.cloudera.org:8080/12638
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I46dfb7264e85a3da492e383caaa6853d8ef95f35
Gerrit-Change-Number: 12638
Gerrit-PatchSet: 2
Gerrit-Owner: Lars Volker <l...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Gerrit-Reviewer: Michael Ho <k...@cloudera.com>

Reply via email to