HADOOP-18306: Warnings should not be shown on cli console when linux user not present on client (#4474). Contributed by swamirishi.
This commit is contained in:
parent
823f5ee0d4
commit
43112bd472
@ -215,7 +215,7 @@ private Set<String> getUnixGroups(String user) throws IOException {
|
|||||||
groups = resolvePartialGroupNames(user, e.getMessage(),
|
groups = resolvePartialGroupNames(user, e.getMessage(),
|
||||||
executor.getOutput());
|
executor.getOutput());
|
||||||
} catch (PartialGroupNameException pge) {
|
} catch (PartialGroupNameException pge) {
|
||||||
LOG.warn("unable to return groups for user {}", user, pge);
|
LOG.debug("unable to return groups for user {}", user, pge);
|
||||||
return EMPTY_GROUPS_SET;
|
return EMPTY_GROUPS_SET;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user