Llama Installation

Llama mediates resource management between Cloudera Impala and Hadoop YARN. Llama enables Impala to reserve, use, and release resource allocations in a CDH cluster. Llama is only required if resource management is enabled in Impala.

To configure Llama in CDH 5 with Kerberos security, see Llama Authentication.



The packaging options for installing Llama are:

  • A RPM package for the Llama ApplicationMaster (llama-master)
  • A Debian package for the Llama ApplicationMaster (llama-master)

Installing Llama

Llama is distributed in two packages:
  • llama- the binaries and configuration files
  • llama-master - the service script that you use to run Llama
Installing the llama-master package installs the llama package and the dependencies needed to run Llama, creating a llama service configured to start Llama at system startup time.

To install Llama on a RHEL system:

$ sudo yum install llama-master

To install Llama on an Ubuntu or other Debian system:

$ sudo apt-get install llama-master

To install Llama on a SLES system:

$ sudo zypper install llama-master

Configuring Llama

When you install Llama from an RPM or Debian package, Llama server creates all configuration, documentation, and runtime files in the standard Linux directories, as follows.

Type of File Where Installed
PID file

Llama uses the YARN configuration to interact with Hadoop. The Llama configuration file, /etc/llama/conf/llama-site.xml, contains all default values after installation. You do not need to change these to get Llama up and running.

Starting and Stopping Llama

To start Llama:
$ sudo service llama start
If you see the message LlamaAMServer - Llama started! in the llama.log log file, the system has started successfully.

To stop Llama:

$ sudo service llama stop