I want to get the count of task instance groups instances in AWS EMR.
For this, I used Cloudwatch to check heartbeat of each task instance groups instances. But I think, at the end EMR is a framework that uses hadoop, and hadoop's master must have information of live task nodes.
Can anyone please tell me the metadata link(or any file location) to get this information ?