-
Type:
Bug
-
Status: Patch Available
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 0.23.10, 2.2.0
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Target Version/s:
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]; } }
- 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
-