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

Improve RpcServer TRACE logging

    XMLWordPrintableJSON

Details

    • 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.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

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

              Dates

                Created:
                Updated:
                Resolved: