[
https://issues.apache.org/jira/browse/HADOOP-10315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15946202#comment-15946202
]
Hadoop QA commented on HADOOP-10315:
------------------------------------
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m
0s{color} | {color:blue} Docker mode activated. {color} |
| {color:red}-1{color} | {color:red} patch {color} | {color:red} 0m 9s{color}
| {color:red} HADOOP-10315 does not apply to trunk. Rebase required? Wrong
Branch? See https://wiki.apache.org/hadoop/HowToContribute for help. {color} |
\\
\\
|| Subsystem || Report/Notes ||
| JIRA Issue | HADOOP-10315 |
| JIRA Patch URL |
https://issues.apache.org/jira/secure/attachment/12789816/HADOOP-10315.v1.patch
|
| Console output |
https://builds.apache.org/job/PreCommit-HADOOP-Build/11982/console |
| Powered by | Apache Yetus 0.5.0-SNAPSHOT http://yetus.apache.org |
This message was automatically generated.
> Log the original exception when getGroups() fail in UGI.
> --------------------------------------------------------
>
> Key: HADOOP-10315
> URL: https://issues.apache.org/jira/browse/HADOOP-10315
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 0.23.10, 2.2.0
> Reporter: Kihwal Lee
> Assignee: Ted Yu
> Attachments: HADOOP-10315.v1.patch
>
>
> In UserGroupInformation, getGroupNames() swallows the original exception.
> There have been many occasions that more information on the original
> exception could have helped.
> {code}
> 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];
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]