In which directory Hadoop should be installed

0 votes

I am setting up Hadoop (3 node cluster) in my college lab. I am using Ubuntu 16.04. My major problem is that the /usr/local of all the machines are mounted from same disk. So all of them have the same shared disk.
Thus I cannot start separate data nodes on slave machine as they will always be similar.

Can I install Hadoop in other directory (not in /usr/local).

Can I install Hadoop in different directory? Will it be creating a problem for me later on?

Apr 17, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
1,419 views

1 answer to this question.

0 votes

You can install Hadoop anywhere. You just have to specify the path of the directories in .bashrc file present in user home directory. HADOOP_HOME should point to path where the Hadoop directory is extracted.

Update the .bashrc as follows:

export HADOOP_HOME=/path/to/Hadoop_directory

export PATH=$PATH:$HADOOP_HOME/bin:$HADOOP_HOME/sbin
answered Apr 17, 2018 by Shubham
• 13,490 points

Related Questions In Big Data Hadoop

0 votes
1 answer

How to delete a directory from Hadoop cluster which is having comma(,) in its name?

Just try the following command: hadoop fs -rm ...READ MORE

answered May 7, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
3,062 views
0 votes
1 answer

When hadoop-env.sh will be executed in hadoop

Yes you need to put in the ...READ MORE

answered Apr 3, 2018 in Big Data Hadoop by kurt_cobain
• 9,350 points
1,245 views
0 votes
1 answer

What are some of the famous visualization tools which can be integrated with Hadoop & Hive?

I have personally used two visualization tools ...READ MORE

answered May 1, 2018 in Big Data Hadoop by coldcode
• 2,090 points
1,986 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
11,028 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
108,832 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,350 points
4,612 views
0 votes
1 answer
0 votes
1 answer

How to change the replication factor of specific directory in Hadoop?

Yes, you can change the replication factor ...READ MORE

answered May 11, 2018 in Big Data Hadoop by Shubham
• 13,490 points
3,671 views
+1 vote
1 answer
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