Search code examples
hadoopambari

How to check number of containers for given node in Ambari?


How to check number of containers for given node in Ambari? If it is not possible in Ambari, is there any command to list all the running/reserved nodes for a given node?


Solution

  • I figured it out myself. The following command return list of all the nodes in a cluster and also number of containers running on them:-

    yarn node --list