You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by jl...@apache.org on 2016/02/10 22:55:19 UTC

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

Repository: hadoop
Updated Branches:
  refs/heads/branch-2 17f83c880 -> fa9b3e630


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/fa9b3e63
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/fa9b3e63
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/fa9b3e63

Branch: refs/heads/branch-2
Commit: fa9b3e63022eb9f8cc21a342a0c1c84db1ba31a8
Parents: 17f83c8
Author: Jason Lowe <jl...@apache.org>
Authored: Wed Feb 10 21:53:08 2016 +0000
Committer: Jason Lowe <jl...@apache.org>
Committed: Wed Feb 10 21:54:50 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/fa9b3e63/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 38413d398..52d6fde 100644
--- a/hadoop-common-project/hadoop-common/CHANGES.txt
+++ b/hadoop-common-project/hadoop-common/CHANGES.txt
@@ -1100,6 +1100,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/fa9b3e63/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();