zwangsheng opened a new pull request, #6129:
URL: https://github.com/apache/kyuubi/pull/6129

   # :mag: Description
   ## Issue References ๐Ÿ”—
   <!-- Append the issue number after #. If there is no issue for you to link 
create one or -->
   <!-- If there are no issues to link, please provide details here. -->
   
   This pull request fixes 
https://github.com/apache/kyuubi/pull/5836#discussion_r1424963477
   
   ## Describe Your Solution ๐Ÿ”ง
   
   Remove the remain extension spark jars in related target dir before start to 
package.
   
   Aims to avoid include unspecified version.
   
   
   ## Types of changes :bookmark:
   <!--- What types of changes does your code introduce? Put an `x` in all the 
boxes that apply: -->
   - [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 ๐Ÿงช
   
   #### Behavior Without This Pull Request :coffin:
   
   Before this PR:
   ```shel
   ./build/dist -Pspark-3.1 ...
   # your will get expected package, then you run the following command
   ./build/dist -Pspark-3.3
   # you will find the final package include the spark 3.1 extension jar, which 
is un-expected.
   ```
   
   #### Behavior With This Pull Request :tada:
   
   After this PR, will clean up those extension spark jars before build to 
ensure we won't package the unspecified extension jar.
   
   #### Related Unit Tests
   
   None
   ---
   
   # Checklist ๐Ÿ“
   <!--- Go over all the following points, and put an `x` in all the boxes that 
apply. -->
   <!--- If you're unsure about any of these, don't hesitate to ask. We're here 
to help! -->
   
   - [x] This patch was not authored or co-authored using [Generative 
Tooling](https://www.apache.org/legal/generative-tooling.html)
   
   **Be nice. Be informative.**
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to