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

Log more detail for slow RPC

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment