[
https://issues.apache.org/jira/browse/YARN-3789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14585685#comment-14585685
]
Devaraj K commented on YARN-3789:
---------------------------------
Thanks [~bibinchundatt] for the patch.
1.
{code:xml}
+ LOG.info("Not activating " + applicationId
+ + " if application activated usedAMResource " + amIfStarted
+ + " exceeds amLimit " + amLimit);
{code}
{code:xml}
+ LOG.info("Not activating " + applicationId + " for user " + user
+ + " if application activated usedUserAMResource "
+ + userAmIfStarted + " exceeds userAmLimit " + userAMLimit);
{code}
These logs are still confusing(atleast to me), can you make some thing like
this or anything better,
{code:xml}
Not activating application <applicationId> as amIfStarted: <amIfStarted>
exceeds amLimit: <amLimit>.
{code}
{code:xml}
Not activating application <applicationId> for user: <user> as amIfStarted:
<amIfStarted> exceeds userAmLimit: <userAMLimit>.
{code}
2. Can you also remove the unused imports in the same file LeafQueue.java as
part of this patch?
> 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)