Skip to content

Commit d5927f5

Browse files
committed
Start preparing for 1.1.0-SNAPSHOT development
1 parent 315c18e commit d5927f5

File tree

4 files changed

+24
-12
lines changed

4 files changed

+24
-12
lines changed

README.md

+19-7
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ The purpose of the current project is to create a `Thin JAR` of HiveServer2 JDBC
44
All release products have been verified and usable in the GraalVM Native Image compiled by GraalVM CE For JDK 22.0.2.
55

66
The steps to use directly in Maven are as follows.
7+
The latest version is available
8+
at https://central.sonatype.com/artifact/io.github.linghengqian/hive-server2-jdbc-driver-thin .
79

810
```xml
911

@@ -17,9 +19,10 @@ The steps to use directly in Maven are as follows.
1719
```
1820

1921
The current project also provides a HiveServer2 JDBC Driver Uber JAR to simplify the steps of specifying the
20-
`classifier`.
22+
`classifier`.
2123
The current JAR also contains fixes for missing classes from the master branch of `apache/hive`.
2224
The steps to use directly in Maven are as follows.
25+
The latest version is at https://central.sonatype.com/artifact/io.github.linghengqian/hive-server2-jdbc-driver-uber .
2326

2427
```xml
2528

@@ -35,18 +38,20 @@ The steps to use directly in Maven are as follows.
3538
## Background
3639

3740
The current project is actually a third-party build of HiveServer2 JDBC Driver.
38-
`apache/hive` only provides `Skinny JAR` and `Uber JAR` for HiveServer2 JDBC Driver, which leads to many unexpected situations
41+
`apache/hive` only provides `Skinny JAR` and `Uber JAR` for HiveServer2 JDBC Driver, which leads to many unexpected
42+
situations
3943
in downstream projects.
4044

4145
For `org.apache.hive:hive-jdbc:4.0.0` corresponding to `Skinny JAR`,
4246
this leads to PRs like https://github.com/apache/shardingsphere/pull/31680
4347
and https://github.com/apache/shardingsphere/pull/31774 .
4448
The related PRs make hundreds of lines of dependency adjustments to `apache/hive`.
4549

46-
For `org.apache.hive:hive-jdbc:4.0.0:standalone` corresponding to the `Uber JAR`,
47-
this leads to issues like https://issues.apache.org/jira/browse/HIVE-28315 and https://issues.apache.org/jira/browse/HIVE-28445.
48-
It often takes months to wait for the fixes of the related issues to be released into the new version,
49-
without any way to fix the class conflicts.
50+
For `org.apache.hive:hive-jdbc:4.0.0:standalone` corresponding to the `Uber JAR`,
51+
this leads to issues like https://issues.apache.org/jira/browse/HIVE-28315
52+
and https://issues.apache.org/jira/browse/HIVE-28445.
53+
It often takes months to wait for the fixes of the related issues to be released into the new version,
54+
without any way to fix the class conflicts.
5055
This is almost unacceptable to downstream projects.
5156

5257
It is designed to be easily integrated into the nativeTest form of the GraalVM Native Image of `apache/shardingsphere`
@@ -58,9 +63,16 @@ More background at https://lists.apache.org/thread/63lr45kyh78s64spwsjxjy8zdyzpr
5863

5964
### 1.0.0
6065

61-
This is the first `Thin JAR` build for the HiveServer2 JDBC Driver on `apache/hive:4.0.0`.
66+
This is the first `Thin JAR` build and an accompanying, intuitive `Uber JAR` build for the HiveServer2 JDBC driver from
67+
`apache/hive:rel/release-4.0.0`.
6268
Fixed all class conflicts.
6369

70+
```
71+
io.github.linghengqian:hive-server2-jdbc-driver-thin:1.0.0
72+
73+
io.github.linghengqian:hive-server2-jdbc-driver-uber:1.0.0
74+
```
75+
6476
## Contributing
6577

6678
Refer to [CONTRIBUTING](./doc/CONTRIBUTING.md) .

hive-server2-jdbc-driver-thin/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>io.github.linghengqian</groupId>
88
<artifactId>hive-parent</artifactId>
9-
<version>1.0.0</version>
9+
<version>1.1.0-SNAPSHOT</version>
1010
</parent>
1111

1212
<artifactId>hive-server2-jdbc-driver-thin</artifactId>
@@ -681,7 +681,7 @@
681681
<dependency>
682682
<groupId>org.codehaus.woodstox</groupId>
683683
<artifactId>stax2-api</artifactId>
684-
<version>4.2.1</version>
684+
<version>${stax2-api.version}</version>
685685
</dependency>
686686
<!--
687687
TODO Fix class conflicts in master branch of apache/hive .

hive-server2-jdbc-driver-uber/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>io.github.linghengqian</groupId>
88
<artifactId>hive-parent</artifactId>
9-
<version>1.0.0</version>
9+
<version>1.1.0-SNAPSHOT</version>
1010
</parent>
1111

1212
<artifactId>hive-server2-jdbc-driver-uber</artifactId>
@@ -255,7 +255,7 @@
255255
<dependency>
256256
<groupId>org.codehaus.woodstox</groupId>
257257
<artifactId>stax2-api</artifactId>
258-
<version>4.2.1</version>
258+
<version>${stax2-api.version}</version>
259259
</dependency>
260260
<!--
261261
TODO Fix class conflicts in master branch of apache/hive .

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<modelVersion>4.0.0</modelVersion>
66
<groupId>io.github.linghengqian</groupId>
77
<artifactId>hive-parent</artifactId>
8-
<version>1.0.0</version>
8+
<version>1.1.0-SNAPSHOT</version>
99

1010
<packaging>pom</packaging>
1111
<name>${project.groupId}:${project.artifactId}</name>

0 commit comments

Comments
 (0)