sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vam...@apache.org
Subject [17/52] [abbrv] sentry git commit: SENTRY-1763: Fix the config string for server load balancing
Date Wed, 14 Jun 2017 00:56:55 GMT
SENTRY-1763: Fix the config string for server load balancing

Backport CDH-53798

Change-Id: Iebc72af318720e0fab8ca49cc0fb7977e1d2adb5
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/22583
Tested-by: Jenkins User
Reviewed-by: Kalyan Kumar Kalvagadda <kkalyan@cloudera.com>


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

Branch: refs/for/cdh5-1.5.1_ha
Commit: 451de28173ac04de82ef399b1b24c605d340b521
Parents: 4155eac
Author: Alexander Kolbasov <akolb@cloudera.com>
Authored: Fri May 12 09:55:52 2017 -0700
Committer: Kalyan Kumar Kalvagadda <kkalyan@cloudera.com>
Committed: Fri May 12 12:32:18 2017 -0700

----------------------------------------------------------------------
 .../core/common/transport/SentryClientTransportConstants.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sentry/blob/451de281/sentry-core/sentry-core-common/src/main/java/org/apache/sentry/core/common/transport/SentryClientTransportConstants.java
----------------------------------------------------------------------
diff --git a/sentry-core/sentry-core-common/src/main/java/org/apache/sentry/core/common/transport/SentryClientTransportConstants.java
b/sentry-core/sentry-core-common/src/main/java/org/apache/sentry/core/common/transport/SentryClientTransportConstants.java
index 4b353cf..95a47ce 100644
--- a/sentry-core/sentry-core-common/src/main/java/org/apache/sentry/core/common/transport/SentryClientTransportConstants.java
+++ b/sentry-core/sentry-core-common/src/main/java/org/apache/sentry/core/common/transport/SentryClientTransportConstants.java
@@ -103,7 +103,7 @@ class SentryClientTransportConstants {
     static final int SENTRY_POOL_MIN_IDLE_DEFAULT = 0;
 
     // configuration to load balance the connections to the configured sentry servers
-    static final String SENTRY_CLIENT_LOAD_BALANCING =" sentry.service.client.connection.loadbalance";
+    static final String SENTRY_CLIENT_LOAD_BALANCING = "sentry.service.client.connection.loadbalance";
     static final boolean SENTRY_CLIENT_LOAD_BALANCING_DEFAULT = true;
 
     // retry num for getting the connection from connection pool
@@ -168,7 +168,7 @@ class SentryClientTransportConstants {
     static final int SENTRY_RPC_RETRY_TOTAL_DEFAULT = 3;
 
     // configuration to load balance the connections to the configured sentry servers
-    static final String SENTRY_CLIENT_LOAD_BALANCING =" sentry.hdfs.service.client.connection.loadbalance";
+    static final String SENTRY_CLIENT_LOAD_BALANCING = "sentry.hdfs.service.client.connection.loadbalance";
     static final boolean SENTRY_CLIENT_LOAD_BALANCING_DEFAULT = true;
   }
 }


Mime
View raw message