Closed
Description
Found in build: 6.3.2
With job config:
"analysis_config" : {
"bucket_span" : "1h",
"detectors" : [
{
"detector_description" : "mean(tiemposaltos)",
"function" : "mean",
"field_name" : "tiemposaltos",
"partition_field_name" : "sistema.keyword",
"detector_index" : 0
},
{
"detector_description" : "mean(errores)",
"function" : "mean",
"field_name" : "errores",
"partition_field_name" : "sistema.keyword",
"detector_index" : 1
},
{
"detector_description" : "mean(transacciones)",
"function" : "mean",
"field_name" : "transacciones",
"partition_field_name" : "sistema.keyword",
"detector_index" : 2
}
],
"influencers" : [
"sistema.keyword"
]
}
Errors, that repeat every 10 minutes, have been reported in the logs:
[2019-01-15T17:51:46,344][ERROR][o.e.x.m.j.p.l.CppLogMessageHandler] [monitores] [autodetect/8947] [CDecompositionComponent.cc@147] Failed calculating confidence interval: Error in function boost::math::normal_distribution::normal_distribution: Scale parameter is nan, but must be > 0 !, n = 20.0602, m = nan, sd = nan, confidence = 50
[2019-01-15T17:51:46,344][ERROR][o.e.x.m.j.p.l.CppLogMessageHandler] [monitores] [autodetect/8947] [CDecompositionComponent.cc@147] Failed calculating confidence interval: Error in function boost::math::normal_distribution::normal_distribution: Scale parameter is nan, but must be > 0 !, n = 13.5703, m = nan, sd = nan, confidence = 50
[2019-01-15T17:51:46,347][ERROR][o.e.x.m.j.p.l.CppLogMessageHandler] [monitores] [autodetect/8947] [CNormalMeanPrecConjugate.cc@192] Error calculating joint distribution: Bad variance scale nan
[2019-01-15T17:51:46,347][ERROR][o.e.x.m.j.p.l.CppLogMessageHandler] [monitores] [autodetect/8947] [CNormalMeanPrecConjugate.cc@274] Failed to compute probability of less likely samples
[2019-01-15T17:51:46,348][ERROR][o.e.x.m.j.p.l.CppLogMessageHandler] [monitores] [autodetect/8947] [CNormalMeanPrecConjugate.cc@1152] Failed computing probability for [nan]
[2019-01-15T17:51:46,348][ERROR][o.e.x.m.j.p.l.CppLogMessageHandler] [monitores] [autodetect/8947] [CTimeSeriesModel.cc@990] Failed to compute P([nan] | weight = [[nan, 0.7091527]], time = 1547594505)
[2019-01-15T17:51:46,348][ERROR][o.e.x.m.j.p.l.CppLogMessageHandler] [monitores] [autodetect/8947] [CIndividualModelDetail.h@103] Failed to compute P([[0]] | feature = 'arithmetic mean value by person', @ [[1547594505]], elapsedTime = 14947200, person = )
Initial analysis indicates that the errors stem from a sample with NaN
value being used in CUnivariateTimeSeriesModel::uncorrelatedProbability
and then percolating up the call stack.