[
https://issues.apache.org/jira/browse/HIVE-21805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16851538#comment-16851538
]
Gopal V commented on HIVE-21805:
--------------------------------
Since the configuration object is not there in 3.1 by default, this change has
to be made using the defaults from 3.1 (30 seconds shutdown timeout).
> HiveServer2: Use the fast ShutdownHookManager APIs
> --------------------------------------------------
>
> Key: HIVE-21805
> URL: https://issues.apache.org/jira/browse/HIVE-21805
> Project: Hive
> Issue Type: Bug
> Reporter: Gopal V
> Assignee: Gopal V
> Priority: Major
> Labels: regression
> Attachments: shutdownhookmanager-configuration.png,
> txnmanager-shutdownhook-2x.png
>
>
> Hadoop ShutDownHookManager calls "new Configuration()" inside if the
> parameters are not provided as args.
> This unzips jars & looks for the .xml files in the entire classpath.
> !shutdownhookmanager-configuration.png!
> +
> !txnmanager-shutdownhook-2x.png!
> Hive has its own impl of ShutDownHookManager, which has also history from the
> hadoo one (added to code instead of shims).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)