OpenTSDB / opentsdb

A scalable, distributed Time Series Database.
http://opentsdb.net
GNU Lesser General Public License v2.1
4.99k stars 1.25k forks source link

IllegalDataException while querying, seems something's wrong whith the qualifier #403

Open strgrb opened 9 years ago

strgrb commented 9 years ago

net.opentsdb.core.IllegalDataException: Integer value @ 0 not on 8/4/2/1 bytes in [83, -11, 0, 0, 2, 67, -116, 0] at net.opentsdb.core.RowSeq.extractIntegerValue(RowSeq.java:242) ~[opentsdb-2.0.jar:na] at net.opentsdb.core.RowSeq$Iterator.longValue(RowSeq.java:607) ~[opentsdb-2.0.jar:na] at net.opentsdb.core.Span$DownsamplingIterator.nextLongValue(Span.java:624) ~[opentsdb-2.0.jar:na] at net.opentsdb.core.Aggregators$Sum.runLong(Aggregators.java:119) ~[opentsdb-2.0.jar:na]

I debugged the code, and found that the flags value is 2, which should be 0/1/3/7.

manolama commented 9 years ago

Ooo that's really odd. What version of OpenTSDB are you using? Also was there an upgrade between when the data in question was written and when it was queried? I want to make sure a bug didn't sneak in there.