Unable to execute HDFS commands on the terminal

0 votes

 I have opened terminal and was trying to execute HDFS commands. I am getting the attached error.

Feb 7, 2019 in Big Data Hadoop by Dinesh
566 views

1 answer to this question.

0 votes

Maybe because you have not started hadoop service.

Open terminal and run:

$ sudo jps
$ sudo service hadoop-master restart
$ sudo jps

After this check whether these 4 daemons are up and running or not: Namenode,datanode,Resource manager, Node manager. If yes then try the command hdfs dfs -ls / again.

answered Feb 7, 2019 by Omkar
• 69,190 points

Related Questions In Big Data Hadoop

0 votes
1 answer

Failing to execute the script pig file on HDFS

By convention, the pig script that you ...READ MORE

answered Feb 15, 2019 in Big Data Hadoop by John
277 views
+1 vote
1 answer
0 votes
1 answer

What are the different hdfs dfs commands to perform copy operation?

The different hdfs dfs commands to perform ...READ MORE

answered Apr 10, 2019 in Big Data Hadoop by Gitika
• 65,850 points
453 views
0 votes
1 answer

Can anyone help me out to install the following packages R-MR, R-HDFS, and R-HBase on R-HAdoop?

I have understood your problem, I will ...READ MORE

answered May 31, 2019 in Big Data Hadoop by ravikiran
• 4,620 points
249 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
8,643 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
1,525 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
76,436 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,390 points
3,312 views
–1 vote
1 answer

Unable to execute the jar file wordcount.

I see that the command that you ...READ MORE

answered Jan 21, 2019 in Big Data Hadoop by Omkar
• 69,190 points
1,588 views
0 votes
1 answer

How to find the port on which hdfs is running?

If you are using hadoop 2.7 or ...READ MORE

answered Jan 25, 2019 in Big Data Hadoop by Omkar
• 69,190 points
1,195 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP