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 16, 2018 in Big Data Hadoop by nitinrawat895
• 10,730 points
57 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 16, 2018 by Shubham
• 13,310 points

Related Questions In Big Data Hadoop

0 votes
1 answer
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,260 points
112 views
0 votes
1 answer
0 votes
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
• 10,730 points
3,366 views
0 votes
10 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
16,698 views
0 votes
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,260 points
1,220 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 10, 2018 in Big Data Hadoop by Shubham
• 13,310 points
772 views
+1 vote
1 answer