Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Chukwa >> mail # dev >> ChukwaRecord getTime();


Copy link to this message
-
Re: ChukwaRecord getTime();
How the time is determined depends on what Processor is used, but this
field should be the time that is associated with when that record was
created by the data source (i.e. when the event it represents actually
occurred).

For example, if you're using the TsProcessor on a log file, you'll get
the time found in the log line as parsed into a Date object (see
https://issues.apache.org/jira/browse/CHUKWA-472).

I believe other processors (defaultProcessor?) will use the time that
the record was created in the adaptor if a time can't be grokked by
looking at the record itself.

HTH,
Bill

On Tue, Oct 12, 2010 at 11:00 AM, James Seigel <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Quick question.
>
> When you call getTime() on a chukwa record.  What time am I getting?
>
>        is it gmt?
>        is it agent time?
>        is it demux time?
>        is it collector time?
>
> My head is just a little confused.
>
> Cheers
> James.
>
>