Hao Chen created EAGLE-904:
------------------------------
Summary: Refactor un-meaningful health alert message
Key: EAGLE-904
URL: https://issues.apache.org/jira/browse/EAGLE-904
Project: Eagle
Issue Type: Improvement
Components: Core::App Engine
Affects Versions: v0.5.0
Environment: PRODUCTION
Reporter: Hao Chen
Assignee: wujinhu
Fix For: v0.5.0
{code}
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) at
java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)