Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-20942

Improve RpcServer TRACE logging

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0, 1.4.6
    • Fix Version/s: 3.0.0, 1.3.3, 2.2.0, 2.0.2, 1.4.7
    • Component/s: Operability
    • Labels:
      None
    • Release Note:
      Allows configuration of the length of RPC messages printed to the log at TRACE level via "hbase.ipc.trace.param.size" in RpcServer.

      Description

      Two things:

      • We truncate RpcServer output to 1000 characters for trace logging. Would be better if that value was configurable.
      • There is the chance for an ArrayIndexOutOfBounds when truncating the TRACE log message.

      Esteban mentioned this to me earlier, so I'm crediting him as the reporter.

      cc: Josh Elser

        Attachments

        1. HBASE-20942.005.patch
          7 kB
          Krish Dey
        2. HBASE-20942.004.patch
          11 kB
          Krish Dey
        3. HBASE-20942.003.patch
          8 kB
          Krish Dey
        4. HBASE-20942.002.patch
          8 kB
          Krish Dey

          Issue Links

            Activity

              People

              • Assignee:
                krish.dey Krish Dey
                Reporter:
                esteban Esteban Gutierrez
              • Votes:
                1 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: