On Sat, Apr 05, 2008 at 05:32:08PM -0600, Brad Nicholes wrote:
> >>> 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.

the exposed problem was actually introduced in r1185, when the summary hash
was pushed a metric update for the extra elements not checking if it was
part of it

Fix Committed revision 1216

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

because all metrics in the summary hash were numeric as explained by the
comment in gmetad.c:192

Carlo

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