O'Reilly logo

Apache Hadoop™ YARN: Moving beyond MapReduce and Batch Processing with Apache Hadoop™ 2 by Jeff Markham, Joseph Niemiec, Vinod Kumar Vavilapalli, Arun C. Murthy, Doug Eadline

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

B. YARN Installation Scripts

The following is a listing of the installation scripts discussed in Chapter 5, “Installing Apache Hadoop YARN.” They can be used to help follow the installation discussion. All of the scripts are available from the download page listed in Appendix A.

install-hadoop2.sh

#!/bin/bash## Install Hadoop 2 using pdsh/pdcp where possible.## Command can be interactive or file-based. This script sets up# a Hadoop 2 cluster with basic configuration. Modify data, log, and pid# directories as desired. Further configure your cluster with ./conf-hadoop2.sh# after running this installation script.## Basic environment variables. Edit as necessaryHADOOP_VERSION=2.2.0HADOOP_HOME="/opt/hadoop-${HADOOP_VERSION}" ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required