You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Aravindan Vijayan (JIRA)" <ji...@apache.org> on 2016/06/09 20:35:21 UTC

[jira] [Updated] (AMBARI-17149) HadoopTimelineMetricsSink from AMS prevents process shutdown

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

Aravindan Vijayan updated AMBARI-17149:
---------------------------------------
    Status: Patch Available  (was: Open)

> 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)