Repository: sentry Updated Branches: refs/heads/sentry-ha-redesign 7da5d5e57 -> 829bf1717
SENTRY-1763: Fix the config string for server load balancing (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/829bf171 Tree: http://git-wip-us.apache.org/repos/asf/sentry/tree/829bf171 Diff: http://git-wip-us.apache.org/repos/asf/sentry/diff/829bf171 Branch: refs/heads/sentry-ha-redesign Commit: 829bf171706cca45dce153849aec7001ae17661f Parents: 7da5d5e Author: Alexander Kolbasov <[email protected]> Authored: Fri May 12 09:55:52 2017 -0700 Committer: Alexander Kolbasov <[email protected]> Committed: Fri May 12 09:55:52 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/829bf171/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 c0768f9..651173e 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 @@ -101,7 +101,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 @@ -166,7 +166,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; } }
