This is the documentation for Cloudera Manager 5.1.0.
Documentation for other versions is available at Cloudera Documentation.

Static Service Pools

Static service pools isolate the services in your cluster from one another, so that load on one service has a bounded impact on other services. Services are allocated a static percentage of total resources—CPU, memory, and I/O weight—which are not shared with other services. When you configure static service pools, Cloudera Manager computes recommended memory, CPU, and I/O configurations for the worker roles of the services that correspond to the percentage assigned to each service. Static service pools are implemented per role group within a cluster, using Linux control groups (cgroups) and cooperative memory limits (for example, Java maximum heap sizes). Static service pools can be used to control access to resources by HBase, HDFS, Impala, MapReduce, Solr, Spark, YARN, and add-on services. Static service pools are not enabled by default.

Viewing Static Service Pool Status

Select Clusters > ClusterName > Static Service Pools. If the cluster has a YARN service, the Static Service Pools Status tab displays and shows whether resource management is enabled for the cluster, and the currently configured service pools.

See Monitoring Static Service Pools for more information.

Enabling and Configuring Static Service Pools

  1. Select Clusters > ClusterName > Static Service Pools.
  2. Click the Configuration tab. The Step 1 of 4: Basic Allocation Setup page displays. In each field in the basic allocation table, enter the percentage of resources to give to each service. The total must add up to 100%. In CDH 5 clusters, if you add the Impala Llama ApplicationMaster role, the Impala service shares the YARN service pool, rather than use its own static pool. In this case, you cannot specify a percentage for the Impala service. Click Continue to proceed.
  3. Step 2: Review Changes - The allocation of resources for each resource type and role displays with the new values as well as the values previously in effect. The values for each role are set by role group; if there is more than one role group for a given role type (for example, for RegionServers or DataNodes) then resources will be allocated separately for the hosts in each role group. Take note of changed settings. If you have previously customized these settings, check these over carefully.
    • Click the to the right of each percentage to display the allocations for a single service. Click to the right of the Total (100%) to view all the allocations in a single page.
    • Click the Back button to go to the previous page and change your allocations.

    When you are satisfied with the allocations, click Continue.

  4. Step 3 of 4: Restart Services - To apply the new allocation percentages, click Restart Now to restart the cluster. To skip this step, click Restart Later. If HDFS High Availability is enabled, you will have the option to choose a rolling restart.
  5. Step 4 of 4: Progress displays the status of the restart commands. Click Finished after the restart commands complete.

Disabling Static Service Pools

To disable static service pools, disable cgroup-based resource management for all hosts in all clusters:
  1. In the main navigation bar, click Hosts.
  2. Click the Configuration tab.
  3. Click the Resource Management category, uncheck the Enable Cgroup-based Resource Management property, then click Save Changes.
  4. Restart all services.
Static resource management is disabled, but the percentages you set when you configured the pools, and all the changed settings (for example, heap sizes), are retained by the services. The percentages and settings will also be used when you re-enable static service pools. If you want to revert to the settings you had before static service pools were enabled, follow the procedures in Viewing and Reverting Configuration Changes.