metron-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Casey Stella <ceste...@gmail.com>
Subject Re: Median Absolute Deviation - Profiler Error
Date Mon, 27 Feb 2017 22:33:52 GMT
Any chance there's a full stacktrace associated with that NPE anywhere?
Also, I assume this is 0.3.0, right?

On Mon, Feb 27, 2017 at 5:29 PM, shoggi <shoggi@gmail.com> wrote:

> Hi all
>
> Has anyone come across following profiler error, when trying to work with
> the MAD functions? The configuration loads fine and I only get the error
> when the profiler is pushing its data. I don't think its a typo but maybe
> the logic is not sound.
>
> Error from the profiler worker:
> 2017-02-27 23:20:43.368 o.a.m.p.b.ProfileBuilderBolt [INFO] Flushing
> profile: profile=sketchy_mad, entity=krxd.net
> 2017-02-27 23:20:43.368 o.a.m.p.b.ProfileBuilderBolt [ERROR] Unexpected
> failure: message='null', tuple='source: __system:-1, stream: __tick, id:
> {}, [900]'
> java.lang.NullPointerException
> 2017-02-27 23:20:43.368 o.a.s.d.executor [ERROR]
> java.lang.NullPointerException
>
>
> My Profiler config:
>
>     {
>       "profile": "sketchy_mad",
>       "foreach": "if exists(domain_without_subdomains) then
> domain_without_subdomains else 'n/a'",
>       "onlyif": "exists(domain_without_subdomains) && source.type ==
> 'squid'",
>       "init" : {
>         "s": "OUTLIER_MAD_STATE_MERGE(PROFILE_GET('sketchy_mad',
> domain_without_subdomains, 5, 'MINUTES'))"
>       },
>       "tickUpdate" : {
>         "s": "OUTLIER_MAD_STATE_MERGE(PROFILE_GET('sketchy_mad',
> domain_without_subdomains, 5, 'MINUTES'), s)"
>       },
>       "update": {
>         "s": "OUTLIER_MAD_ADD(s, bytes)"
>       },
>       "result": "s"
>     }
>
> Regards
> shoggi
>

Mime
View raw message