You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by zj...@apache.org on 2022/05/08 07:31:38 UTC

[zeppelin] branch master updated: [ZEPPELIN-5729] Increase default value of zeppelin.interpreter.connect.timeout (#4366)

This is an automated email from the ASF dual-hosted git repository.

zjffdu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zeppelin.git


The following commit(s) were added to refs/heads/master by this push:
     new b2e052a653 [ZEPPELIN-5729] Increase default value of zeppelin.interpreter.connect.timeout (#4366)
b2e052a653 is described below

commit b2e052a653459f0de7dfe33feaa796233439316e
Author: Guanhua Li <gu...@foxmail.com>
AuthorDate: Sun May 8 15:31:31 2022 +0800

    [ZEPPELIN-5729] Increase default value of zeppelin.interpreter.connect.timeout (#4366)
    
    update and fix docs
---
 conf/zeppelin-site.xml.template                                       | 2 +-
 docs/setup/operation/configuration.md                                 | 4 ++--
 .../src/main/java/org/apache/zeppelin/conf/ZeppelinConfiguration.java | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/conf/zeppelin-site.xml.template b/conf/zeppelin-site.xml.template
index 5b96312f79..dab1204387 100755
--- a/conf/zeppelin-site.xml.template
+++ b/conf/zeppelin-site.xml.template
@@ -417,7 +417,7 @@
 
 <property>
   <name>zeppelin.interpreter.connect.timeout</name>
-  <value>60000</value>
+  <value>600000</value>
   <description>Interpreter process connect timeout in msec.</description>
 </property>
 
diff --git a/docs/setup/operation/configuration.md b/docs/setup/operation/configuration.md
index 026581d57e..6527974834 100644
--- a/docs/setup/operation/configuration.md
+++ b/docs/setup/operation/configuration.md
@@ -340,8 +340,8 @@ Sources descending by priority:
   <tr>
     <td><h6 class="properties">ZEPPELIN_INTERPRETER_CONNECT_TIMEOUT</h6></td>
     <td><h6 class="properties">zeppelin.interpreter.connect.timeout</h6></td>
-    <td>30000</td>
-    <td>Output message from interpreter exceeding the limit will be truncated</td>
+    <td>600000</td>
+    <td>Interpreter process connect timeout in msec.</td>
   </tr>
   <tr>
     <td><h6 class="properties">ZEPPELIN_DEP_LOCALREPO</h6></td>
diff --git a/zeppelin-interpreter/src/main/java/org/apache/zeppelin/conf/ZeppelinConfiguration.java b/zeppelin-interpreter/src/main/java/org/apache/zeppelin/conf/ZeppelinConfiguration.java
index 96a4b10de8..985a82d9f7 100644
--- a/zeppelin-interpreter/src/main/java/org/apache/zeppelin/conf/ZeppelinConfiguration.java
+++ b/zeppelin-interpreter/src/main/java/org/apache/zeppelin/conf/ZeppelinConfiguration.java
@@ -936,7 +936,7 @@ public class ZeppelinConfiguration {
     ZEPPELIN_INTERPRETER_LOCALREPO("zeppelin.interpreter.localRepo", "local-repo"),
     ZEPPELIN_INTERPRETER_DEP_MVNREPO("zeppelin.interpreter.dep.mvnRepo",
         "https://repo1.maven.org/maven2/"),
-    ZEPPELIN_INTERPRETER_CONNECT_TIMEOUT("zeppelin.interpreter.connect.timeout", 60000),
+    ZEPPELIN_INTERPRETER_CONNECT_TIMEOUT("zeppelin.interpreter.connect.timeout", 600000),
     ZEPPELIN_INTERPRETER_CONNECTION_POOL_SIZE("zeppelin.interpreter.connection.poolsize", 100),
     ZEPPELIN_INTERPRETER_GROUP_DEFAULT("zeppelin.interpreter.group.default", "spark"),
     ZEPPELIN_INTERPRETER_OUTPUT_LIMIT("zeppelin.interpreter.output.limit", 1024 * 100),