Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-18920

RPC Metrics : Optimize logic for log slow RPCs

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      HADOOP-12325 implement a capability where "slow" RPCs are logged in NN log.
      Current processing logic is the "slow" RPCs are to be those whose processing time is outside 3 standard deviation.
      However, in practice it is found that many logs of slow rpc are currently output, and sometimes RPCs with a processing time of 1ms are also declared as slow, this is not in line with actual expectations.

      Therefore, consider optimize the logic conditions of slow RPC and add a `logSlowRPCThresholdMs` variable to judge whether the current RPCas slow so that the expected slow RPC log can be logger.
      for `logSlowRPCThresholdMs`, we can support dynamic refresh to facilitate adjustments based on the actual operating conditions of the hdfs cluster.

      Attachments

        Issue Links

          Activity

            People

              haiyang Hu Haiyang Hu
              haiyang Hu Haiyang Hu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: