Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-17335

Add metrics for syncWaitQ in FSEditLogAsync

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.3.6
    • None
    • namenode

    Description

      To monitor syncWaitQ in FSEditLogAsync, we add a metric syncPendingCount.

      The reason we add this metrics is that when dequeueEdit() return null,  the boolean variable doSync is set to !syncWaitQ.isEmpty()    After adding this metrics we can better monitor sync performance and codes.

      Attachments

        Issue Links

          Activity

            People

              zhanghaobo farmmamba
              zhanghaobo farmmamba
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: