sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shreepa...@apache.org
Subject git commit: SENTRY-52: E2E tests need to use fully qualified URI while creating test base directories (Sravya Tirukkovalur via Shreepadma Venugopalan)
Date Mon, 11 Nov 2013 20:17:43 GMT
Updated Branches:
  refs/heads/master 7d1f14b32 -> dc3a62145


SENTRY-52: E2E tests need to use fully qualified URI while creating test base directories
(Sravya Tirukkovalur via Shreepadma Venugopalan)


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

Branch: refs/heads/master
Commit: dc3a62145a251f53df47e4901fba79751590ed11
Parents: 7d1f14b
Author: Shreepadma Venugopalan <shreepadma@apache.org>
Authored: Mon Nov 11 12:17:05 2013 -0800
Committer: Shreepadma Venugopalan <shreepadma@apache.org>
Committed: Mon Nov 11 12:17:05 2013 -0800

----------------------------------------------------------------------
 .../java/org/apache/sentry/tests/e2e/hive/fs/ClusterDFS.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-sentry/blob/dc3a6214/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/fs/ClusterDFS.java
----------------------------------------------------------------------
diff --git a/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/fs/ClusterDFS.java
b/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/fs/ClusterDFS.java
index cef8b42..1e2c01e 100644
--- a/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/fs/ClusterDFS.java
+++ b/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/fs/ClusterDFS.java
@@ -41,8 +41,8 @@ public class ClusterDFS extends AbstractDFS{
     fileSystem = getFS(ugi);
     LOGGER.info("Creating basedir as user : " + testUser);
     String policyDir = System.getProperty("sentry.e2etest.hive.policy.location", "/user/hive/sentry");
-    sentryDir = assertCreateDir(policyDir);
-    dfsBaseDir = assertCreateDir("/tmp/" + (new Random()).nextInt());
+    sentryDir = super.assertCreateDfsDir(new Path(fileSystem.getUri() + policyDir));
+    dfsBaseDir = super.assertCreateDfsDir(new Path(fileSystem.getUri() + "/tmp/" + (new Random()).nextInt()));
   }
 
   @Override


Mime
View raw message