>>> On 4/4/2008 at 8:15 PM, in message <[EMAIL PROTECTED]>, Carlo
Marcelo Arenas Belon <[EMAIL PROTECTED]> wrote:
> On Fri, Apr 04, 2008 at 11:56:23AM -0600, Brad Nicholes wrote:
>> >>> On 4/3/2008 at 4:30 PM, in message
>> <[EMAIL PROTECTED]>, "Bernard Li"
>> <[EMAIL PROTECTED]> wrote:
>> > I noticed that since April 1st (that would be ~ r1185), I have been
>> > getting the following message in my /var/log/messages:
>> > 
>> > Apr  1 16:49:14 build01 /usr/sbin/gmetad[19901]: RRD_update
>> > (/var/lib/ganglia/rrds/Build Servers/__SummaryInfo__/machine_t
>> > ype.rrd): conversion of '^A' to float not complete: tail '^A'
>> > 
>> > (some times I get ^B instead of ^A)
>> > 
>> > Any ideas?
> 
> an incorrect conversion from string to float
> 
>> I'm not sure why that is happening, but it brings up a bigger question.  Why 
> are we writing summaries for a string type?
> 
> because the code was modified in r1105 to do that.  which was if I remember
> correctly some code I explicitally didn't want to commit because it was
> incorrect and needed more work.
> 

AFAICT, r1105 just exposed a problem that has been there all the time.  My real 
question is if there was a reason why write_root_summary() just created an RRD 
for all metrics regardless of the data type.  All of the other RRD related 
functions seemed to check the data type first and only create an RRD for 
numeric types.  I have already commited a patch so that write_root_summary() 
checks the data type before creating an RRD file.  If there is some reason why 
a summary RRD should be created for all metrics, I can revert the patch.

Brad


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Ganglia-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to