chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ariel Rabkin <>
Subject Re: units in MDL and HICC
Date Fri, 22 May 2009 17:35:09 GMT
I'm okay with doing this in the parser.  Particularly if it's
declaratively driven with something like that conversion syntax,
embedded in demux-conf.   But we should probably be clear to ourselves
what constitutes "truth" when it comes to units and such.

I found the conversion code you mention.  Right now, it lives in MDL.
Eric, are you saying that it should move to demux, so that the HDFS
copy of data is accurate?  If so, I think I agree.

On Fri, May 22, 2009 at 10:28 AM, Eric Yang <> wrote:
> There is a special keyword called conversion.<record_type>.<key>,
> By putting 1000, it will apply column_value*1000 before inserting into
> database.  I did not test much of this pre chukwa days.  I am not sure if it
> stil works.
> The right thing to do is to improve the parser to do the right thing hence,
> cleansed and unified truth is stored in hdfs.
> Rgards,
> Eric
> On 5/21/09 10:06 PM, "Ariel Rabkin" <> wrote:
>> Howdy all.
>> So I've noticed something.  The default mdl.xml has entries for
>> memused, and kbkached.
>> My version of sar outputs kbcached, and *kb*memused.    So memused
>> doesn't display right.
>> In general though, I've gotten worried about units.
>> if I stick 1000 * kbmemused in mdl.xml, will that get pasted into a
>> SQL command and will the right thing happen?
>> Is there a better way to do unit conversion, other than hacking the Java?
>> Is there any way to know what the right units are, actually?
>> --Ari

Ari Rabkin
UC Berkeley Computer Science Department

View raw message