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

Improve log levels when exceptions caught in RPC handler

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.22.0
    • Fix Version/s: 0.22.0, 0.23.7
    • Component/s: ipc
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: