[ https://issues.apache.org/jira/browse/HIVE-10976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14582182#comment-14582182 ]
Chaoyu Tang commented on HIVE-10976: ------------------------------------ [~jxiang] It is possible since it only calls the upperclass start(), but I thought that but still left it there because 1) to be consistent with the stop method; 2) in case in future CLIService needs add something especially in start, whose method already exists. > Redundant HiveMetaStore connect check in HS2 CLIService start > ------------------------------------------------------------- > > Key: HIVE-10976 > URL: https://issues.apache.org/jira/browse/HIVE-10976 > Project: Hive > Issue Type: Bug > Components: HiveServer2 > Reporter: Chaoyu Tang > Assignee: Chaoyu Tang > Priority: Trivial > Attachments: HIVE-10976.patch > > > During HS2 startup, CLIService start() does a HMS connection test to HMS. > It is redundant, since in its init stage, CLIService calls > applyAuthorizationConfigPolicy where it starts a sessionState and establishes > a connection to HMS. -- This message was sent by Atlassian JIRA (v6.3.4#6332)