HADOOP-12792. TestUserGroupInformation#testGetServerSideGroups fails in chroot. Contributed by Eric Badger
(cherry picked from commit 6f03959e4d
)
This commit is contained in:
parent
685aeeb1a7
commit
cad1436570
|
@ -1038,6 +1038,9 @@ Release 2.7.3 - UNRELEASED
|
||||||
HADOOP-12772. NetworkTopologyWithNodeGroup.getNodeGroup() can loop
|
HADOOP-12772. NetworkTopologyWithNodeGroup.getNodeGroup() can loop
|
||||||
infinitely for invalid 'loc' values (Kuhu Shukla via kihwal)
|
infinitely for invalid 'loc' values (Kuhu Shukla via kihwal)
|
||||||
|
|
||||||
|
HADOOP-12792. TestUserGroupInformation#testGetServerSideGroups fails in
|
||||||
|
chroot (Eric Badger via jlowe)
|
||||||
|
|
||||||
Release 2.7.2 - 2016-01-25
|
Release 2.7.2 - 2016-01-25
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -218,7 +218,7 @@ public class TestUserGroupInformation {
|
||||||
// get the groups
|
// get the groups
|
||||||
pp = Runtime.getRuntime().exec(Shell.WINDOWS ?
|
pp = Runtime.getRuntime().exec(Shell.WINDOWS ?
|
||||||
Shell.getWinUtilsPath() + " groups -F"
|
Shell.getWinUtilsPath() + " groups -F"
|
||||||
: "id -Gn");
|
: "id -Gn " + userName);
|
||||||
br = new BufferedReader(new InputStreamReader(pp.getInputStream()));
|
br = new BufferedReader(new InputStreamReader(pp.getInputStream()));
|
||||||
String line = br.readLine();
|
String line = br.readLine();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue