HADOOP-7811. TestUserGroupInformation#testGetServerSideGroups test fails in chroot. (Jonathan Eagles via mahadev)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1202540 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c56e051961
commit
649080131c
@ -113,6 +113,9 @@ Release 0.23.1 - Unreleased
|
||||
OPTIMIZATIONS
|
||||
|
||||
BUG FIXES
|
||||
|
||||
HADOOP-7811. TestUserGroupInformation#testGetServerSideGroups test fails in chroot.
|
||||
(Jonathan Eagles via mahadev)
|
||||
|
||||
Release 0.23.0 - 2011-11-01
|
||||
|
||||
|
@ -99,7 +99,7 @@ public void testGetServerSideGroups() throws IOException,
|
||||
(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
Block a user