This is an automated email from the ASF dual-hosted git repository.
ggal pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-livy.git
The following commit(s) were added to refs/heads/master by this push:
new 01523b89 [LIVY-1031][DOC] README build instructions are out-of-date
(#510)
01523b89 is described below
commit 01523b89073523611000c6ac577d5d9f12e9084e
Author: György Gál <[email protected]>
AuthorDate: Sat Feb 21 18:54:56 2026 -0500
[LIVY-1031][DOC] README build instructions are out-of-date (#510)
## What changes were proposed in this pull request?
* The project's `README.md` states that `spark3` and `spark-2.12` are
default profiles, however this is not the case.
* The profile `thriftserver` is added to `README.md`.
## How was this patch tested?
Tested with unit test and integration test workflows.
---
README.md | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index 150243f6..6b6ffba5 100644
--- a/README.md
+++ b/README.md
@@ -77,7 +77,7 @@ You can also use the provided
[Dockerfile](./dev/docker/livy-dev-base/Dockerfile
git clone https://github.com/apache/incubator-livy.git
cd incubator-livy
docker build -t livy-ci dev/docker/livy-dev-base/
-docker run --rm -it -v $(pwd):/workspace -v $HOME/.m2:/root/.m2 livy-ci mvn
package
+docker run --rm -it -v $(pwd):/workspace -v $HOME/.m2:/root/.m2 livy-ci mvn
package -Pspark3 -Pscala-2.12
```
> **Note**: The `docker run` command maps the maven repository to your host
> machine's maven cache so subsequent runs will not need to download
> dependencies.
@@ -91,8 +91,9 @@ version of Spark without needing to rebuild.
### Build Profiles
-| Flag | Purpose
|
-|--------------|--------------------------------------------------------------------|
-| -Phadoop2 | Choose Hadoop2 based build dependencies
|
-| -Pspark3 | Choose Spark 3.x based build dependencies (default
configuration) |
-| -Pscala-2.12 | Choose Scala 2.12 based build dependencies (default
configuration) |
+| Flag | Purpose |
+|----------------|--------------------------------------------|
+| -Phadoop2 | Choose Hadoop2 based build dependencies |
+| -Pthriftserver | Build and test Livy Thrift Server modules |
+| -Pspark3 | Choose Spark 3.x based build dependencies |
+| -Pscala-2.12 | Choose Scala 2.12 based build dependencies |