hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jl...@apache.org
Subject hadoop git commit: HADOOP-12792. TestUserGroupInformation#testGetServerSideGroups fails in chroot. Contributed by Eric Badger (cherry picked from commit 6f03959e4dc0bc11030fd7e30a025447a4d6948a)
Date Wed, 10 Feb 2016 21:56:22 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2.8 685aeeb1a -> cad143657


HADOOP-12792. TestUserGroupInformation#testGetServerSideGroups fails in chroot. Contributed
by Eric Badger
(cherry picked from commit 6f03959e4dc0bc11030fd7e30a025447a4d6948a)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/cad14365
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/cad14365
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/cad14365

Branch: refs/heads/branch-2.8
Commit: cad1436570698eab01d9de73c00e176eba065091
Parents: 685aeeb
Author: Jason Lowe <jlowe@apache.org>
Authored: Wed Feb 10 21:53:08 2016 +0000
Committer: Jason Lowe <jlowe@apache.org>
Committed: Wed Feb 10 21:55:53 2016 +0000

----------------------------------------------------------------------
 hadoop-common-project/hadoop-common/CHANGES.txt                   | 3 +++
 .../java/org/apache/hadoop/security/TestUserGroupInformation.java | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/cad14365/hadoop-common-project/hadoop-common/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt
index 3fb94af..fd17be6 100644
--- a/hadoop-common-project/hadoop-common/CHANGES.txt
+++ b/hadoop-common-project/hadoop-common/CHANGES.txt
@@ -1038,6 +1038,9 @@ Release 2.7.3 - UNRELEASED
     HADOOP-12772. NetworkTopologyWithNodeGroup.getNodeGroup() can loop
     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
 
   INCOMPATIBLE CHANGES

http://git-wip-us.apache.org/repos/asf/hadoop/blob/cad14365/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUserGroupInformation.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUserGroupInformation.java
b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUserGroupInformation.java
index 1d47d0c..5cfa29a 100644
--- a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUserGroupInformation.java
+++ b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUserGroupInformation.java
@@ -218,7 +218,7 @@ public class TestUserGroupInformation {
     // get the groups
     pp = Runtime.getRuntime().exec(Shell.WINDOWS ?
       Shell.getWinUtilsPath() + " groups -F"
-      : "id -Gn");
+      : "id -Gn " + userName);
     br = new BufferedReader(new InputStreamReader(pp.getInputStream()));
     String line = br.readLine();
 


Mime
View raw message