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

Improvement for some debug-logging guards

    XMLWordPrintableJSON

    Details

    • Hadoop Flags:
      Reviewed

      Description

      Some potential expensive debug-logging calls are partially guarded by `isXXXEnabled()`. Therefore,

      • Moving some potential expensive statements into the adjacent `isDebugEnabled` in `NettyRpcDuplexHandler.java`
      • Moving the `isTraceEnabled` up to the beginning of `printChoreDetails` and `printChoreServiceDetails` in `ChoreService.java `.

        Attachments

        1. HBASE-25762.patch
          3 kB
          Chen Zhi

          Issue Links

            Activity

              People

              • Assignee:
                coder_chenzhi Chen Zhi
                Reporter:
                coder_chenzhi Chen Zhi
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: