bash: sbin/hadoop: No such file or directory

+1 vote
getting error no such file/directory exsists when i try to format namenode
Sep 18, 2019 in Big Data Hadoop by RD
• 130 points
80 views

1 answer to this question.

+1 vote

The hadoop command is not present in the sbin directory. It is present in the bin directory. Go to the bin directory and then execute the hadoop command. It should work

$ cd $HADOOP_HOME/bin
$ hadoop
answered Sep 18, 2019 by Omkar
• 68,840 points

Related Questions In Big Data Hadoop

0 votes
1 answer

Hadoop: Error: slave: bash: line 0: cd: /opt/hadoop-1.1.0/libexec/..: No such file or directory

Hi,   In this case, it is searching ...READ MORE

answered Aug 7, 2019 in Big Data Hadoop by Gitika
• 25,440 points
98 views
0 votes
1 answer

“no such file or directory" in case of hadoop fs -ls

The behaviour that you are seeing is ...READ MORE

answered May 9, 2018 in Big Data Hadoop by nitinrawat895
• 10,840 points

edited May 9, 2018 by nitinrawat895 2,953 views
0 votes
1 answer

Hadoop Pipe: shared libraries, No such file or directory error

Add -rpath my.zip/lib to LDFLAGS_HDP. For compilation to work, you ...READ MORE

answered Aug 30, 2018 in Big Data Hadoop by Frankie
• 9,810 points
95 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Not able to upload files to hdfs: No such file or directory

The reason for this error is that ...READ MORE

answered Jul 11, 2019 in Big Data Hadoop by Srujan
98 views
0 votes
1 answer

Hadoop: `.' no such file or directory while installing

Try hadoop fs -mkdir -p /user/[Username] and then run ...READ MORE

answered Nov 2, 2018 in Big Data Hadoop by Omkar
• 68,840 points
89 views
0 votes
1 answer

Hadoop: No Such Method Exception

Mapper and reducer classes need to be ...READ MORE

answered Oct 26, 2018 in Big Data Hadoop by Omkar
• 68,840 points
209 views