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

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.3-alpha
    • Fix Version/s: 2.0.3-alpha
    • Component/s: None
    • Labels:
      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-1.patch
          6 kB
          Andrew Wang
        2. hdfs-3957-2.patch
          1 kB
          Andrew Wang

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: