[KYUUBI #3847] Add jdbc-shaded profile to support IDE debug
### _Why are the changes needed?_ 1. `mvn antrun:runbuild-info -pl kyuubi-common` 2. debug engine suite ### _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 - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #3847 from cxzl25/profile_jdbc_debug. Closes #3847 e1c32067 [Cheng Pan] Merge branch 'master' into profile_jdbc_debug f41d3cd9 [sychen] use jdbc-shaded 25b54b18 [sychen] use jdbc-shaded dd23f864 [sychen] use kyuubi-hive-jdbc as default 79b0ffcb [sychen] add jdbc profile Lead-authored-by: sychen <sychen@ctrip.com> Co-authored-by: Cheng Pan <chengpan@apache.org> Signed-off-by: Cheng Pan <chengpan@apache.org>
This commit is contained in:
parent
d2463e2a81
commit
e49f775431
2
.github/workflows/master.yml
vendored
2
.github/workflows/master.yml
vendored
@ -32,7 +32,7 @@ concurrency:
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
MVN_OPT: -Dmaven.javadoc.skip=true -Drat.skip=true -Dscalastyle.skip=true -Dspotless.check.skip -Dorg.slf4j.simpleLogger.defaultLogLevel=warn
|
||||
MVN_OPT: -Dmaven.javadoc.skip=true -Drat.skip=true -Dscalastyle.skip=true -Dspotless.check.skip -Dorg.slf4j.simpleLogger.defaultLogLevel=warn -Pjdbc-shaded
|
||||
|
||||
jobs:
|
||||
default:
|
||||
|
||||
2
externals/kyuubi-flink-sql-engine/pom.xml
vendored
2
externals/kyuubi-flink-sql-engine/pom.xml
vendored
@ -122,7 +122,7 @@
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.kyuubi</groupId>
|
||||
<artifactId>kyuubi-hive-jdbc-shaded</artifactId>
|
||||
<artifactId>${hive.jdbc.artifact}</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
2
externals/kyuubi-hive-sql-engine/pom.xml
vendored
2
externals/kyuubi-hive-sql-engine/pom.xml
vendored
@ -153,7 +153,7 @@
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.kyuubi</groupId>
|
||||
<artifactId>kyuubi-hive-jdbc-shaded</artifactId>
|
||||
<artifactId>${hive.jdbc.artifact}</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
2
externals/kyuubi-jdbc-engine/pom.xml
vendored
2
externals/kyuubi-jdbc-engine/pom.xml
vendored
@ -60,7 +60,7 @@
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.kyuubi</groupId>
|
||||
<artifactId>kyuubi-hive-jdbc-shaded</artifactId>
|
||||
<artifactId>${hive.jdbc.artifact}</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
2
externals/kyuubi-spark-sql-engine/pom.xml
vendored
2
externals/kyuubi-spark-sql-engine/pom.xml
vendored
@ -122,7 +122,7 @@
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.kyuubi</groupId>
|
||||
<artifactId>kyuubi-hive-jdbc-shaded</artifactId>
|
||||
<artifactId>${hive.jdbc.artifact}</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
2
externals/kyuubi-trino-engine/pom.xml
vendored
2
externals/kyuubi-trino-engine/pom.xml
vendored
@ -89,7 +89,7 @@
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.kyuubi</groupId>
|
||||
<artifactId>kyuubi-hive-jdbc-shaded</artifactId>
|
||||
<artifactId>${hive.jdbc.artifact}</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
@ -55,7 +55,7 @@
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.kyuubi</groupId>
|
||||
<artifactId>kyuubi-hive-jdbc-shaded</artifactId>
|
||||
<artifactId>${hive.jdbc.artifact}</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
@ -55,7 +55,7 @@
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.kyuubi</groupId>
|
||||
<artifactId>kyuubi-hive-jdbc-shaded</artifactId>
|
||||
<artifactId>${hive.jdbc.artifact}</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
@ -68,7 +68,7 @@
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.kyuubi</groupId>
|
||||
<artifactId>kyuubi-hive-jdbc-shaded</artifactId>
|
||||
<artifactId>${hive.jdbc.artifact}</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
@ -89,7 +89,7 @@
|
||||
<!-- for hive driver related dependency -->
|
||||
<dependency>
|
||||
<groupId>org.apache.kyuubi</groupId>
|
||||
<artifactId>kyuubi-hive-jdbc-shaded</artifactId>
|
||||
<artifactId>${hive.jdbc.artifact}</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
@ -55,7 +55,7 @@
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.kyuubi</groupId>
|
||||
<artifactId>kyuubi-hive-jdbc-shaded</artifactId>
|
||||
<artifactId>${hive.jdbc.artifact}</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
@ -60,7 +60,7 @@
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.kyuubi</groupId>
|
||||
<artifactId>kyuubi-hive-jdbc-shaded</artifactId>
|
||||
<artifactId>${hive.jdbc.artifact}</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
@ -30,7 +30,8 @@ package object kyuubi {
|
||||
if (buildFileStream == null) {
|
||||
throw new KyuubiException(s"Can not load the core build file: $buildFile, if you meet " +
|
||||
s"this exception when running unit tests " +
|
||||
s"please make sure you have run the `mvn package` or `mvn generate-resources` command.")
|
||||
s"please make sure you have run the `mvn package` or " +
|
||||
s"`mvn antrun:run@build-info -pl kyuubi-common` command.")
|
||||
}
|
||||
|
||||
private val unknown = "<unknown>"
|
||||
|
||||
@ -266,7 +266,7 @@
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.kyuubi</groupId>
|
||||
<artifactId>kyuubi-hive-jdbc-shaded</artifactId>
|
||||
<artifactId>${hive.jdbc.artifact}</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
9
pom.xml
9
pom.xml
@ -203,6 +203,8 @@
|
||||
<hive.client.jline.version>2.12</hive.client.jline.version>
|
||||
<hive.client.supercsv.version>2.2.0</hive.client.supercsv.version>
|
||||
|
||||
<hive.jdbc.artifact>kyuubi-hive-jdbc</hive.jdbc.artifact>
|
||||
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<jars.target.dir>${project.build.directory}/scala-${scala.binary.version}/jars</jars.target.dir>
|
||||
|
||||
@ -2348,6 +2350,13 @@
|
||||
</properties>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>jdbc-shaded</id>
|
||||
<properties>
|
||||
<hive.jdbc.artifact>kyuubi-hive-jdbc-shaded</hive.jdbc.artifact>
|
||||
</properties>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>fast</id>
|
||||
<properties>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user