You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@impala.apache.org by "Tim Armstrong (Code Review)" <ge...@cloudera.org> on 2016/05/20 00:16:11 UTC

[Impala-CR](cdh5-2.6.0_5.8.0) Use MemTracker::MemLimitExceeded() where appropriate

Tim Armstrong has uploaded a new change for review.

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

Change subject: Use MemTracker::MemLimitExceeded() where appropriate
......................................................................

Use MemTracker::MemLimitExceeded() where appropriate

This is an incremental improvement towards IMPALA-3090. Where possible
we use MemTracker::MemLimitExceeded() instead of directly constructing
the Status object.

The remaining cases where we directly construct the state are related
the the BufferedBlockMgr, which will be deprecated: either they are
produced by the BufferedBlockMgr, or produced when a Pin() unexpectedly
fails. Both of these will go away anyway.

Change-Id: I77c37f86dd15ace39e28b5cc72d37bc8d4109041
---
M be/src/exec/hdfs-parquet-scanner.cc
M be/src/exec/kudu-scanner.cc
M be/src/exec/nested-loop-join-node.cc
M be/src/runtime/buffered-tuple-stream-test.cc
M be/src/runtime/collection-value-builder-test.cc
M be/src/runtime/collection-value-builder.h
M be/src/runtime/row-batch-serialize-test.cc
M be/src/service/fragment-mgr.cc
8 files changed, 32 insertions(+), 23 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala refs/changes/48/3148/1
-- 
To view, visit http://gerrit.cloudera.org:8080/3148
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I77c37f86dd15ace39e28b5cc72d37bc8d4109041
Gerrit-PatchSet: 1
Gerrit-Project: Impala
Gerrit-Branch: cdh5-2.6.0_5.8.0
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>