I need to build a chart showing me how much pending (ACCEPTED) Hadoop tasks I have on a cluster. To be more detailed, I need to get this value:
yarn application -list -appStates ACCEPTED | grep ACCEPTED | wc -l
every N seconds, and build the real time graph for monitoring.
Instead of whiting charting code "from scratch" I have chosen Cloudera Manager with its Chart Builder developed to simplify creating such charts. But in the list of Cloudera metrics I can't find any metric which would help me to build graph (except apps_ingested_rate
and active_applications_across_yarn_pools
but they always show 0). So, does it exist some way to build chart for monitoring quantity of pending YARN applications using Cloudera Manager?
Version of Cloudera Manager: 5.11 free.