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

Steve Loughran commented on YARN-4695:
--------------------------------------

stack. Note how the interrupted exception happened during RPC and has been 
wrapped
{code}
2016-02-16 13:57:21,171 [ScalaTest-main-running-TimelineListenerSuite] INFO  
timeline.LeveldbTimelineStore (LeveldbTimelineStore.java:serviceStop(250)) - 
Waiting for deletion thread to complete its current action
2016-02-16 13:57:21,171 [Thread-10] INFO  timeline.LeveldbTimelineStore 
(LeveldbTimelineStore.java:run(296)) - Deletion thread received interrupt, 
exiting
2016-02-16 13:57:21,172 [EntityLogPluginWorker #1] ERROR 
timeline.EntityGroupFSTimelineStore (EntityGroupFSTimelineStore.java:run(693)) 
- Error processing logs for application_1111_0000
java.lang.reflect.UndeclaredThrowableException
        at com.sun.proxy.$Proxy25.getApplicationReport(Unknown Source)
        at 
org.apache.hadoop.yarn.client.api.impl.YarnClientImpl.getApplicationReport(YarnClientImpl.java:448)
        at 
org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore.getAppState(EntityGroupFSTimelineStore.java:464)
        at 
org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore.access$700(EntityGroupFSTimelineStore.java:79)
        at 
org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore$AppLogs.parseSummaryLogs(EntityGroupFSTimelineStore.java:529)
        at 
org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore$AppLogs.parseSummaryLogs(EntityGroupFSTimelineStore.java:519)
        at 
org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore$ActiveLogParser.run(EntityGroupFSTimelineStore.java:686)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.InterruptedException: sleep interrupted
        at java.lang.Thread.sleep(Native Method)
        at 
org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:159)
        ... 14 more
{code}

> EntityGroupFSTimelineStore to not log errors during shutdown
> ------------------------------------------------------------
>
>                 Key: YARN-4695
>                 URL: https://issues.apache.org/jira/browse/YARN-4695
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>    Affects Versions: 2.8.0
>            Reporter: Steve Loughran
>
> # The {{EntityGroupFSTimelineStore}} threads log exceptions that get raised 
> during their execution.
> # the service stops by interrupting all its workers
> # as a result, the workers all log exceptions at error *even during a managed 
> shutdown*
> # this creates distracting noise in logs



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

Reply via email to