sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ak...@apache.org
Subject sentry git commit: SENTRY-1733: Add log message for key store file path (Na Li, reviewed by: Alex Kolbasov)
Date Wed, 10 May 2017 23:56:01 GMT
Repository: sentry
Updated Branches:
  refs/heads/sentry-ha-redesign 4ccc15fe7 -> d926483b7


SENTRY-1733: Add log message for key store file path (Na Li, 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/d926483b
Tree: http://git-wip-us.apache.org/repos/asf/sentry/tree/d926483b
Diff: http://git-wip-us.apache.org/repos/asf/sentry/diff/d926483b

Branch: refs/heads/sentry-ha-redesign
Commit: d926483b7b985a66e6580c50c01a1e7e18ba514a
Parents: 4ccc15f
Author: Alexander Kolbasov <akolb@cloudera.com>
Authored: Wed May 10 16:54:30 2017 -0700
Committer: Alexander Kolbasov <akolb@cloudera.com>
Committed: Wed May 10 16:54:30 2017 -0700

----------------------------------------------------------------------
 .../sentry/service/thrift/SentryServiceIntegrationBase.java    | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sentry/blob/d926483b/sentry-provider/sentry-provider-db/src/test/java/org/apache/sentry/service/thrift/SentryServiceIntegrationBase.java
----------------------------------------------------------------------
diff --git a/sentry-provider/sentry-provider-db/src/test/java/org/apache/sentry/service/thrift/SentryServiceIntegrationBase.java
b/sentry-provider/sentry-provider-db/src/test/java/org/apache/sentry/service/thrift/SentryServiceIntegrationBase.java
index dfd79ae..dd37e7e 100644
--- a/sentry-provider/sentry-provider-db/src/test/java/org/apache/sentry/service/thrift/SentryServiceIntegrationBase.java
+++ b/sentry-provider/sentry-provider-db/src/test/java/org/apache/sentry/service/thrift/SentryServiceIntegrationBase.java
@@ -181,10 +181,12 @@ public abstract class SentryServiceIntegrationBase extends SentryMiniKdcTestcase
       conf.set(ClientConfig.SENTRY_POOL_ENABLED, "true");
     }
     if (useSSL) {
+      String keystorePath = Resources.getResource("keystore.jks").getPath();
       conf.set(ServerConfig.SENTRY_WEB_USE_SSL, "true");
-      conf.set(ServerConfig.SENTRY_WEB_SSL_KEYSTORE_PATH,
-          Resources.getResource("keystore.jks").getPath());
+      conf.set(ServerConfig.SENTRY_WEB_SSL_KEYSTORE_PATH, keystorePath);
       conf.set(ServerConfig.SENTRY_WEB_SSL_KEYSTORE_PASSWORD, "password");
+
+      LOGGER.debug("{} is at {}", ServerConfig.SENTRY_WEB_SSL_KEYSTORE_PATH, keystorePath);
     }
     conf.set(ServerConfig.SENTRY_VERIFY_SCHEM_VERSION, "false");
     conf.set(ServerConfig.ADMIN_GROUPS, ADMIN_GROUP);


Mime
View raw message