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 "Fredy Wijaya (JIRA)" <ji...@apache.org> on 2018/05/30 21:04:00 UTC

[jira] [Created] (HADOOP-15505) Groups.getGroups() should throw a generic subclass of IOException

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: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org