can't find start-all.sh in hadoop installation

0 votes

I setup Hadoop on my local machine by following some instructions mentioned on a website.

After setting up Hadoop, I tried to run the following command:

user1@ubuntu:~$ /usr/local/hadoop/bin/start-all.sh
And this is the error I get

-su: /usr/local/hadoop/bin/start-all.sh: No such file or directory
My .bashrc file looks like as:

# Set Hadoop-related environment variables
export HADOOP_HOME=/usr/local/
hadoop

# Set JAVA_HOME 
export JAVA_HOME=/usr/lib/
jvm/java-8-oracle

# Add Hadoop bin/ directory to PATH
export PATH=$PATH:$HADOOP_HOME/bin

Can anyone tell me What exactly I'm doing wrong?

Thanks in advance!

Apr 17, 2018 in Big Data Hadoop by kurt_cobain
• 9,260 points
866 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

Actually, you are not mentioning the path for start-all.sh incorrectly.

start-all.sh and stop-all.sh are located in sbin directory while hadoop binary file is located in bin directory.

Try to run :

user1@ubuntu:~$ /usr/local/hadoop/sbin/start-all.sh

Also updated your .bashrc for:

export PATH=$PATH:$HADOOP_HOME/bin:$HADOOP_HOME/sbin

so that you can directly access start-all.sh

answered Apr 17, 2018 by nitinrawat895
• 9,030 points

Related Questions In Big Data Hadoop

0 votes
1 answer

Hadoop error: can not start-all.sh

Try adding <property> <name>dfs.name.dir</name> <value>/path/to/hdfs/dir</value> ...READ MORE

answered Jan 11 in Big Data Hadoop by Omkar
• 65,810 points
64 views
0 votes
1 answer

Not able to start Job History Server in Hadoop 2.8.1

You have to start JobHistoryServer process specifically ...READ MORE

answered Mar 29, 2018 in Big Data Hadoop by Ashish
• 2,630 points
226 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,260 points
20 views
0 votes
1 answer

Hadoop: TaskTracker and JobTracker don't start with start-dfs.sh

You must run the start-dfs..sh too. So when ...READ MORE

answered Apr 3, 2018 in Big Data Hadoop by kurt_cobain
• 9,260 points
83 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
547 views
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,030 points
1,631 views
0 votes
1 answer

How to get started with Hadoop?

Well, hadoop is actually a framework that ...READ MORE

answered Mar 21, 2018 in Big Data Hadoop by coldcode
• 1,980 points
39 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
7,919 views
0 votes
1 answer

How to find Hadoop version in CDH?

The simplest way to check Hadoop version ...READ MORE

answered Apr 19, 2018 in Big Data Hadoop by nitinrawat895
• 9,030 points
362 views
0 votes
1 answer

When is the reduce tasks start in Hadoop?

Let me explain you the whole scenario. ...READ MORE

answered May 22, 2018 in Big Data Hadoop by nitinrawat895
• 9,030 points
253 views

© 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.