[
https://issues.apache.org/jira/browse/YARN-3789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14579184#comment-14579184
]
Rohith commented on YARN-3789:
------------------------------
Thanks [~bibinchundatt] for reporting and providing patch
Some comments
# Log message can be made more clear for log analysis. The messages can be like
## Not starting the application <applicationId> as usedAMResource < amIfStarted
> exceeds AMResourceLimit <amLimit>
## Not starting the application <applicationId> for the user <user> as
usedUserAMResource < userAmIfStarted > exceeds userAMResourceLimit <
userAMLimit >
# Can you update issue summary and description as real problem i.e issue is
in log message correction, not removing duplicate logging.
> 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
>
>
> 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)