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

   # Description
   
   When `SPARK_HOME` is not set explicitly, the Kyuubi server supports 
detecting it based on Scala versions, while the rules are not applicable for 
Spark 4.
   
   This PR enhances the SPARK_HOME detection logic to make it support both 
Spark 3 and Spark 4.
   
   The above logic is mainly used for testing purposes, the change does not 
affect users who configure `SPARK_HOME` in `kyuubi-env.sh`.
   
   ## Types of changes
   <!--- What types of changes does your code introduce? Put an `x` in all the 
boxes that apply: -->
   - [ ] Bugfix (non-breaking change which fixes an issue)
   - [x] New feature (non-breaking change which adds functionality)
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   
   ## Test Plan
   
   #### Related Unit Tests
   
   - `SparkProcessBuilderSuite`
   
   ---
   
   # 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