eagle-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (EAGLE-912) make application health check message more readable
Date Mon, 20 Feb 2017 05:31:44 GMT

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

ASF GitHub Bot commented on EAGLE-912:
--------------------------------------

Github user wujinhu closed the pull request at:

    https://github.com/apache/eagle/pull/820


> make application health check message more readable
> ---------------------------------------------------
>
>                 Key: EAGLE-912
>                 URL: https://issues.apache.org/jira/browse/EAGLE-912
>             Project: Eagle
>          Issue Type: Improvement
>    Affects Versions: v0.5.0
>            Reporter: wujinhu
>            Assignee: wujinhu
>             Fix For: v0.5.0
>
>
> If an application delayed a long time, health check scheduler will send message like
this:
> An exception was caught when fetch application current process time: java.lang.IndexOutOfBoundsException:
Index: 0, Size: 0 at java.util.LinkedList.checkElementIndex(LinkedList.java:555) at java.util.LinkedList.get(LinkedList.java:476)
at org.apache.eagle.jpm.mr.history.MRHistoryJobApplicationHealthCheck.check(MRHistoryJobApplicationHealthCheck.java:75)
at com.codahale.metrics.health.HealthCheck.execute(HealthCheck.java:172) at org.apache.eagle.app.service.impl.ApplicationHealthCheckServiceImpl.runOneIteration(ApplicationHealthCheckServiceImpl.java:180)
at com.google.common.util.concurrent.AbstractScheduledService$1$1.run(AbstractScheduledService.java:172)
at com.google.common.util.concurrent.Callables$3.run(Callables.java:93) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> This is unreadable



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message