You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Wei-Chiu Chuang (JIRA)" <ji...@apache.org> on 2019/08/02 21:59:00 UTC

[jira] [Updated] (HADOOP-15942) Change the logging level form DEBUG to ERROR for RuntimeErrorException in JMXJsonServlet

     [ https://issues.apache.org/jira/browse/HADOOP-15942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wei-Chiu Chuang updated HADOOP-15942:
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 3.3.0
           Status: Resolved  (was: Patch Available)

Thanks [~OneisAll] for the patch and [~ayushtkn] and [~stevel@apache.org] for helping with the review!

> Change the logging level form DEBUG to ERROR for RuntimeErrorException in JMXJsonServlet
> ----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-15942
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15942
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: common
>    Affects Versions: 3.1.0
>            Reporter: Anuhan Torgonshar
>            Assignee: Anuhan Torgonshar
>            Priority: Major
>              Labels: easyfix
>             Fix For: 3.3.0
>
>         Attachments: HADOOP-15942.trunk.patch
>
>
> In *JMXJsonServlet.java* file, when invokes *MBeanServer.getAttribute()* method, many catch clauses followed, and each of them contains a log statement, most of them set the logging level to *ERROR*. However, when catches *RuntimeErrorException* in line 348 (r1839798), the logging level of log statement in this catch clause is *DEBUG*, the annotation indicates that an unexpected failure occured in getAttribute method before, so I think the logging level shuold be *ERROR* level too. 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org