HADOOP-7811. TestUserGroupInformation#testGetServerSideGroups test fails in chroot. (Jonathan Eagles via mahadev) - Merging r1202540 from trunk
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1202542 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0e3715e98f
commit
b57eef4714
|
@ -14,6 +14,9 @@ Release 0.23.1 - Unreleased
|
|||
|
||||
BUG FIXES
|
||||
|
||||
HADOOP-7811. TestUserGroupInformation#testGetServerSideGroups test fails in chroot.
|
||||
(Jonathan Eagles via mahadev)
|
||||
|
||||
Release 0.23.0 - 2011-11-01
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -99,7 +99,7 @@ public class TestUserGroupInformation {
|
|||
(new InputStreamReader(pp.getInputStream()));
|
||||
String userName = br.readLine().trim();
|
||||
// get the groups
|
||||
pp = Runtime.getRuntime().exec("id -Gn");
|
||||
pp = Runtime.getRuntime().exec("id -Gn " + userName);
|
||||
br = new BufferedReader(new InputStreamReader(pp.getInputStream()));
|
||||
String line = br.readLine();
|
||||
System.out.println(userName + ":" + line);
|
||||
|
|
Loading…
Reference in New Issue