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
• 9,070 points
33 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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
• 12,270 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
24 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
• 9,070 points
1,677 views
0 votes
10 answers

hadoop fs -put command?

copy command can be used to copy files ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Sujay
8,145 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
571 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
• 12,270 points
91 views
+1 vote
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.