hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <>
Subject [jira] [Work logged] (HIVE-22267) Support password based authentication in HMS
Date Fri, 04 Oct 2019 06:16:01 GMT


ASF GitHub Bot logged work on HIVE-22267:

                Author: ASF GitHub Bot
            Created on: 04/Oct/19 06:15
            Start Date: 04/Oct/19 06:15
    Worklog Time Spent: 10m 
      Work Description: maheshk114 commented on pull request #793: HIVE-22267 : Support password
based authentication for HMS along-side kerberos authentication.

 File path: standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/
 @@ -590,7 +592,30 @@ private void open() throws MetaException {
             transport = new TSocket(store.getHost(), store.getPort(), clientSocketTimeout);
-          if (useSasl) {
+          if (usePasswordAuth) {
+            // we are using PLAIN Sasl connection with user/password
+            LOG.debug("HMSC::open(): Creating plain authentication thrift connection.");
+            String userName = MetastoreConf.getVar(conf, ConfVars.METASTORE_CLIENT_PLAIN_USERNAME);
 Review comment:
   check for userName nullity is required 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

Issue Time Tracking

    Worklog Id:     (was: 323219)
    Time Spent: 0.5h  (was: 20m)

> Support password based authentication in HMS
> --------------------------------------------
>                 Key: HIVE-22267
>                 URL:
>             Project: Hive
>          Issue Type: New Feature
>            Reporter: Ashutosh Bapat
>            Assignee: Ashutosh Bapat
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-22267.00.patch, HIVE-22267.01.patch, HIVE-22267.02.patch, HIVE-22267.03.patch,
HIVE-22267.04.patch, HIVE-22267.05.patch, HIVE-22267.06.patch, HIVE-22267.07.patch, HIVE-22267.08.patch
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
> Similar to HS2, support password based authentication in HMS.
> Right now we provide LDAP and CONFIG based options. The later allows to set user and
password in config and is used only for testing.

This message was sent by Atlassian Jira

View raw message