You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Madhan Neethiraj (JIRA)" <ji...@apache.org> on 2017/01/04 07:17:58 UTC

[jira] [Updated] (ATLAS-1162) Register shutdown hooks with Hadoop's ShutdownHookManager, instead of directly with Java Runtime

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

Madhan Neethiraj updated ATLAS-1162:
------------------------------------
    Fix Version/s: 0.7.1-incubating

Committed to 0.7-incubating branch: http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/d0d0f82b

> Register shutdown hooks with Hadoop's ShutdownHookManager, instead of directly with Java Runtime
> ------------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-1162
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1162
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: 0.7-incubating
>            Reporter: Madhan Neethiraj
>            Assignee: Madhan Neethiraj
>             Fix For: 0.8-incubating, 0.7.1-incubating
>
>         Attachments: ATLAS-1162.patch
>
>
> Atlas hooks and server currently register a shutdown hook directly with java Runtime object. Hadoop provides an utility class, ShutdownHookManager, which helps to ensure that the hooks are called in a well defined order. Atlas hook registration should be updated to register its shutdown hook with Hadoop's ShutdownHookManager:
> https://github.com/apache/hadoop/blob/master/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ShutdownHookManager.java.
> Ref: RANGER-891



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