You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@livy.apache.org by "nileshrathi345 (via GitHub)" <gi...@apache.org> on 2026/10/28 16:18:35 UTC
[PR] [LIVY-1095] Support jar wildcards in livy.repl.jars and livy.rsc.jars [livy]
nileshrathi345 opened a new pull request, #571:
URL: https://github.com/apache/livy/pull/571
Glob paths (e.g. local:/path/repl-jars/*) were dropped by the .jar-only filter. Pass them through to spark.jars so Spark resolves them like spark.yarn.jars; explicit jars keep Scala-version filtering.
## What changes were proposed in this pull request?
Support glob wildcards (for example `local:/opt/livy/repl_2.12-jars/*`) in `livy.repl.jars` and `livy.rsc.jars`.
- **livy.repl.jars:** glob paths were being dropped because only entries ending in `.jar` were kept. They are now passed through to `spark.jars` unchanged, and Spark resolves them the same way as `spark.yarn.jars`. Explicitly listed jars still get Scala-version filtering. Entries are also trimmed, and empty entries are ignored.
- **livy.rsc.jars:** globs already passed through. This patch documents that and adds a test for it.
- `livy.conf.template` and the `LivyConf` comments now document glob support.
JIRA: [LIVY-1095](https://issues.apache.org/jira/browse/LIVY-1095)
## How was this patch tested?
Added 3 unit tests to `InteractiveSessionSpec`: a glob in REPL jars, a glob mixed with Scala-specific jars, and a glob in RSC jars.
## Was this patch authored or co-authored using generative AI tooling?
No
--
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: commits-unsubscribe@livy.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org