[
https://issues.apache.org/jira/browse/YARN-5899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15792372#comment-15792372
]
Sunil G commented on YARN-5899:
-------------------------------
Hi [~Ying Zhang]
Your observation is correct. We are using that debug log to get some more
information when assign to queue is passed. So your patch is correct. I think
we can also add one more debug info in case when we return false case also
(wherever we have current debug log). We could print
{noformat}
LOG.debug("try to use reserved: " + getQueueName() + " usedResources: " +
queueUsage.getUsed() + ", clusterResources: " + clusterResource + ",
maxLimitCapacity: " + currentLimitResource + ", currTotalUsed:" +
usedExceptKillable);
{noformat}
Thoughts?
> A small fix for printing debug info inside function canAssignToThisQueue()
> --------------------------------------------------------------------------
>
> Key: YARN-5899
> URL: https://issues.apache.org/jira/browse/YARN-5899
> Project: Hadoop YARN
> Issue Type: Bug
> Components: capacity scheduler
> Affects Versions: 3.0.0-alpha1
> Reporter: Ying Zhang
> Assignee: Ying Zhang
> Priority: Trivial
> Attachments: YARN-5899.001.patch
>
>
> A small fix inside function canAssignToThisQueue() for printing DEBUG info.
> Please see patch attached.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]