sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sp...@apache.org
Subject sentry git commit: SENTRY-2183: Increase default sentry-hdfs rpc timeout to 20 mins (Arjun Mishra, reviewed by Na Li)
Date Tue, 08 May 2018 18:02:26 GMT
Repository: sentry
Updated Branches:
  refs/heads/master 902c90b3f -> 1efc55628


SENTRY-2183: Increase default sentry-hdfs rpc timeout to 20 mins (Arjun Mishra, reviewed by
Na Li)

Change-Id: I0dc512177956fd3c423b66a72902c769cea1dd8b


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

Branch: refs/heads/master
Commit: 1efc5562889c264ab980472990b35870e1dd1f65
Parents: 902c90b
Author: Sergio Pena <sergio.pena@cloudera.com>
Authored: Tue May 8 11:02:01 2018 -0700
Committer: Sergio Pena <sergio.pena@cloudera.com>
Committed: Tue May 8 11:02:01 2018 -0700

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


http://git-wip-us.apache.org/repos/asf/sentry/blob/1efc5562/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 c2a95b6..efdb934 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
@@ -177,7 +177,8 @@ public final class SentryClientTransportConstants {
     static final String SERVER_RPC_CONN_TIMEOUT =
       "sentry.hdfs.service.client.server.rpc-connection-timeout";
 
-    static final int SERVER_RPC_CONN_TIMEOUT_DEFAULT = 200000;
+    //default rpc connection timeout value in milliseconds
+    static final int SERVER_RPC_CONN_TIMEOUT_DEFAULT = 1200000;
 
     /**
      * max retry num for client rpc


Mime
View raw message