Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15942

Change the logging level form DEBUG to ERROR for RuntimeErrorException in JMXJsonServlet

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.3.0
    • Component/s: common
    • Labels:

      Description

      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. 

        Attachments

        1. HADOOP-15942.trunk.patch
          1 kB
          Anuhan Torgonshar

          Activity

            People

            • Assignee:
              OneisAll Anuhan Torgonshar
              Reporter:
              OneisAll Anuhan Torgonshar
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: