-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ZEPPELIN-5973] Bump Livy 0.8.0-incubating #4678
Conversation
LIVY_VERSION="${1}" | ||
SCALA_VERSION_SUFFIX="" | ||
if [ $(version $LIVY_VERSION) -ge $(version "0.8.0") ]; then | ||
SCALA_VERSION_SUFFIX="_${2}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since 0.8.0, livy binary zip contains scala suffix
https://dist.apache.org/repos/dist/release/incubator/livy/0.7.1-incubating/apache-livy-0.7.1-incubating-bin.zip
https://dist.apache.org/repos/dist/release/incubator/livy/0.8.0-incubating/apache-livy-0.8.0-incubating_2.11-bin.zip
@@ -17,12 +17,20 @@ | |||
# | |||
|
|||
if [[ "$#" -ne 1 ]]; then | |||
echo "usage) $0 [livy version]" | |||
echo "usage) $0 <livy version> [scala version]" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
usually, <arg>
represent the required arg, but [arg]
represent the optional arg
df870df
to
e8163e4
Compare
@jongyoul @zjffdu actually, we can refactor the test code of livy module by using a sub-process to call I have a half-done PoC locally, if you don't mind, I will continue it when I have free time. Or if you think it's not a good idea, then let's keep it as-is. |
I do not use livy. If there is a way to simplify the test execution we should take it. Currently the test execution is very specific. |
Done with #4743 |
What is this PR for?
Apache Livy 0.8.0-incubating was released at 2023-10-10, this PR aims to upgrade the built-in livy to the latest one.
What type of PR is it?
Improvement
Todos
What is the Jira issue?
ZEPPELIN-5973
How should this be tested?
Pass CI
Screenshots (if appropriate)
Questions: