Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-813

Add command to get available resources in Cluster.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • cli

    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

          Activity

            People

              Unassigned Unassigned
              berngp Bernardo Gomez Palacio
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: