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,240 points
1,632 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
• 10,690 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 11 in Big Data Hadoop by Omkar
• 67,620 points
158 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
485 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,240 points
93 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,240 points
186 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,240 points
1,102 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
• 10,690 points
3,012 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,020 points
95 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
14,873 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
• 10,690 points
869 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
• 10,690 points
417 views