Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8091BDDA6 for ; Wed, 19 Sep 2012 04:47:11 +0000 (UTC) Received: (qmail 10256 invoked by uid 500); 19 Sep 2012 04:47:10 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 10083 invoked by uid 500); 19 Sep 2012 04:47:09 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 9758 invoked by uid 99); 19 Sep 2012 04:47:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Sep 2012 04:47:07 +0000 Date: Wed, 19 Sep 2012 15:47:07 +1100 (NCT) From: "Andrew Wang (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: <2034901229.95928.1348030027573.JavaMail.jiratomcat@arcas> Subject: [jira] [Created] (HDFS-3957) Change MutableQuantiles to use a shared thread for rolling over metrics MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Andrew Wang created HDFS-3957: --------------------------------- Summary: Change MutableQuantiles to use a shared thread for rolling over metrics Key: HDFS-3957 URL: https://issues.apache.org/jira/browse/HDFS-3957 Project: Hadoop HDFS Issue Type: Improvement Affects Versions: 2.0.3-alpha Reporter: Andrew Wang Assignee: Andrew Wang Priority: Minor 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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira