Details
-
Bug
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
0.23.10, 2.2.0
-
None
-
None
-
None
Description
In UserGroupInformation, getGroupNames() swallows the original exception. There have been many occasions that more information on the original exception could have helped.
public synchronized String[] getGroupNames() { ensureInitialized(); try { List<String> result = groups.getGroups(getShortUserName()); return result.toArray(new String[result.size()]); } catch (IOException ie) { LOG.warn("No groups available for user " + getShortUserName()); return new String[0]; } }
Attachments
Attachments
Issue Links
- is depended upon by
-
HADOOP-12649 Improve Kerberos diagnostics and failure handling
- Open
- is duplicated by
-
HADOOP-12840 UGI to log@ debug stack traces when failing to find groups for a user
- Resolved