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
• 9,610 points
138 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.
+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
• 12,890 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 in Big Data Hadoop by Gitika
• 16,410 points
101 views
0 votes
1 answer

hadoop: command not found

The reason you are getting hadoop as ...READ MORE

answered Mar 27, 2018 in Big Data Hadoop by kurt_cobain
• 9,240 points
2,109 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
675 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,610 points
1,872 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
9,349 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
• 12,890 points
46 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.