Step 1: Download the latest version of “Apache Hadoop common” from http://apache.claz.org/hadoop using wget, curl or a browser. This tutorial uses “http://apache.claz.org/hadoop/core/hadoop-2.7.1/”.
Step 2: You can set Hadoop environment variables by appending the following commands to ~/.bashrc file.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1. |