[ https://issues.apache.org/jira/browse/IMPALA-10193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17204224#comment-17204224 ]
Tim Armstrong commented on IMPALA-10193: ---------------------------------------- [~fifteencai] I think your approach of allowing it to be controlled via an environment variable makes sense. I'd encourage you to upload a code review to gerrit to get feedback on the specifics of the change once you have confirmed the code works and we can suggest any other changes or improvements there. > Limit the memory usage of the whole mini-cluster > ------------------------------------------------ > > Key: IMPALA-10193 > URL: https://issues.apache.org/jira/browse/IMPALA-10193 > Project: IMPALA > Issue Type: Bug > Components: Infrastructure > Affects Versions: Impala 3.4.0 > Reporter: Fifteen > Assignee: Fifteen > Priority: Minor > Attachments: image-2020-09-28-17-18-15-358.png > > > The mini-cluster contains 3 virtual nodes, and all of them runs in a single > 'Machine'. By quoting, it implies the machine can be a docker container. If > the container is started with `-priviledged` and the actual memory is limited > by CGROUPS, then the total memory in `htop` and the actual available memory > can be different! > > For example, in the container below, `htop` tells us the total memory is > 128GB, while the total memory set in CGROUPS is actually 32GB. If the acutal > mem usage exceeds 32GB, process (such as impalad, hivemaster2 etc.) get > killed. > !image-2020-09-28-17-18-15-358.png! > > So we may need a way to limit the whole mini-cluster's memory usage. > -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org For additional commands, e-mail: issues-all-h...@impala.apache.org