/clusters/{clusterName}/services/{serviceName}/commands/impalaEnableLlamaRm

Mount Point: /api/v13/clusters/{clusterName}/services/{serviceName}/commands/impalaEnableLlamaRm

POST

Enable Llama-based resource management for Impala.

This command only applies to CDH 5.1+ Impala services.

This command configures YARN and Impala for Llama resource management, and then creates one or two Llama roles, as specified by the arguments. When two Llama roles are created, they are configured as an active/standby pair. Auto-failover from active to standby Llama will be enabled using ZooKeeper.

If an optional role name(s) are supplied, the new Llama role(s) will be named accordingly; otherwise, role name(s) will be automatically generated.

By default, YARN, Impala, and any dependent services will be restarted, and client configuration will be re-deployed across the cluster. These default actions may be suppressed via setSkipRestart().

In order to enable Llama resource management, a YARN service must be present in the cluster, and Cgroup-based resource management must be enabled for all hosts with NodeManager roles. If these preconditions are not met, the command will fail.

Available since API v8.

Parameters

name description type default
serviceName The Impala service name. path
clusterName (no documentation provided) path

Request Body

element: enableLlamaRmArgs

Arguments for the command.

Response Body

element: command

Information about the submitted command.