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

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

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.0, 1.4.6
    • 2.1.1
    • Operability
    • None
    • 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: elserj

      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

              zhangduo Duo Zhang
              esteban Esteban Gutierrez
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: