You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Purshotam Shah (JIRA)" <ji...@apache.org> on 2014/07/16 02:19:04 UTC
[jira] [Updated] (OOZIE-1937) Logging issues
[ https://issues.apache.org/jira/browse/OOZIE-1937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Purshotam Shah updated OOZIE-1937:
----------------------------------
Description:
Lot of places we do inappropriate logging or extra looping only to log statement.
Let have this JIRA to capture them.
{code}
PriorityDelayQueue.antiStarvation()
StringBuilder sb = new StringBuilder();
for (int i = 0; i < queues.length; i++) {
sb.append("P[").append(i).append("]=").append(queues[i].size()).append(" ");
}
debug("sub-queue sizes: {0}", sb.toString());
{code}
> Logging issues
> --------------
>
> Key: OOZIE-1937
> URL: https://issues.apache.org/jira/browse/OOZIE-1937
> Project: Oozie
> Issue Type: Bug
> Reporter: Purshotam Shah
>
> Lot of places we do inappropriate logging or extra looping only to log statement.
> Let have this JIRA to capture them.
> {code}
> PriorityDelayQueue.antiStarvation()
> StringBuilder sb = new StringBuilder();
> for (int i = 0; i < queues.length; i++) {
> sb.append("P[").append(i).append("]=").append(queues[i].size()).append(" ");
> }
> debug("sub-queue sizes: {0}", sb.toString());
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)