You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Brahma Reddy Battula (JIRA)" <ji...@apache.org> on 2018/01/11 15:11:00 UTC
[jira] [Created] (HADOOP-15167) [viewfs]
ViewFileSystem.InternalDirOfViewFs#getFileStatus shouldn't depend on
UGI#getPrimaryGroupName
Brahma Reddy Battula created HADOOP-15167:
---------------------------------------------
Summary: [viewfs] ViewFileSystem.InternalDirOfViewFs#getFileStatus shouldn't depend on UGI#getPrimaryGroupName
Key: HADOOP-15167
URL: https://issues.apache.org/jira/browse/HADOOP-15167
Project: Hadoop Common
Issue Type: Bug
Components: viewfs
Affects Versions: 2.7.0
Reporter: Brahma Reddy Battula
Have Secure federated cluster with atleast two nameservices
Configure viewfs related configs
When we run the {{ls}} cmd in HDFS client ,we will call the method: org.apache.hadoop.fs.viewfs.ViewFileSystem.InternalDirOfViewFs#getFileStatus
it will try to get the group of the kerberos user. If the node has not this user, it fails.
Throws the following and exits.UserGroupInformation#getPrimaryGroupName
{code}
if (groups.isEmpty()) {
throw new IOException("There is no primary group for UGI " + this);
}
{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org