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:24:20 UTC

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

Aravindan Vijayan created AMBARI-17149:
------------------------------------------

             Summary: 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


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)