You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by ak...@apache.org on 2017/06/13 22:43:58 UTC

sentry git commit: SENTRY-1799: Fix flaky HDFS END2END tests (Kalyan Kalvagadda, reviewed by: Alex Kolbasov)

Repository: sentry
Updated Branches:
  refs/heads/sentry-ha-redesign 5dc6b2855 -> e44fa87e9


SENTRY-1799: Fix flaky HDFS END2END tests (Kalyan Kalvagadda, reviewed by: Alex Kolbasov)


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

Branch: refs/heads/sentry-ha-redesign
Commit: e44fa87e95872107af176dafd9a722cb122a4657
Parents: 5dc6b28
Author: Alexander Kolbasov <ak...@cloudera.com>
Authored: Tue Jun 13 15:43:34 2017 -0700
Committer: Alexander Kolbasov <ak...@cloudera.com>
Committed: Tue Jun 13 15:43:34 2017 -0700

----------------------------------------------------------------------
 .../apache/sentry/tests/e2e/hdfs/TestHDFSIntegrationAdvanced.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sentry/blob/e44fa87e/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hdfs/TestHDFSIntegrationAdvanced.java
----------------------------------------------------------------------
diff --git a/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hdfs/TestHDFSIntegrationAdvanced.java b/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hdfs/TestHDFSIntegrationAdvanced.java
index 8a071d0..2073d85 100644
--- a/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hdfs/TestHDFSIntegrationAdvanced.java
+++ b/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hdfs/TestHDFSIntegrationAdvanced.java
@@ -368,7 +368,7 @@ public class TestHDFSIntegrationAdvanced extends TestHDFSIntegrationBase {
 
     stmt.execute("create database " + dbName);
     stmt.execute("create role db_role");
-    stmt.execute("grant create on database " + dbName +" to role db_role");
+    stmt.execute("grant all on database " + dbName +" to role db_role");
     stmt.execute("grant all on URI '/tmp/external' to role db_role");
     stmt.execute("grant role db_role to group " + StaticUserGroup.USERGROUP1);