Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[KYUUBI #5509][FOLLOWUP] JDBC IT should always depends on kyuubi-hive-jdbc-shaded #6135

Closed
wants to merge 1 commit into from

Conversation

pan3793
Copy link
Member

@pan3793 pan3793 commented Mar 6, 2024

🔍 Description

Issue References 🔗

build/dist is going to fail without profile -Pjdbc-shaded after bumping a new version.

Describe Your Solution 🔧

Making the JDBC IT module always depends on kyuubi-hive-jdbc-shaded, to ensure the shaded JDBC is packaged before the JDBC IT module performs copy jars.

Types of changes 🔖

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Test Plan 🧪

Bump a new version, then perform making the distribution.

build/mvn versions:set -DgenerateBackupPoms=false -DnewVersion="1.9.1-SNAPSHOT"
build/dist --spark-provided --hive-provided --flink-provided

Before, failed with

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.6.1:copy (copy) on project kyuubi-jdbc-it_2.12: Unable to find/resolve artifact.: Could not find artifact org.apache.kyuubi:kyuubi-hive-jdbc-shaded:jar:1.9.1-SNAPSHOT in aliyun-apache-snapshots (https://maven.aliyun.com/repository/apache-snapshots/) -> [Help 1]

After, everything goes well.


Checklist 📝

Be nice. Be informative.

@pan3793 pan3793 added this to the v1.9.0 milestone Mar 6, 2024
@pan3793 pan3793 self-assigned this Mar 6, 2024
@pan3793
Copy link
Member Author

pan3793 commented Mar 6, 2024

cc @tigrulya-exe

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 61.13%. Comparing base (f1cf1e4) to head (12f600d).

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6135      +/-   ##
============================================
+ Coverage     61.11%   61.13%   +0.01%     
  Complexity       23       23              
============================================
  Files           624      624              
  Lines         37260    37260              
  Branches       5046     5046              
============================================
+ Hits          22772    22779       +7     
+ Misses        12025    12017       -8     
- Partials       2463     2464       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pan3793 pan3793 closed this in 5df34e4 Mar 7, 2024
@pan3793
Copy link
Member Author

pan3793 commented Mar 7, 2024

Thanks, merged to master

zhaohehuhu pushed a commit to zhaohehuhu/incubator-kyuubi that referenced this pull request Mar 21, 2024
…i-hive-jdbc-shaded

# 🔍 Description
## Issue References 🔗

`build/dist` is going to fail without profile `-Pjdbc-shaded` after bumping a new version.

## Describe Your Solution 🔧

Making the JDBC IT module always depends on `kyuubi-hive-jdbc-shaded`, to ensure the shaded JDBC is packaged before the JDBC IT module performs copy jars.

## Types of changes 🔖

- [x] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## Test Plan 🧪

Bump a new version, then perform making the distribution.
```
build/mvn versions:set -DgenerateBackupPoms=false -DnewVersion="1.9.1-SNAPSHOT"
build/dist --spark-provided --hive-provided --flink-provided
```
Before, failed with
```
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.6.1:copy (copy) on project kyuubi-jdbc-it_2.12: Unable to find/resolve artifact.: Could not find artifact org.apache.kyuubi:kyuubi-hive-jdbc-shaded🫙1.9.1-SNAPSHOT in aliyun-apache-snapshots (https://maven.aliyun.com/repository/apache-snapshots/) -> [Help 1]
```

After, everything goes well.

---

# Checklist 📝

- [x] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html)

**Be nice. Be informative.**

Closes apache#6135 from pan3793/impala-folowup.

Closes apache#5509

12f600d [Cheng Pan] [KYUUBI apache#5509][FOLLOWUP] JDBC IT should always depends on kyuubi-hive-jdbc-shaded

Authored-by: Cheng Pan <[email protected]>
Signed-off-by: Cheng Pan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants