How to install Hadoop in Ubuntu

0 votes
Hi. I am new to hadoop and want to install on hadoop on Ubuntu. Can some one help me with the steps?
Feb 19, 2019 in Big Data Hadoop by Raghav
1,374 views

1 answer to this question.

0 votes

Hey. Follow these steps to install hadoop.

First you need to download Hadoop files. You can download it by running the following command in terminal:

$ wget http://mirrors.estointernet.in/apache/hadoop/common/hadoop-3.1.2/hadoop-3.1.2.tar.gz

Next, you will have to extract the Hadoop files:

$ tar -xvf hadoop-3.1.2.tar.gz

Now, you will have to add path to the Hadoop files in the .bashrc file:

$ nano .bashrc

And then add these entries in the file:

export HADOOP_HOME=$HOME/hadoop-3.1.2

export HADOOP_CONF_DIR=$HOME/hadoop-3.1.2/etc/hadoop

export HADOOP_MAPRED_HOME=$HOME/hadoop-3.1.2

export HADOOP_COMMON_HOME=$HOME/hadoop-3.1.2

export HADOOP_HDFS=$HOME/hadoop-3.1.2

export YARN_HOME=$HOME/hadoop-3.1.2

export PATH=$PATH:$HOME/hadoop-3.1.2/bin

Save the file (Ctrl+O and press Enter) and then exit (Ctrl+X)

And then run

$ source .bashrc

Hadoop is installed. To verify, run the below command and you should see a similar output:

$ hadoop version

answered Feb 19, 2019 by Omkar
• 69,210 points

Related Questions In Big Data Hadoop

0 votes
1 answer

How to install Hadoop in Ubuntu?

Follow the steps as mentioned in the ...READ MORE

answered May 17, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
453 views
0 votes
1 answer

How to install Hadoop on Ubuntu?

You can refer to this blog by ...READ MORE

answered Mar 21, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
1,188 views
0 votes
1 answer

How to install Hadoop on Ubuntu?

You can manually create a file hadoop-env.sh ...READ MORE

answered Jul 5, 2019 in Big Data Hadoop by ravikiran
• 4,620 points
527 views
0 votes
1 answer

How to run Hadoop in Docker containers?

Hi, You can run Hadoop in Docker container. Follow ...READ MORE

answered Jan 24, 2020 in Big Data Hadoop by MD
• 95,440 points
1,772 views
+1 vote
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
10,558 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
2,185 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
104,209 views
–1 vote
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,390 points
4,260 views
0 votes
1 answer

How to install Zookeeper in Ubuntu?

There are two ways to install Zookeeper: You ...READ MORE

answered Feb 20, 2019 in Big Data Hadoop by Omkar
• 69,210 points
4,851 views
0 votes
3 answers

How to specify KeyValueTextInputFormat Separator in Hadoop-.20 api?

conf.set("key.value.separator.in.input.line", ","); Job job = new ...READ MORE

answered Dec 5, 2018 in Big Data Hadoop by Rio
1,515 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP