Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-10193

Limit the memory usage of the whole mini-cluster

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • Impala 3.4.0
    • Impala 4.0.0
    • Infrastructure
    • None
    • ghx-label-4

    Description

      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.

       

       

      So we may need a way to limit the whole mini-cluster's memory usage.

         

      Attachments

        Activity

          People

            fifteencai Fifteen
            fifteencai Fifteen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: