Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 43C44200B87 for ; Mon, 19 Sep 2016 21:59:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 42687160ABB; Mon, 19 Sep 2016 19:59:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 90F42160ADC for ; Mon, 19 Sep 2016 21:59:22 +0200 (CEST) Received: (qmail 15474 invoked by uid 500); 19 Sep 2016 19:59:21 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 15300 invoked by uid 99); 19 Sep 2016 19:59:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Sep 2016 19:59:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 70F8A2C1B79 for ; Mon, 19 Sep 2016 19:59:21 +0000 (UTC) Date: Mon, 19 Sep 2016 19:59:21 +0000 (UTC) From: "Wei-Chiu Chuang (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-13548) Remove recursive dependencies of credential providers in LdapGroupsMapping MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 19 Sep 2016 19:59:23 -0000 [ https://issues.apache.org/jira/browse/HADOOP-13548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei-Chiu Chuang updated HADOOP-13548: ------------------------------------- Attachment: HADOOP-13548.002.patch v02: Fixed three bugs: (1) A TestLdapGroupsMapping test case used jceks://. Changed it to localjceks. (2) The ProviderUtils.excludeIncompatibleCredentialProviders had a bug identifying correct class corresponds to a scheme. (3) LdapGroupsMapping should also exclude user:// scheme. > Remove recursive dependencies of credential providers in LdapGroupsMapping > -------------------------------------------------------------------------- > > Key: HADOOP-13548 > URL: https://issues.apache.org/jira/browse/HADOOP-13548 > Project: Hadoop Common > Issue Type: Bug > Components: security > Affects Versions: 2.6.0 > Reporter: Wei-Chiu Chuang > Assignee: Wei-Chiu Chuang > Attachments: HADOOP-13548.001.patch, HADOOP-13548.002.patch > > > HADOOP-11934 discovered an infinite loop of dependencies in the use of credential provider in LdapGroupsMapping. It added a new localjceks:// URI to workaround the problem. The assumption is that the groups mapping is used only in NameNode and that using a local credential file is not a problem. > However, there are cases where Hadoop clients, such as Sqoop, may use hdfs:// based credential provider and use LdapGroupsMapping at the same time. We should use HADOOP-12846 to exclude hdfs:// URI credential providers. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org