From 831f06ae52ed441415fa98ffaeafb547cd26b222 Mon Sep 17 00:00:00 2001 From: senmiaoliu Date: Wed, 1 Nov 2023 10:59:23 +0800 Subject: [PATCH] just copy server resource sql --- build/dist | 4 +-- kyuubi-assembly/assembly/assembly.xml | 36 ---------------------- kyuubi-assembly/pom.xml | 24 --------------- kyuubi-server/pom.xml | 21 ------------- kyuubi-server/src/assembly/assembly.xml | 40 ------------------------- 5 files changed, 2 insertions(+), 123 deletions(-) delete mode 100644 kyuubi-assembly/assembly/assembly.xml delete mode 100644 kyuubi-server/src/assembly/assembly.xml diff --git a/build/dist b/build/dist index 7c7327f0955..e34723d94bd 100755 --- a/build/dist +++ b/build/dist @@ -249,7 +249,7 @@ mkdir -p "$DISTDIR/pid" mkdir -p "$DISTDIR/logs" mkdir -p "$DISTDIR/work" mkdir -p "$DISTDIR/jars" -mkdir -p "$DISTDIR/metastore-sql" +mkdir -p "$DISTDIR/db-schema" mkdir -p "$DISTDIR/beeline-jars" mkdir -p "$DISTDIR/web-ui" mkdir -p "$DISTDIR/externals/engines/flink" @@ -272,7 +272,7 @@ echo "Build flags: $@" >> "$DISTDIR/RELEASE" cp -r "$KYUUBI_HOME"/kyuubi-assembly/target/scala-$SCALA_VERSION/jars/*.jar "$DISTDIR/jars/" # Copy kyuubi metadata sql -cp -r "$KYUUBI_HOME"/kyuubi-assembly/target/kyuubi-assembly/metastore-sql/* "$DISTDIR/metastore-sql/" +cp -r "$KYUUBI_HOME"/kyuubi-server/src/main/resources/sql/* "$DISTDIR/db-schema/" # Copy kyuubi beeline jars cp "$KYUUBI_HOME"/kyuubi-hive-beeline/target/*.jar "$DISTDIR/beeline-jars/" diff --git a/kyuubi-assembly/assembly/assembly.xml b/kyuubi-assembly/assembly/assembly.xml deleted file mode 100644 index 7baaf110168..00000000000 --- a/kyuubi-assembly/assembly/assembly.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - kyuubi-assembly - - dir - - false - - - - ${project.parent.basedir}/kyuubi-server/target/kyuubi-server/metastore-sql - - **/* - - metastore-sql - - - diff --git a/kyuubi-assembly/pom.xml b/kyuubi-assembly/pom.xml index 0b5d1aee379..4fa0d9a0fd3 100644 --- a/kyuubi-assembly/pom.xml +++ b/kyuubi-assembly/pom.xml @@ -120,28 +120,4 @@ log4j-1.2-api - - - - org.apache.maven.plugins - maven-assembly-plugin - - - assemble - - single - - package - - - assembly/assembly.xml - - kyuubi-assembly - false - - - - - - diff --git a/kyuubi-server/pom.xml b/kyuubi-server/pom.xml index f84d704deb6..56155a27bec 100644 --- a/kyuubi-server/pom.xml +++ b/kyuubi-server/pom.xml @@ -581,27 +581,6 @@ - - - org.apache.maven.plugins - maven-assembly-plugin - - - assemble - - single - - package - - - src/assembly/assembly.xml - - kyuubi-server - false - - - - target/scala-${scala.binary.version}/classes target/scala-${scala.binary.version}/test-classes diff --git a/kyuubi-server/src/assembly/assembly.xml b/kyuubi-server/src/assembly/assembly.xml deleted file mode 100644 index 374e0764bb5..00000000000 --- a/kyuubi-server/src/assembly/assembly.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - kyuubi-server - - - dir - - - kyuubi-server - - false - - - - ${project.basedir}/src/main/resources/sql - - **/* - - metastore-sql - - -