I think you need to query the framework that you are running on top of
Mesos for this information. The workflow is as follows: User submits a task
to framework, framework waits for resources to be available in Mesos
cluster, once available it launches the task.

On Tue, Oct 31, 2017 at 11:16 AM, SenthilKumar K <senthilec...@gmail.com>
wrote:

> + User Group.
>
> --Senthil
>
> On Tue, Oct 31, 2017 at 11:44 PM, SenthilKumar K <senthilec...@gmail.com>
> wrote:
>
> > Hi All ,  What is the way to Query Mesos Cluster to Check whether the
> task
> > is waiting for Resources or not?
> >
> > Context :
> >       Say 10 tasks are running and Mesos Cluster Usage is : 99%. And if i
> > submit another Task mesos is accepting and task will wait for resources.
> We
> > have our own business logic to check if the task is not running
> resubmit...
> > Truth is cluster has the same task and its waiting for resources.
> >
> > Pls advise..
> >
> > --Senthil
> >
>

Reply via email to