hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "KWON BYUNGCHANG (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-9511) When rmadmin/dfsadmin -refreshUserToGroupsMappings, it does not reload hadoop.user.group.static.mapping.overrides config.
Date Sun, 06 Dec 2015 07:09:15 GMT
KWON BYUNGCHANG created HDFS-9511:
-------------------------------------

             Summary: When rmadmin/dfsadmin -refreshUserToGroupsMappings, it does not reload
hadoop.user.group.static.mapping.overrides config.
                 Key: HDFS-9511
                 URL: https://issues.apache.org/jira/browse/HDFS-9511
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: security
    Affects Versions: 2.7.1
            Reporter: KWON BYUNGCHANG
            Priority: Minor


My environment does not allow add user/group.  I can't rely os user/group mechanism.
and I don’t want to show below log.

{code}
2015-11-26 13:21:48,486 WARN  security.UserGroupInformation (UserGroupInformation.java:getGroupNames(1521))
- No groups available for user hello
{code}

I append {{org.apache.hadoop.security.SimpleUserGroupsMapping}}.

It is very simple.  group of some user is user.  user and group are same.

if some users should be another group that is different with user name, use {{hadoop.user.group.static.mapping.overrides=user1=group;user2=group}}

problem is when {{hdfs dfsadmin -refreshUserToGroupsMappings}} ,  {{yarn rmadmin -refreshUserToGroupsMappings}},
it does not reload that config.

Thank you.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message