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
• 10,070 points
155 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,110 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
• 19,720 points
107 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,229 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
762 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,070 points
2,040 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
10,408 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,110 points
49 views