hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanth Jayachandran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-18982) Provide a CLI option to manually trigger failover
Date Tue, 20 Mar 2018 21:41:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-18982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16407102#comment-16407102
] 

Prasanth Jayachandran commented on HIVE-18982:
----------------------------------------------

default is no security as hadoop.security.instrumentation.requires.admin defaults to false.

If hadoop.security.instrumentation.requires.admin	is set to true and hadoop.security.authorization
is set to true, then the user accessing the endpoint (kinit'ed user) has to be in hive.users.in.admin.role
list for accessing the endpoint. I will see if I can add unit test for unauthorized access.

> Provide a CLI option to manually trigger failover
> -------------------------------------------------
>
>                 Key: HIVE-18982
>                 URL: https://issues.apache.org/jira/browse/HIVE-18982
>             Project: Hive
>          Issue Type: Sub-task
>          Components: HiveServer2
>    Affects Versions: 3.0.0
>            Reporter: Prasanth Jayachandran
>            Assignee: Prasanth Jayachandran
>            Priority: Major
>         Attachments: HIVE-18982.1.patch, HIVE-18982.2.patch
>
>
> HIVE-18281 added active-passive HA. There might be a administrative need to trigger a
manual failover of HS2 Active server. Add command line tool to view list of all HS2 instances
and trigger manual failover (only under force mode). The clients currently connected to active
HS2 will be closed. In future, more options to existing clients connections can be handled
via configs/options (like wait until timeout, wait until current sessions are closed etc.)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message