- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to find out how many worker nodes are there
- Labels:
-
Apache Kafka
-
Apache YARN
-
Cloudera Manager
Created on
‎02-04-2020
06:33 AM
- last edited on
‎02-04-2020
08:34 AM
by
VidyaSargur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a CDH cluster with below configuration. Spark gateway is installed on all machines. Each node has 22 cores
2 name nodes
3 Kafka nodes
4 data nodes
1 node to run mysql content store
I am trying to find out how many worker/slave nodes are assigned to run spark applications in the cluster. When I see the hadoop UI it shows total vcores assinged as 88. Does that mean only 4 data nodes are configured as worker nodes ? Where and how can I see what all worker/slave nodes are configured.
We are using YARN as resource manager.
thanks
RM
Created ‎02-04-2020 07:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @mranjank
In your setup, your 4 data nodes are your worker nodes. HDFS i.e. where the data are stored is on the data nodes and because of data locality, this is where your 'compute' or 'worker' nodes run too.
If you log into Cloudera Manager and click 'Hosts' at the top and then 'Roles' on the dropdown you will see what services are running on what nodes.
I hope that helps.
Steve
