sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sra...@apache.org
Subject [1/2] SENTRY-432: Synchronization of HDFS permissions with Sentry permissions: Refactoring and e2e tests ( Arun Suresh via Sravya Tirukkovalur)
Date Thu, 16 Oct 2014 20:22:28 GMT
Repository: incubator-sentry
Updated Branches:
  refs/heads/sentry-hdfs-plugin 78787d63a -> c059d3d76


http://git-wip-us.apache.org/repos/asf/incubator-sentry/blob/c059d3d7/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/StaticUserGroup.java
----------------------------------------------------------------------
diff --git a/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/StaticUserGroup.java
b/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/StaticUserGroup.java
index 66f088f..8306e95 100644
--- a/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/StaticUserGroup.java
+++ b/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/StaticUserGroup.java
@@ -27,6 +27,7 @@ public class StaticUserGroup {
       USER2_1 = "user2_1",
       USER3_1 = "user3_1",
       USER4_1 = "user4_1",
+      HIVE = "hive",
       USERGROUP1 = "user_group1",
       USERGROUP2 = "user_group2",
       USERGROUP3 = "user_group3",
@@ -39,6 +40,7 @@ public class StaticUserGroup {
     ADMINGROUP = System.getProperty("sentry.e2etest.admin.group", "admin");
     staticMapping = new HashMap<String, String>();
     staticMapping.put(ADMIN1, ADMINGROUP);
+    staticMapping.put(HIVE, HIVE);
     staticMapping.put(USER1_1, USERGROUP1);
     staticMapping.put(USER1_2, USERGROUP1);
     staticMapping.put(USER2_1, USERGROUP2);


Mime
View raw message