Step-by-step – Hadoop Lubuntu Linux Installation Guide

April 18, 2021 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Installing

  1. 2. Downloading Hadoop

    Download Latest Apache Hadoop Stable Release

    Apache Hadoop Binary tar.gz
  2. 3. Extracting Hadoop

    Then Extract into /tmp
    Possibly Double-Click/Right-Click and Open with Lubuntuive Manager:

    How to Install Hadoop on Lubuntu - Extract tar.gz Lubuntuive

    Or from Shell:

    tar xvzf *hadoop*tar.gz -C /tmp
  3. 4. Installing Hadoop

    And 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/

    Furthermore, make an hadoop symlink directory:

    ln -s /usr/local/hadoop* /usr/local/hadoop
  4. 5. Setting Up Directories

    Make Hadoop Needed Directories:

    First, Make the Logs Dir:

    mkdir /usr/local/hadoop/logs

    Giving Writing Permissions:

    chmod 777 /usr/local/hadoop/logs

    Next Make the Cache Dir:

    mkdir /usr/local/hadoop/cache

    Same Writing Permissions as for Logs:

    chmod 777 /usr/local/hadoop/cache

    And then also the Temporary Dir:

    mkdir /usr/local/hadoop/tmp

    And Set the root as Owner:

    sudo chown -R root:root /usr/local/hadoop*
  5. 6. Installing Java JDK

    How to Install Required Java JDK 8+ on Lubuntu

    Install Oracle JDK 8+ for Lubuntu
  6. 7. Setting Up Variable

    Set 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/conf/hadoop-env.sh

    So now Append:

    export JAVA_HOME=/usr/lib/jvm/[oracleJdkVersion]

    Change [oracleJdkVersion] with the current Version:
    Ctrl+x to Save & Exit from nano Editor :)

    Eclipse Hadoop Integration with Free Plugin.

    Hadoop Eclipse Plugin SetUp

Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

QuickChic Theme • Powered by WordPress