Is there any way to check which Hadoop daemons are running

0 votes
How can I check if Hadoop daemons are running? Is there any command?

I just want to check if my Hadoop is setup correctly or not. So, I want to check if namemonode/datanode/jobtracker/tasktracker are running on my machine.

Is there any way to check it without looking into logs or using ps(on Centos)?
May 4, 2018 in Big Data Hadoop by kurt_cobain
• 9,390 points
45,252 views

9 answers to this question.

0 votes

To check Hadoop daemons are running or not, what you can do is just run the jps command in the shell.

You just have to type 'jps' (make sure JDK is installed in your system). It lists all the running java processes and will list out the Hadoop daemons that are running.

Alternatively, you can use the following command:

ps -ef | grep hadoop | grep -P  'namenode|datanode|tasktracker|jobtracker'

and 

./hadoop dfsadmin -report

You can also check if the daemons are running or not through their web ui.

Learn more about Big Data Architect and its concepts from the Data architect course.

answered May 4, 2018 by nitinrawat895
• 11,380 points
0 votes
jps

will show all the running daemons

answered Dec 7, 2018 by Shekhar
0 votes
ps -ef | grep hadoop | grep -P  'namenode|datanode|tasktracker|jobtracker'
./hadoop dfsadmin -report
answered Dec 7, 2018 by Yadgiri
0 votes
You can use the web interface to check which daemons are running
answered Dec 7, 2018 by Kalis
0 votes

Here's another way:

sudo -u hdfs hdfs dfsadmin -report

answered Dec 7, 2018 by Sieka
0 votes

Not a good method but a possible one:

for service in /etc/init.d/hadoop-hdfs-*; do $service status; done;
answered Dec 7, 2018 by Faruk
0 votes
hdfs dfsadmin -report
answered Dec 7, 2018 by Idaje
+1 vote

use jps command, It will show all the running java process with their name.

answered Dec 27, 2018 by Rakesh
• 160 points
But in Screenshot datanode, jobtracker etc., are not shown. I want to check if those services are running or not.
0 votes
run thecommand jps
answered Mar 20, 2019 by anonymous

Related Questions In Big Data Hadoop

0 votes
1 answer

Is there any way to increase Java Heap size in Hadoop?

You can add some more memory by ...READ MORE

answered Apr 12, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
4,523 views
0 votes
1 answer

Is there any way to write "map only" Hadoop jobs ?

You can easily set the number of ...READ MORE

answered Apr 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
662 views
0 votes
1 answer

Is there any way to access Hadoop web UI in linux?

In this case what you can do ...READ MORE

answered May 9, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
3,538 views
0 votes
1 answer

Is there any way to include a python package with Hadoop streaming job?

See I don't know the answer to ...READ MORE

answered May 10, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
1,970 views
0 votes
1 answer

Is there any way to pull data from Mainframe to Hadoop?

First of all, COBOL is a programming ...READ MORE

answered May 21, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
2,342 views
0 votes
1 answer

Is there any way to setup Hadoop nodes (data nodes/namenodes) to use multiple volumes/disks?

Datanodes can store blocks in multiple directories ...READ MORE

answered Jun 20, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
763 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
4,260 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
10,555 views
0 votes
1 answer

How to get started with Hadoop?

Well, hadoop is actually a framework that ...READ MORE

answered Mar 21, 2018 in Big Data Hadoop by coldcode
• 2,080 points
899 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
104,199 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