Return-Path: X-Original-To: apmail-tajo-dev-archive@minotaur.apache.org Delivered-To: apmail-tajo-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 AC9FF10BFE for ; Tue, 10 Dec 2013 06:16:37 +0000 (UTC) Received: (qmail 89120 invoked by uid 500); 10 Dec 2013 06:16:36 -0000 Delivered-To: apmail-tajo-dev-archive@tajo.apache.org Received: (qmail 89009 invoked by uid 500); 10 Dec 2013 06:16:34 -0000 Mailing-List: contact dev-help@tajo.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tajo.incubator.apache.org Delivered-To: mailing list dev@tajo.incubator.apache.org Received: (qmail 88983 invoked by uid 99); 10 Dec 2013 06:16:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Dec 2013 06:16:32 +0000 X-ASF-Spam-Status: No, hits=-2000.1 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 10 Dec 2013 06:16:29 +0000 Received: (qmail 84518 invoked by uid 99); 10 Dec 2013 06:16:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Dec 2013 06:16:07 +0000 Date: Tue, 10 Dec 2013 06:16:07 +0000 (UTC) From: "Jihoon Son (JIRA)" To: dev@tajo.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (TAJO-333) Add metric system to Tajo MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAJO-333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13843992#comment-13843992 ] Jihoon Son commented on TAJO-333: --------------------------------- In overall, the patch looks good to me. But, I have a couple of things to discuss. * For the high readability, it will be better to change the names of metrics to be more meaningful. For example, "executedExecutionBlocksNum" looks more meaningful than "runEB". Although the name lengths will increase, but it can increase readability. * The default name of metrics file can be better to move from TajoSystemMetrics to TajoConf.ConfVars. Also, it will be better to use TajoConf.getVar() instead of TajoConf.get() in TajoSystemMetrics.constructor(). * In TajoSystemMetrics, propertyChangeChecker seems to have the same role with FileChangedReloadingStrategy. If this is my misunderstading, please explain to me. * Please remove the unused main function from TajoSystemMetrics. * In MetricsConsoleReporter, the hostAndPort is fixed as "localhost" and it looks to represent the master address. But, I think that it may be different in some environments. So, how about read the address from QueryMaster? * Please remove a debug code at Line 269 in TajoWorker. * In tajo-metrics.propertis, there is a typing error at Line 46. (worker-jvm-reporters=cnull => worker-jvm-reporters=null) * Please remove unused imports. And, how about add a metric for the size of intermediate data? I think that it will be useful. > Add metric system to Tajo > ------------------------- > > Key: TAJO-333 > URL: https://issues.apache.org/jira/browse/TAJO-333 > Project: Tajo > Issue Type: New Feature > Reporter: Hyunsik Choi > Assignee: hyoungjunkim > Labels: metrics > Fix For: 0.8-incubating > > Attachments: TAJO-333.patch > > > Currently, there is no way to measure and observe Tajo's internal operations. As a Hadoop job, Tajo also should measure and record a lot of operational works. > I would like to propose the use of Metrics (http://metrics.codahale.com/). It is well known as a stable and efficient metric library. -- This message was sent by Atlassian JIRA (v6.1.4#6159)