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 3066E200BF6 for ; Tue, 10 Jan 2017 12:34:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 2F06F160B31; Tue, 10 Jan 2017 11:34:00 +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 794ED160B4B for ; Tue, 10 Jan 2017 12:33:59 +0100 (CET) Received: (qmail 49049 invoked by uid 500); 10 Jan 2017 11:33:58 -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 49012 invoked by uid 99); 10 Jan 2017 11:33:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jan 2017 11:33:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 704B42C2A69 for ; Tue, 10 Jan 2017 11:33:58 +0000 (UTC) Date: Tue, 10 Jan 2017 11:33:58 +0000 (UTC) From: "Yiqun Lin (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-13965) Groups should be consistent in using group mapping class MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 10 Jan 2017 11:34:00 -0000 [ https://issues.apache.org/jira/browse/HADOOP-13965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yiqun Lin updated HADOOP-13965: ------------------------------- Description: {code:title=Groups.java} public Groups(Configuration conf, final Timer timer) { impl = ReflectionUtils.newInstance( conf.getClass(CommonConfigurationKeys.HADOOP_SECURITY_GROUP_MAPPING, ShellBasedUnixGroupsMapping.class, GroupMappingServiceProvider.class), conf); ... } {code} The default value of setting {{hadoop.security.group.mapping}} is different in code and config file. In file {{core-default.xml}}, it uses the class {{JniBasedUnixGroupsMappingWithFallback}} and this should be the true value. was: {code:title=Groups.java} public Groups(Configuration conf, final Timer timer) { impl = ReflectionUtils.newInstance( conf.getClass(CommonConfigurationKeys.HADOOP_SECURITY_GROUP_MAPPING, ShellBasedUnixGroupsMapping.class, GroupMappingServiceProvider.class), conf); ... } {code} The default value of setting {{hadoop.security.group.mapping}} is different in code and config file. In the core-default.xml, it uses the class {{JniBasedUnixGroupsMappingWithFallback}} and this should be a true. > Groups should be consistent in using group mapping class > -------------------------------------------------------- > > Key: HADOOP-13965 > URL: https://issues.apache.org/jira/browse/HADOOP-13965 > Project: Hadoop Common > Issue Type: Bug > Components: security > Affects Versions: 3.0.0-alpha2 > Reporter: Yiqun Lin > Assignee: Yiqun Lin > Priority: Minor > > {code:title=Groups.java} > public Groups(Configuration conf, final Timer timer) { > impl = > ReflectionUtils.newInstance( > conf.getClass(CommonConfigurationKeys.HADOOP_SECURITY_GROUP_MAPPING, > ShellBasedUnixGroupsMapping.class, > GroupMappingServiceProvider.class), > conf); > ... > } > {code} > The default value of setting {{hadoop.security.group.mapping}} is different in code and config file. In file {{core-default.xml}}, it uses the class {{JniBasedUnixGroupsMappingWithFallback}} and this should be the true value. -- 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