$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

Step by step – Hadoop Lubuntu Linux Installation

April 18, 2021 | By the+gnu+linux+evangelist.

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/

    Moreover, make an hadoop symlink directory:

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

    Prepare 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
  5. 6. Installing Java JDK

    How to Install Required Java JDK 8+ on Lubuntu

    Install Oracle JDK 8+ for Lubuntu

    Warning: Java 8 is recommended, but Java 9+ works with extra flags — setup follows.

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

    Hadoop Eclipse Plugin SetUp