From issues-return-168369-archive-asf-public=cust-asf.ponee.io@hive.apache.org Fri Oct 4 06:16:04 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id DD08C180651 for ; Fri, 4 Oct 2019 08:16:03 +0200 (CEST) Received: (qmail 24249 invoked by uid 500); 4 Oct 2019 06:16:03 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 24237 invoked by uid 99); 4 Oct 2019 06:16:03 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Oct 2019 06:16:03 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 4A24EE00FC for ; Fri, 4 Oct 2019 06:16:02 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 110D57807CE for ; Fri, 4 Oct 2019 06:16:01 +0000 (UTC) Date: Fri, 4 Oct 2019 06:16:01 +0000 (UTC) From: "ASF GitHub Bot (Jira)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Work logged] (HIVE-22267) Support password based authentication in HMS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-22267?focusedWorklogId=323217&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-323217 ] 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. URL: https://github.com/apache/hive/pull/793#discussion_r331014847 ########## File path: itests/hive-minikdc/src/test/java/org/apache/hive/minikdc/RemoteHiveMetaStoreDualAuthTest.java ########## @@ -0,0 +1,64 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.hive.minikdc; + +import org.apache.hadoop.conf.Configuration; +import org.apache.hadoop.hive.metastore.TestRemoteHiveMetaStore; +import org.apache.hadoop.hive.metastore.conf.MetastoreConf; +import org.apache.hadoop.hive.metastore.conf.MetastoreConf.ConfVars; +import org.junit.Before; + +public class RemoteHiveMetaStoreDualAuthTest extends TestRemoteHiveMetaStore { + // These names are tied with the .jceks file used by the subclasses. So, do not change those. Review comment: you can create a jck file programmatically using CredentialProviderFactory. ---------------------------------------------------------------- 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: users@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 323217) Time Spent: 20m (was: 10m) > Support password based authentication in HMS > -------------------------------------------- > > Key: HIVE-22267 > URL: https://issues.apache.org/jira/browse/HIVE-22267 > 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: 20m > 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 (v8.3.4#803005)