-
Notifications
You must be signed in to change notification settings - Fork 919
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[KYUUBI #6223] Fix Scala interpreter can not access spark.jars issue
# 🔍 Description ## Issue References 🔗 This pull request fixes #6223 Even the user specify `spark.jars`, but they can not access the classes in jars with Scala code. ## Describe Your Solution 🔧 Add the jars into repl classpath. ## 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 🧪 #### Behavior Without This Pull Request ⚰️ #### Behavior With This Pull Request 🎉 #### Related Unit Tests UT. --- # Checklist 📝 - [ ] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html) **Be nice. Be informative.** Closes #6235 from turboFei/scala_repl_urls. Closes #6223 3445026 [Wang, Fei] scala 2.13 cc6e289 [Wang, Fei] todo a8b3731 [Wang, Fei] refine 65b438c [Wang, Fei] remove scala reflect check eb257c7 [Wang, Fei] using -classpath e1c6f0e [Wang, Fei] revert 2.13 15d3766 [Wang, Fei] repl 41ebe10 [Wang, Fei] fix ut ed5d344 [Wang, Fei] info 1cdd82a [Wang, Fei] comment aa4292d [Wang, Fei] fix a10cfa5 [Wang, Fei] ut 63fdb88 [Wang, Fei] Use global.classPath.asURLs instead of class loader urls Authored-by: Wang, Fei <[email protected]> Signed-off-by: Cheng Pan <[email protected]>
- Loading branch information
Showing
3 changed files
with
85 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters