Return-Path: Delivered-To: apmail-hadoop-chukwa-dev-archive@minotaur.apache.org Received: (qmail 27233 invoked from network); 27 Mar 2009 17:41:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Mar 2009 17:41:13 -0000 Received: (qmail 47267 invoked by uid 500); 27 Mar 2009 17:41:13 -0000 Delivered-To: apmail-hadoop-chukwa-dev-archive@hadoop.apache.org Received: (qmail 47251 invoked by uid 500); 27 Mar 2009 17:41:13 -0000 Mailing-List: contact chukwa-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: chukwa-dev@hadoop.apache.org Delivered-To: mailing list chukwa-dev@hadoop.apache.org Received: (qmail 47241 invoked by uid 99); 27 Mar 2009 17:41:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Mar 2009 17:41:13 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Mar 2009 17:41:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 836BE234C003 for ; Fri, 27 Mar 2009 10:40:50 -0700 (PDT) Message-ID: <993990763.1238175650524.JavaMail.jira@brutus> Date: Fri, 27 Mar 2009 10:40:50 -0700 (PDT) From: "Ari Rabkin (JIRA)" To: chukwa-dev@hadoop.apache.org Subject: [jira] Commented: (CHUKWA-13) Support SQL macros in Chukwa Charting 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/CHUKWA-13?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12689978#action_12689978 ] Ari Rabkin commented on CHUKWA-13: ---------------------------------- It looks like the Macro class didn't make it into the patch...:( > Support SQL macros in Chukwa Charting > ------------------------------------- > > Key: CHUKWA-13 > URL: https://issues.apache.org/jira/browse/CHUKWA-13 > Project: Hadoop Chukwa > Issue Type: New Feature > Environment: Redhat EL 5.1, Java 6 > Reporter: Eric Yang > Assignee: Eric Yang > Priority: Blocker > Attachments: CHUKWA-13.patch > > > In Chukwa Database aggregator, we could execute SQL statement which looks like: > insert into [cluster_system_metrics] (select [avg(system_metrics)] from [system_metrics] where timestamp between [past_10_minutes] and [now]); > This new feature is to bring macro language to HICC charting. The user can write statement like: > select timestamp,host,load_5 from [system_metrics] where timestamp between [start] and [end]; > This statement will automatically expand to: > select timestamp, host, load_5 from system_metrics_2045_week where timestamp between '2009-03-02 00:00:00' and '2009-03-03 00:00:00'; -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.