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

Backport 'HBASE-20942 Improve RpcServer TRACE logging' to branch-2.1

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0, 1.4.6
    • Fix Version/s: 2.1.1
    • 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.002.patch
          8 kB
          Josh Elser
        2. HBASE-20942.003.patch
          8 kB
          Josh Elser
        3. HBASE-20942.004.patch
          11 kB
          Josh Elser
        4. HBASE-20942.005.patch
          7 kB
          Josh Elser

          Issue Links

            Activity

              People

              • Assignee:
                Apache9 Duo Zhang
                Reporter:
                esteban Esteban Gutierrez
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: