This is an automated email from the ASF dual-hosted git repository.
yao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-kyuubi.git
The following commit(s) were added to refs/heads/master by this push:
new a13b770 Revert "[KYUUBI #816] [KYUUBI 813] Fix requestTimeoutUnit in
FrontendService"
a13b770 is described below
commit a13b770f85ce9a409ecf985d4271537b6e91ea9f
Author: Kent Yao <[email protected]>
AuthorDate: Fri Jul 16 12:47:20 2021 +0800
Revert "[KYUUBI #816] [KYUUBI 813] Fix requestTimeoutUnit in
FrontendService"
This reverts commit 0a87a254f726bdf6835274efa1e0df2fd028f2ed.
---
.../src/main/scala/org/apache/kyuubi/service/FrontendService.scala | 2 +-
.../main/scala/org/apache/kyuubi/client/KyuubiSyncThriftClient.scala | 5 -----
2 files changed, 1 insertion(+), 6 deletions(-)
diff --git
a/kyuubi-common/src/main/scala/org/apache/kyuubi/service/FrontendService.scala
b/kyuubi-common/src/main/scala/org/apache/kyuubi/service/FrontendService.scala
index afeb33d..ec0c230 100644
---
a/kyuubi-common/src/main/scala/org/apache/kyuubi/service/FrontendService.scala
+++
b/kyuubi-common/src/main/scala/org/apache/kyuubi/service/FrontendService.scala
@@ -88,7 +88,7 @@ class FrontendService private (name: String, be:
BackendService, oomHook: Runnab
.protocolFactory(new TBinaryProtocol.Factory)
.inputProtocolFactory(
new TBinaryProtocol.Factory(true, true, maxMessageSize,
maxMessageSize))
-
.requestTimeout(requestTimeout).requestTimeoutUnit(TimeUnit.MILLISECONDS)
+ .requestTimeout(requestTimeout).requestTimeoutUnit(TimeUnit.SECONDS)
.beBackoffSlotLength(beBackoffSlotLength)
.beBackoffSlotLengthUnit(TimeUnit.MILLISECONDS)
.executorService(executor)
diff --git
a/kyuubi-main/src/main/scala/org/apache/kyuubi/client/KyuubiSyncThriftClient.scala
b/kyuubi-main/src/main/scala/org/apache/kyuubi/client/KyuubiSyncThriftClient.scala
deleted file mode 100644
index 3b05248..0000000
---
a/kyuubi-main/src/main/scala/org/apache/kyuubi/client/KyuubiSyncThriftClient.scala
+++ /dev/null
@@ -1,5 +0,0 @@
-package org.apache.kyuubi.client
-
-class KyuubiSyncThriftClient {
-
-}