HADOOP-12450. UserGroupInformation should not log at WARN level if no groups are found. (Elliott Clark via stevel)
This commit is contained in:
parent
e2d59e2c7b
commit
e286512a71
@ -932,6 +932,9 @@ Release 2.8.0 - UNRELEASED
|
|||||||
HADOOP-11984. Enable parallel JUnit tests in pre-commit.
|
HADOOP-11984. Enable parallel JUnit tests in pre-commit.
|
||||||
(Chris Nauroth via vinayakumarb)
|
(Chris Nauroth via vinayakumarb)
|
||||||
|
|
||||||
|
HADOOP-12450. UserGroupInformation should not log at WARN level if no groups
|
||||||
|
are found. (Elliott Clark via stevel)
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
||||||
HADOOP-12374. Updated expunge command description.
|
HADOOP-12374. Updated expunge command description.
|
||||||
|
@ -1528,7 +1528,9 @@ public synchronized String[] getGroupNames() {
|
|||||||
(groups.getGroups(getShortUserName()));
|
(groups.getGroups(getShortUserName()));
|
||||||
return result.toArray(new String[result.size()]);
|
return result.toArray(new String[result.size()]);
|
||||||
} catch (IOException ie) {
|
} catch (IOException ie) {
|
||||||
LOG.warn("No groups available for user " + getShortUserName());
|
if (LOG.isDebugEnabled()) {
|
||||||
|
LOG.debug("No groups available for user " + getShortUserName());
|
||||||
|
}
|
||||||
return new String[0];
|
return new String[0];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user