Skip to content

Commit 0a87a25

Browse files
wuchunfuyaooqinn
authored andcommitted
[KYUUBI apache#816] [KYUUBI 813] Fix requestTimeoutUnit in FrontendService
Fix requestTimeoutUnit in FrontendService apache#813 ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [ ] [Run test](https://kyuubi.readthedocs.io/en/latest/tools/testing.html#running-tests) locally before make a pull request Closes apache#816 from wuchunfu/813. Closes apache#816 d15797c [wuchunfu] [KYUUBI 813] Fix requestTimeoutUnit in FrontendService Authored-by: wuchunfu <319355703@qq.com> Signed-off-by: Kent Yao <yao@apache.org>
1 parent 0e5bec7 commit 0a87a25

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

kyuubi-common/src/main/scala/org/apache/kyuubi/service/FrontendService.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class FrontendService private (name: String, be: BackendService, oomHook: Runnab
8888
.protocolFactory(new TBinaryProtocol.Factory)
8989
.inputProtocolFactory(
9090
new TBinaryProtocol.Factory(true, true, maxMessageSize, maxMessageSize))
91-
.requestTimeout(requestTimeout).requestTimeoutUnit(TimeUnit.SECONDS)
91+
.requestTimeout(requestTimeout).requestTimeoutUnit(TimeUnit.MILLISECONDS)
9292
.beBackoffSlotLength(beBackoffSlotLength)
9393
.beBackoffSlotLengthUnit(TimeUnit.MILLISECONDS)
9494
.executorService(executor)
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package org.apache.kyuubi.client
2+
3+
class KyuubiSyncThriftClient {
4+
5+
}

0 commit comments

Comments
 (0)