[
https://issues.apache.org/jira/browse/YARN-3789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14585709#comment-14585709
]
Bibin A Chundatt commented on YARN-3789:
----------------------------------------
[~devaraj.k] Thnks for review . Seems you have reviewed based on 003-YARN-3789
. In {{activateApplications()}} its checks for new AM limits if the application
is activated that is the reason why i updated the logs like .
{code}
LOG.info("Not activating " + applicationId
+ ". If application activated usedAMResource " +
amIfStarted
+ " will exceed amLimit " + amLimit);
{code}
If 004-YARN-3789 is also still confusing will surely update log message.
I will also handle unused imports as part of next patch after your reply.
> Refactor logs for LeafQueue#activateApplications() to remove duplicate logging
> ------------------------------------------------------------------------------
>
> Key: YARN-3789
> URL: https://issues.apache.org/jira/browse/YARN-3789
> Project: Hadoop YARN
> Issue Type: Bug
> Components: resourcemanager
> Reporter: Bibin A Chundatt
> Assignee: Bibin A Chundatt
> Priority: Minor
> Attachments: 0001-YARN-3789.patch, 0002-YARN-3789.patch,
> 0003-YARN-3789.patch, 0004-YARN-3789.patch
>
>
> Duplicate logging from resource manager
> during am limit check for each application
> {code}
> 015-06-09 17:32:40,019 INFO
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.LeafQueue:
> not starting application as amIfStarted exceeds amLimit
> 2015-06-09 17:32:40,019 INFO
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.LeafQueue:
> not starting application as amIfStarted exceeds amLimit
> 2015-06-09 17:32:40,019 INFO
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.LeafQueue:
> not starting application as amIfStarted exceeds amLimit
> 2015-06-09 17:32:40,019 INFO
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.LeafQueue:
> not starting application as amIfStarted exceeds amLimit
> 2015-06-09 17:32:40,019 INFO
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.LeafQueue:
> not starting application as amIfStarted exceeds amLimit
> 2015-06-09 17:32:40,019 INFO
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.LeafQueue:
> not starting application as amIfStarted exceeds amLimit
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)