Repository: ambari
Updated Branches:
  refs/heads/trunk 1d7ae2430 -> 3809bdc6d


AMBARI-20034. USER to GROUP mapping (hdfs_user -> hadoop_group) should be stack 
driven - addendum to fix compilation issue (Madhuvanthi Radhakrishnan via 
jluniya)


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

Branch: refs/heads/trunk
Commit: 3809bdc6d5fe367c2c3207812ee42856214db8de
Parents: 1d7ae24
Author: Jayush Luniya <[email protected]>
Authored: Fri Feb 24 10:11:51 2017 -0800
Committer: Jayush Luniya <[email protected]>
Committed: Fri Feb 24 10:11:51 2017 -0800

----------------------------------------------------------------------
 .../ambari/server/controller/AmbariManagementControllerTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/3809bdc6/ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java
 
b/ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java
index 15f5ef5..82d041e 100644
--- 
a/ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java
+++ 
b/ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java
@@ -1310,8 +1310,8 @@ public class AmbariManagementControllerTest {
     assertEquals("[\"myhdfsuser\"]", 
ec.getHostLevelParams().get(ExecutionCommand.KeyNames.USER_LIST));
     
assertTrue(ec.getHostLevelParams().containsKey(ExecutionCommand.KeyNames.GROUP_LIST));
     assertEquals("[\"myhdfsgroup\"]", 
ec.getHostLevelParams().get(ExecutionCommand.KeyNames.GROUP_LIST));
-    
assertTrue(ec.getHostLevelParams().containsKey(ExecutionCommand.KeyNames.USER_GROUP));
-    assertEquals("{\"myhdfsuser\":[\"myhdfsgroup\"]}", 
ec.getHostLevelParams().get(ExecutionCommand.KeyNames.USER_GROUP));
+    
assertTrue(ec.getHostLevelParams().containsKey(ExecutionCommand.KeyNames.USER_GROUPS));
+    assertEquals("{\"myhdfsuser\":[\"myhdfsgroup\"]}", 
ec.getHostLevelParams().get(ExecutionCommand.KeyNames.USER_GROUPS));
   }
 
   @Test

Reply via email to