chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Yang (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CHUKWA-13) Support SQL macros in Chukwa Charting
Date Wed, 25 Mar 2009 17:15:00 GMT

     [ https://issues.apache.org/jira/browse/CHUKWA-13?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Eric Yang updated CHUKWA-13:
----------------------------

    Attachment: CHUKWA-13.patch

Regenerate patch with updated indentation.

> 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
>         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.


Mime
View raw message