I installed Spark but while executing command I am getting hadoop command not found error

+1 vote

I am new to Big Data, Hadoop & Spark. I just downloaded & installed Apache Spark ("spark-2.0.2-bin-hadoop2.7.tgz"). I tried to move a file from local file system to HDFS. But I got an error saying “hadoop command not found”.

Mar 21, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
2,361 views

1 answer to this question.

+1 vote

For accessing Hadoop commands & HDFS, you first have to install Hadoop. I would recommend you to go through this website & install Hadoop -> https://www.edureka.co/blog/install-hadoop-single-node-hadoop-cluster
One more thing to keep in mind is install Hadoop 2.7 and above as you have install Spark 2.0.2 which is compiled for Hadoop 2.7.
 

answered Mar 21, 2018 by Shubham
• 13,490 points
Thanks a lot shubham

Related Questions In Big Data Hadoop

0 votes
1 answer

I have installed Hadoop on Ubuntu but name node is not running.

If you are using Hadoop version-2.7.7, then ...READ MORE

answered Apr 30, 2019 in Big Data Hadoop by Gitika
• 65,770 points
1,980 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,350 points
4,616 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
11,034 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
108,855 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Why am I not able to see the Hadoop daemons that are running?

I guess you are starting the services ...READ MORE

answered Apr 18, 2018 in Big Data Hadoop by Shubham
• 13,490 points
1,034 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