Fredy Wijaya created HADOOP-15505:
-------------------------------------
Summary: Groups.getGroups() should throw a generic subclass of
IOException
Key: HADOOP-15505
URL: https://issues.apache.org/jira/browse/HADOOP-15505
Project: Hadoop Common
Issue Type: Improvement
Components: common
Affects Versions: 3.0.2
Reporter: Fredy Wijaya
Currently Groups.getGroups throws an IOException:
[https://github.com/apache/hadoop/blob/778a4a24be176382a5704f709c00bdfcfe6ddc8c/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/Groups.java#L199]
It would be nice if Groups.getGroups throws a subclass of IOException instead,
e.g. NoGroupsFoundException. This way the API can stay backward compatible.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]