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)