[KYUUBI #871] Change module name kyuubi-main to kyuubi-server

<!--
Thanks for sending a pull request!

Here are some tips for you:
  1. If this is your first time, please read our contributor guidelines: https://kyuubi.readthedocs.io/en/latest/community/contributions.html
  2. If the PR is related to an issue in https://github.com/apache/incubator-kyuubi/issues, add '[KYUUBI #XXXX]' in your PR title, e.g., '[KYUUBI #XXXX] Your PR title ...'.
  3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][KYUUBI #XXXX] Your PR title ...'.
-->

### _Why are the changes needed?_
<!--
Please clarify why the changes are needed. For instance,
  1. If you add a feature, you can talk about the use case of it.
  2. If you fix a bug, you can clarify why it is a bug.
-->
As we will release soon, it's better to format the module name and artifactId.

The name of kyuubi-main sounds like a bootstrap of Kyuubi but not a server.

### _How was this patch tested?_
Pass CI

Closes #872 from ulysses-you/kyuubi-server.

Closes #871

1437f9b5 [ulysses-you] address comment
117f2c7c [ulysses-you] server
86986baa [ulysses-you] master
eba660a2 [ulysses-you] Merge branch 'master' of https://github.com/NetEase/kyuubi into kyuubi-server
e649012b [ulysses-you] change module name

Authored-by: ulysses-you <ulyssesyou18@gmail.com>
Signed-off-by: Cheng Pan <chengpan@apache.org>
This commit is contained in:
ulysses-you 2021-07-29 13:41:43 +08:00 committed by Cheng Pan
parent b963b75d58
commit f4fb822743
No known key found for this signature in database
GPG Key ID: F07E6C29ED4E2E5B
313 changed files with 8 additions and 7 deletions

View File

@ -64,7 +64,7 @@
<dependency>
<groupId>org.apache.kyuubi</groupId>
<artifactId>kyuubi-main</artifactId>
<artifactId>kyuubi-server</artifactId>
<version>${project.version}</version>
</dependency>

View File

@ -53,7 +53,7 @@
<dependency>
<groupId>org.apache.kyuubi</groupId>
<artifactId>kyuubi-main</artifactId>
<artifactId>kyuubi-server</artifactId>
<version>${project.version}</version>
</dependency>

View File

@ -26,8 +26,8 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>kyuubi-main</artifactId>
<name>Kyuubi Project Server Main</name>
<artifactId>kyuubi-server</artifactId>
<name>Kyuubi Project Server</name>
<packaging>jar</packaging>
<dependencies>

View File

@ -39,7 +39,8 @@ class SparkProcessBuilder(
override protected val executable: String = {
val sparkHomeOpt = env.get("SPARK_HOME").orElse {
val cwd = getClass.getProtectionDomain.getCodeSource.getLocation.getPath.split("kyuubi-main")
val cwd = getClass.getProtectionDomain.getCodeSource.getLocation.getPath
.split("kyuubi-server")
assert(cwd.length > 1)
Paths.get(cwd.head)
.resolve("externals")

Some files were not shown because too many files have changed in this diff Show More