ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aravindan Vijayan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-17149) HadoopTimelineMetricsSink from AMS prevents process shutdown
Date Mon, 27 Jun 2016 22:41:57 GMT

     [ 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: Reopened)

> 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-2.patch, 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)

Mime
View raw message