From d1e7f0cc20ff2321d2bcd50849206cc50740fb07 Mon Sep 17 00:00:00 2001 From: Cheng Pan Date: Fri, 1 Oct 2021 01:23:34 +0800 Subject: [PATCH] [KYUUBI #1143][FOLLOWUP] Correct KyuubiThriftBinaryFrontendService name ### _Why are the changes needed?_ Correct typo. ### _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/develop_tools/testing.html#running-tests) locally before make a pull request Closes #1186 from pan3793/typo. Closes #1143 fd53e94a [Cheng Pan] [KYUUBI #1143][FOLLOWUP] Correct KyuubiThriftBinaryFrontendService name Authored-by: Cheng Pan Signed-off-by: Cheng Pan --- .../src/main/scala/org/apache/kyuubi/server/KyuubiServer.scala | 2 +- ...endService.scala => KyuubiThriftBinaryFrontendService.scala} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename kyuubi-server/src/main/scala/org/apache/kyuubi/server/{KyuubiThriftBinaryBinaryFrontendService.scala => KyuubiThriftBinaryFrontendService.scala} (96%) diff --git a/kyuubi-server/src/main/scala/org/apache/kyuubi/server/KyuubiServer.scala b/kyuubi-server/src/main/scala/org/apache/kyuubi/server/KyuubiServer.scala index d610b5b28..36a76afd2 100644 --- a/kyuubi-server/src/main/scala/org/apache/kyuubi/server/KyuubiServer.scala +++ b/kyuubi-server/src/main/scala/org/apache/kyuubi/server/KyuubiServer.scala @@ -85,7 +85,7 @@ class KyuubiServer(name: String) extends Serverable(name) { override val backendService: AbstractBackendService = new KyuubiBackendService() override val frontendServices: Seq[AbstractFrontendService] = Seq( - new KyuubiThriftBinaryBinaryFrontendService(this)) + new KyuubiThriftBinaryFrontendService(this)) private val eventLoggingService: EventLoggingService = new EventLoggingService diff --git a/kyuubi-server/src/main/scala/org/apache/kyuubi/server/KyuubiThriftBinaryBinaryFrontendService.scala b/kyuubi-server/src/main/scala/org/apache/kyuubi/server/KyuubiThriftBinaryFrontendService.scala similarity index 96% rename from kyuubi-server/src/main/scala/org/apache/kyuubi/server/KyuubiThriftBinaryBinaryFrontendService.scala rename to kyuubi-server/src/main/scala/org/apache/kyuubi/server/KyuubiThriftBinaryFrontendService.scala index c7ce7e0db..77d3e6096 100644 --- a/kyuubi-server/src/main/scala/org/apache/kyuubi/server/KyuubiThriftBinaryBinaryFrontendService.scala +++ b/kyuubi-server/src/main/scala/org/apache/kyuubi/server/KyuubiThriftBinaryFrontendService.scala @@ -20,7 +20,7 @@ package org.apache.kyuubi.server import org.apache.kyuubi.ha.client.{KyuubiServiceDiscovery, ServiceDiscovery} import org.apache.kyuubi.service.{Serverable, Service, ThriftBinaryFrontendService} -class KyuubiThriftBinaryBinaryFrontendService( +class KyuubiThriftBinaryFrontendService( override val serverable: Serverable) extends ThriftBinaryFrontendService("KyuubiThriftBinaryFrontendService", serverable) {