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

   # :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. -->
   
   Currently, we extend `org.apache.hive:hive-beeline:3.1.3` will minimal 
changes to implement Kyuubi-specific features, this way has certain drawbacks. 
Hive has horrible dependencies hell(and some involve CVEs), we have put a lot 
of effort previously into making the Hive deps manageable, while it still has a 
chance in corner cases that triggers class link issues
   
   ```
   root@hadoop-master1:/opt/kyuubi# bin/beeline -u 
'jdbc:hive2://hadoop-master1.orb.local:10009/'
   Warn: Not find kyuubi environment file /etc/kyuubi/conf/kyuubi-env.sh, using 
default ones...
   Connecting to jdbc:hive2://hadoop-master1.orb.local:10009/
   Connected to: Spark SQL (version 3.4.2)
   Driver: Kyuubi Project Hive JDBC Client (version 1.8.0)
   Beeline version 1.8.0 by Apache Kyuubi
   0: jdbc:hive2://hadoop-master1.orb.local:1000>
   ```
   
   ```
   root@hadoop-master1:/opt/kyuubi# bin/beeline --version
   Warn: Not find kyuubi environment file /etc/kyuubi/conf/kyuubi-env.sh, using 
default ones...
   java.lang.NoClassDefFoundError: org/apache/curator/RetryPolicy
   ```
   
   ## Describe Your Solution ๐Ÿ”ง
   
   Fork beeline module from Apache Hive 3.1.3, and 
   
   ## 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 ๐Ÿงช
   
   Minimal changes to pass the unit tests.
   
   ---
   
   # 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