Installing
- 
2. Downloading HadoopDownload Latest Apache Hadoop Stable Release 
- 
3. Extracting HadoopThen Extract into /tmp 
 Possibly Double-Click/Right-Click and Open with Archive Manager: Or from Shell: tar xvzf *hadoop*tar.gz -C /tmp 
- 
4. Installing HadoopAnd to Install Apache Hadoop 
 Get SuperUser Privileges (This simply to make shorter the command’s series):sudo su If Got “User is Not in Sudoers file” then see: How to Enable sudo 
 Then Switch the contents with:mv /tmp/hadoop* /usr/local/ Moreover, make an hadoop symlink directory: ln -s /usr/local/hadoop* /usr/local/hadoop 
- 
5. Setting Up DirectoriesPrepare the Needed Hadoop Directories First, Create the Logs Directory: mkdir -p /usr/local/hadoop/logs Grant Full Permissions for Debugging: chmod 777 /usr/local/hadoop/logs Now Create the Cache Directory: mkdir -p /usr/local/hadoop/cache/hadoop/dfs/name mkdir -p /usr/local/hadoop/cache/hadoop/dfs/data Give Full Permissions (or restrict later): Optionally, Create a Dedicated Temporary Directory: mkdir -p /usr/local/hadoop/tmp Set Ownership to Current User (very important!): sudo chown -R $USER:$USER /usr/local/hadoop 
- 
6. Installing Java JDKHow to Install Required Java JDK 8+ on Manjaro Warning: Java 8 is recommended, but Java 9+ works with extra flags — setup follows. 
- 
7. Setting Up VariableSet JAVA_HOME in Hadoop Env File 
 First, Make the Conf directory:mkdir /usr/local/hadoop/conf And then Make an Env file: nano /usr/local/hadoop/etc/hadoop/hadoop-env.sh So now Amend or Append: export JAVA_HOME=[oracleJdkPath] Change [oracleJdkPath] with the output of: readlink -f "$(which javac)" | sed 's:/bin/javac::' And again for Java 9+ append: export HADOOP_OPTS="$HADOOP_OPTS --add-opens java.base/java.lang=ALL-UNNAMED" Ctrl+x to Save & Exit from nano Editor :) Eclipse Hadoop Integration with Free Plugin. 
Contents
