HI Charles,

Hope following issue is similar to your issue.

https://issues.apache.org/jira/browse/YARN-4538.



-----Original Message-----
From: Charles Wright [mailto:[email protected]] 
Sent: 04 February 2016 08:09
To: [email protected]
Subject: Negative Values for Pending Cores in QueueMetrics

I am trying to monitor cluster metrics using QueueMetrics and I am getting 
negative values for pending cores and pending memory. Is this a known issue?

What I am trying to do is send a "cluster pressure" notification to 
applications running the cluster so they can release any "extra" 
resources that they may have.

I have defined "cluster pressure" as:
(allocated containers + pending containers) / total available containers > 1

However, I cannot get it to work with negative pending cores/pending memory 
values.

Thanks,
Charles.

Reply via email to