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

Log more detail for slow RPC

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0, 3.1.4, 3.2.2
    • None
    • None

    Description

      Current implementation only log process time

      if ((rpcMetrics.getProcessingSampleCount() > minSampleSize) &&
          (processingTime > threeSigma)) {
        LOG.warn("Slow RPC : {} took {} {} to process from client {}",
            methodName, processingTime, RpcMetrics.TIMEUNIT, call);
        rpcMetrics.incrSlowRpc();
      }
      

      We need to log more details to help us locate the problem (eg. how long it take to request lock, holding lock, or do other things)

      Attachments

        1. HADOOP-16531.001.patch
          2 kB
          Chen Zhang

        Issue Links

          Activity

            People

              zhangchen Chen Zhang
              zhangchen Chen Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: