The Hadoop-YARN single node installation
In a single node installation, all the Hadoop-YARN daemons (NameNode, ResourceManager, DataNode, and NodeManager) run on a single node as separate Java processes. You will need only one Linux machine with a minimum of 2 GB RAM and 15 GB free disk space.
Prerequisites
Before starting with the installation steps, make sure that you prepare the node as specified in the above topic.
- The hostname used in the single node installation is
localhost
with127.0.0.1
as the IP address. It is known as the loopback address for a machine. You need to make sure that the/etc/hosts
file contains the resolution for the loopback address. The loopback entry will look like this:127.0.0.1 localhost
- The passwordless SSH is configured for
localhost
. To ensure this, execute the following command:ssh-copy-id localhost
Installation steps
After preparing your node for Hadoop, you need to follow a simple five-step process to install and run Hadoop on your Linux machine.