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

Change MutableQuantiles to use a shared thread for rolling over metrics

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.3-alpha
    • 2.0.3-alpha
    • None
    • None

    Description

      Each MutableQuantiles currently creates its own thread to rollover the histogram every interval. It'd be better to do this with a single, shared thread or executor, and do it with a ThreadFactory that names it properly.

      Similar changes were made when porting MutableQuantiles to HBase in HBASE-6409, so this would also help keep them in sync.

      Attachments

        1. hdfs-3957-2.patch
          1 kB
          Andrew Wang
        2. hdfs-3957-1.patch
          6 kB
          Andrew Wang

        Issue Links

          Activity

            People

              andrew.wang Andrew Wang
              andrew.wang Andrew Wang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: