Todd Lipcon has posted comments on this change. ( http://gerrit.cloudera.org:8080/10988 )
Change subject: IMPALA-7297: soft memory limit for reservation increases ...................................................................... Patch Set 5: (4 comments) http://gerrit.cloudera.org:8080/#/c/10988/5/be/src/runtime/bufferpool/buffer-pool.h File be/src/runtime/bufferpool/buffer-pool.h: http://gerrit.cloudera.org:8080/#/c/10988/5/be/src/runtime/bufferpool/buffer-pool.h@178 PS5, Line 178: check_soft_mem_limit nit: mem_limit_mode http://gerrit.cloudera.org:8080/#/c/10988/5/be/src/runtime/bufferpool/reservation-tracker.cc File be/src/runtime/bufferpool/reservation-tracker.cc: http://gerrit.cloudera.org:8080/#/c/10988/5/be/src/runtime/bufferpool/reservation-tracker.cc@84 PS5, Line 84: MemLimit::HARD I'm not too familiar with the ReservationTracker stuff, so maybe this is wrong, but should this be using mem_limit_mode instead of HARD? http://gerrit.cloudera.org:8080/#/c/10988/5/be/src/runtime/mem-tracker-types.h File be/src/runtime/mem-tracker-types.h: http://gerrit.cloudera.org:8080/#/c/10988/5/be/src/runtime/mem-tracker-types.h@18 PS5, Line 18: : #ifndef IMPALA_RUNTIME_MEM_TRACKER_TYPES_H : #define IMPALA_RUNTIME_MEM_TRACKER_TYPES_H : we've moved to '#pragma once' in Kudu for this, no such preference in impala? http://gerrit.cloudera.org:8080/#/c/10988/5/be/src/runtime/mem-tracker.cc File be/src/runtime/mem-tracker.cc: http://gerrit.cloudera.org:8080/#/c/10988/5/be/src/runtime/mem-tracker.cc@41 PS5, Line 41: DEFINE_double maybe make this hidden if we dont expect users to configure it initially? -- To view, visit http://gerrit.cloudera.org:8080/10988 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I39dcf2dd870a59c8b8cda4488fe41ce936d715ac Gerrit-Change-Number: 10988 Gerrit-PatchSet: 5 Gerrit-Owner: Tim Armstrong <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Tim Armstrong <[email protected]> Gerrit-Reviewer: Todd Lipcon <[email protected]> Gerrit-Comment-Date: Mon, 30 Jul 2018 23:04:48 +0000 Gerrit-HasComments: Yes
