Skip to content

Commit 919e59e

Browse files
committed
update readme
Signed-off-by: owenowenisme <mses010108@gmail.com>
1 parent b53b096 commit 919e59e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,13 @@ Apache Polaris is built using Gradle with Java 21+ and Docker 27+.
6969
- `./gradlew assemble` - To skip tests.
7070
- `./gradlew test` - To run unit tests and integration tests.
7171
- `./gradlew run` - To run the Polaris server locally; the server is reachable at
72-
localhost:8181. This is also suitable for running regression tests, or for connecting with Spark.
72+
localhost:8181. This is also suitable for running regression tests, or for connecting with Spark.
73+
- If you start Polaris as a direct java process via `./gradlew run`, you can set your own credentials using the environment variable `export POLARIS_BOOTSTRAP_CREDENTIALS=POLARIS,root,secret` where:
74+
- `POLARIS` is the realm
75+
- `root` is the CLIENT_ID
76+
- `secret` is the CLIENT_SECRET
77+
- If credentials are not set, it will use preset credentials `POLARIS,root,secret`
7378
- `./regtests/run_spark_sql.sh` - To connect from Spark SQL. Here are some example commands to run in the Spark SQL shell:
74-
- Set your own credentials using the environment variable `export POLARIS_BOOTSTRAP_CREDENTIALS=POLARIS,root,s3cr3t` where:
75-
- `POLARIS` is the realm
76-
- `root` is the CLIENT_ID
77-
- `s3cr3t` is the CLIENT_SECRET
7879
```sql
7980
create database db1;
8081
show databases;

0 commit comments

Comments
 (0)