impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Behm (Code Review)" <ger...@cloudera.org>
Subject [Impala-ASF-CR] IMPALA-4458: Fix resource cleanup of cancelled mt scan nodes.
Date Wed, 30 Nov 2016 17:52:41 GMT
Alex Behm has posted comments on this change.

Change subject: IMPALA-4458: Fix resource cleanup of cancelled mt scan nodes.
......................................................................


Patch Set 2:

(5 comments)

Agree completely about doing more stress/ASAN runs.

http://gerrit.cloudera.org:8080/#/c/5274/2/be/src/exec/hdfs-parquet-scanner.cc
File be/src/exec/hdfs-parquet-scanner.cc:

PS2, Line 240: .get()
> .get() is unnecessary
Done


Line 251:   DCHECK_EQ(template_tuple_pool_.get()->total_allocated_bytes(), 0);
> .get() is unnecessary here too
Done


Line 278:   if (level_cache_pool_.get() != nullptr) {
> Move this up to where we free the other pools for consistency
Done


http://gerrit.cloudera.org:8080/#/c/5274/2/be/src/exec/parquet-column-readers.h
File be/src/exec/parquet-column-readers.h:

Line 346:     if (decompressed_data_pool_.get() != nullptr) {
> This check looks unnecessary since it should never be non-NULL - it's initi
Done


http://gerrit.cloudera.org:8080/#/c/5274/2/be/src/exec/scanner-context.h
File be/src/exec/scanner-context.h:

Line 258:     /// pool to batch.  If 'done' is set, releases the completed resources.
> Mention that attaching only happens when both contains_tuple_data_ is true 
Good point, adjusted comment.


-- 
To view, visit http://gerrit.cloudera.org:8080/5274
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ib32f87b3289ed9e8fc2db0885675845e11207438
Gerrit-PatchSet: 2
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Alex Behm <alex.behm@cloudera.com>
Gerrit-Reviewer: Alex Behm <alex.behm@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <tarmstrong@cloudera.com>
Gerrit-HasComments: Yes

Mime
View raw message