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,390 points
7,513 views

1 answer to this question.

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
• 11,380 points

Related Questions In Big Data Hadoop

–1 vote
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 12, 2019 in Big Data Hadoop by Omkar
• 69,210 points
1,642 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 30, 2018 in Big Data Hadoop by Ashish
• 2,650 points
2,334 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,390 points
1,050 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 4, 2018 in Big Data Hadoop by kurt_cobain
• 9,390 points
1,231 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,290 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,611 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
• 2,080 points
916 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,858 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
• 11,380 points
8,365 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
• 11,380 points
3,385 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