Description
Rationale:
As a CLI User I should be able to know how much memory/resources the Cluster has available before activating a framework. The Use Case arises when several CLI Users are interacting with Shark while the Cluster is already running additional frameworks. Ideally a CLI Users knows the available memory such that they can set a sensitive SPARK_MEM value. This will help reduce the number of Shark Queries hanging waiting for resources that they not necessarily require.
Implementation suggestion.
Will be simple to follow the mesos-ps script example to read the master/stats.json endpoint to present such metrics. The script could be mesos-stats and receive the specific metric you are interested in, should default to all.
Potential enhancement could be an argument that loops the command such that we have a continuos feed of the stats in the cli.
Attachments
Issue Links
- is related to
-
MESOS-5676 A full redesign of the Mesos CLI
- In Progress