Hadoop installation Guide (Step by Step) Pre-install Version

how to install hadoop
  1. Click on the link below to download the Pre-configured version of hadoop setup.

Pre-configured hadoop setup

  1. Install nautilus.
  2. For installation press Ctrl+Alt+T or open terminal.
  3. Type “sudo apt-get install nautilus” and hit enter.
  4. Type “sudo nautilus” and using it go to the /usr/local it will be located at “computer” drive.
  5. Extract the pre-configured file.
  1. Now open the terminal Alt+Ctrl+T and run these commands (Follow instruction of
      1. sudo apt-get update
      2. sudo apt install default-jdk
      3. sudo addgroup hadoop
      4. sudo adduser --ingroup hadoop hadoop1
      5. sudo adduser hadoop1 sudo
      6. sudo apt install openssh-server
  2. It will ask for the password and press “Y” if asked
  3. while installation it will asked for “Enter the new value, or press ENTER for the default.
  4. Just press enter. Give blank for the Name ,Number and phone and press “y”.
  5. After completion of the commands
  6. switch to the hadoop1 user by typing “su hadoop1” and enter your password.
  7. Now run below commands
      1. ssh-keygen -t rsa -P “”
      2. cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys
      3. ssh localhost
  8. Enter blank while ssh key passphrase
  9. After completing the process type “exit
  10. Now run the below commands on the terminal
      1. sudo mkdir -p /usr/local/hadoop_space
      2. sudo mkdir -p /usr/local/hadoop_space/hdfs/namenode
      3. sudo mkdir -p /usr/local/hadoop_space/hdfs/datanode
      4. sudo chown -R hadoop1 /usr/local/
  11. Fire the Command Jps on the terminal
  12. Only one thing we need to do the process given below
  13. Type “sudo nano ~/.bashrc" and at the end of the file paste the below content and save the file by Ctrl+o and Hit Enter and again Hit Enter

export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
export HADOOP_HOME=/usr/local/hadoop
export PATH=$PATH:$HADOOP_HOME/bin
export PATH=$PATH:$HADOOP_HOME/sbin
export HADOOP_MAPRED_HOME=$HADOOP_HOME
export HADOOP_COMMON_HOME=$HADOOP_HOME
export HADOOP_HDFS_HOME=$HADOOP_HOME
export YARN_HOME=$HADOOP_HOME
export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/native
export HADOOP_OPTS="-Djava.library.path=$HADOOP_HOME/native"

  • Last step is type "source ~/.bashrc" and hit enter
  • hurray!!!!!!!!!!!!!!!!!!!Hadoop is Installed............
  • Now run the hadoop. type “hdfs namenode -format” and hit Enter
  • and the magical command and all done. type “start-all.sh
  • type “jps” for checking.
  • Now go to the browser and type localhost:50070 and you will see the hadoop screen.Enjoy the hadoop.....
  • Dont forget to give your comment and try to subscribe my channel and like the video it boost the tech community after all it the matter of caring and sharing....