chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Graham (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CHUKWA-472) TsProcessor: make date format configurable
Date Mon, 26 Apr 2010 19:22:33 GMT

    [ https://issues.apache.org/jira/browse/CHUKWA-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12861058#action_12861058
] 

Bill Graham commented on CHUKWA-472:
------------------------------------

Thanks Eric.

FYI, for anyone with a tendency to copy-and-paste, the sample configuration regex values shown
above should only have single-backslash-escapes when used in configuration files (the double-escapes
were taken from values in java code).

> TsProcessor: make date format configurable
> ------------------------------------------
>
>                 Key: CHUKWA-472
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-472
>             Project: Hadoop Chukwa
>          Issue Type: Improvement
>            Reporter: Bill Graham
>            Assignee: Bill Graham
>         Attachments: CHUKWA-472.1.patch, CHUKWA-472.2.patch
>
>
> The TsProcessor's default date format and it's date format for a given data type should
both be configurable.
> - To set time format for a given data type:
> {noformat}
> <property>
>  <name>TsProcessor.time.format.some_data_type</name>
>  <value>yyyy-MM-dd HH:mm:ss,SSS</value>
> </property>
> {noformat}
> - To set the default time format:
> {noformat}
> <property>
>  <name>TsProcessor.default.time.format</name>
>  <value>yyyy-MM-dd HH:mm:ss,SSS</value>
> </property>
> {noformat}

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