[ 
https://issues.apache.org/jira/browse/AMBARI-17149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aravindan Vijayan updated AMBARI-17149:
---------------------------------------
    Attachment: AMBARI-17149.patch

> HadoopTimelineMetricsSink from AMS prevents process shutdown
> ------------------------------------------------------------
>
>                 Key: AMBARI-17149
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17149
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-metrics
>    Affects Versions: 2.4.0
>            Reporter: Aravindan Vijayan
>            Assignee: Aravindan Vijayan
>            Priority: Critical
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-17149.patch
>
>
> HadoopTimelineMetricsSink has and ExecutorService thread which is not a 
> daemon thread. The executor is not shutdown, and thread is not interrupted 
> while the sink stops. This causes region server process to hang although the 
> rest of the threads have all exited.
> The new thread should be marked as a daemon thread, and also call shutdown() 
> or shutdownNow() on the executor in sink close.



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

Reply via email to