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

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.0
    • 3.3.0
    • common

    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

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

            Dates

              Created:
              Updated:
              Resolved: