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.
Continue reading:
Prerequisites
- An operating system supported by CDH 5
- Oracle JDK; see also Java Development Kit Installation
Packaging
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
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 |
---|---|
Binaries |
/usr/lib/llama/ |
Configuration |
/etc/llama/conf/ |
Logs |
/var/log/llama/ |
PID file |
/var/run/llama/ |
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 startIf 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