Hadoop modules are mostly written in Java, so one of the prerequisites is to install Java. Hadoop daemons requires SSH to encrypt the communication between its nodes in an insecure environment. We will now go through a step by step guide for installing and configuring Java and SSH.
Hadoop prerequisite installation
Java installation
Hadoop is compatible with both Oracle Java and OpenJDK, but it is preferable to install Oracle Java. To install it, use the following instructions:
- Download JDK and JRE from http://www.oracle.com/technetwork/java/javase/downloads/index.html.
- Copy the downloaded tar.gz file to the location where you want to install Java.
- Extract and install Java by using the following command. Make sure...