[
https://issues.apache.org/jira/browse/AMBARI-15567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Myroslav Papirkovskyi updated AMBARI-15567:
-------------------------------------------
Attachment: AMBARI-15567.patch
Patch affects logging only. Unit tests not required.
> UrlStreamProvider emits critical exceptions in debug mode only
> --------------------------------------------------------------
>
> Key: AMBARI-15567
> URL: https://issues.apache.org/jira/browse/AMBARI-15567
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.2.2
> Reporter: Myroslav Papirkovskyi
> Assignee: Myroslav Papirkovskyi
> Priority: Critical
> Fix For: 2.2.2
>
> Attachments: AMBARI-15567.patch
>
>
> Following method hides all exceptions from property provider when not in
> debug mode:
> {noformat}
> org.apache.ambari.server.controller.metrics.ThreadPoolEnabledPropertyProvider#logException
> {noformat}
> This makes some issues hard to detect and investigate. We should print
> exceptions, but limit their amount since this can fill logs very quickly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)