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 6, 2019 in Big Data Hadoop by Dinesh
126 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 6, 2019 by Omkar
• 69,040 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 14, 2019 in Big Data Hadoop by John
117 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 9, 2019 in Big Data Hadoop by Gitika
• 31,430 points
82 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,600 points
75 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
• 10,920 points
5,315 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
• 10,920 points
781 views
+1 vote
11 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyF ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
32,413 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,310 points
2,003 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,040 points
464 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 24, 2019 in Big Data Hadoop by Omkar
• 69,040 points
147 views