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

Improve log levels when exceptions caught in RPC handler

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.22.0
    • 0.22.0, 0.23.7
    • ipc
    • None

    Description

      When a server implementation throws an exception handling an RPC, the Handler thread catches it and logs it before responding with the exception over the IPC channel. This is currently done at INFO level.

      I'd like to propose that, if the exception is an unchecked exception, it should be logged at WARN level instead. This can help alert operators when they might be hitting some kind of bug.

      Attachments

        1. hadoop-7358.txt
          1 kB
          Todd Lipcon
        2. HADOOP-7358.trunk.patch
          1 kB
          Uma Maheswara Rao G

        Activity

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: