You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eagle.apache.org by "Su Ralph (JIRA)" <ji...@apache.org> on 2016/06/14 10:45:01 UTC

[jira] [Comment Edited] (EAGLE-343) missing blocks alerting

    [ https://issues.apache.org/jira/browse/EAGLE-343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15329286#comment-15329286 ] 

Su Ralph edited comment on EAGLE-343 at 6/14/16 10:44 AM:
----------------------------------------------------------

[~senthilec566] i think the point here is to reduce the repeated alert. This policy should help (haven't verified yet)

from hadoopJmxMetricEventStream[metric == "hadoop.namenode.dfs.missingblocks" and min(convert(value, "long")) != max(convert(value, "long")) ]#window.externalTime(timestamp ,10 min) select metric, host, value, timestamp, component, site insert into tmp; 

This way we alert only when the missing-blocks varies in time windows. More condition like min(convert(value, "long"))==0 could help refine it to alert only when a missing block happens or disappears instead of alert on each varies.

[~gejing] is that the one you mean?




was (Author: ralphsu):
[~senthilec566] i think the point here is to reduce the repeated error. This policy should help (haven't verified yet)

from hadoopJmxMetricEventStream[metric == "hadoop.namenode.dfs.missingblocks" and min(convert(value, "long")) != max(convert(value, "long")) ]#window.externalTime(timestamp ,10 min) select metric, host, value, timestamp, component, site insert into tmp; 

This way we alert only when the missing-blocks varies in time windows. More condition like min(convert(value, "long"))==0 could help refine it to alert only when a missing block happens or disappears instead of alert on each varies.

[~gejing] is that the one you mean?



> missing blocks alerting
> -----------------------
>
>                 Key: EAGLE-343
>                 URL: https://issues.apache.org/jira/browse/EAGLE-343
>             Project: Eagle
>          Issue Type: New Feature
>            Reporter: Jing Ge
>              Labels: JPM
>             Fix For: v0.6.0
>
>
> It will normally take a long time to fix missing blocks issue. As a Hadoop cluster administrator, I only want to receive alerting when the the number of missing blocks is changed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)