You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site/content/in-dev/unreleased/getting-started/quickstart.md
+6-13Lines changed: 6 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,28 +72,21 @@ cd ~/polaris
72
72
You should see output for some time as Polaris builds and starts up. Eventually, you won’t see any more logs and should see messages that resemble the following:
73
73
74
74
```
75
-
realm: <realm> root principal credentials: <client-id>:<client-secret>
76
75
INFO [io.quarkus] [,] [,,,] (Quarkus Main Thread) polaris-quarkus-service <version> on JVM (powered by Quarkus <version>) started in 2.656s. Listening on: http://localhost:8181. Management interface listening on http://0.0.0.0:8182.
77
76
INFO [io.quarkus] [,] [,,,] (Quarkus Main Thread) Profile prod activated. Live Coding activated.
78
77
INFO [io.quarkus] [,] [,,,] (Quarkus Main Thread) Installed features: [...]
79
78
```
80
79
81
80
At this point, Polaris is running.
82
81
83
-
When using a Gradle-launched Polaris instance in this tutorial, we'll launch an instance of Polaris that stores entities only in-memory. This means that any entities that you define will be destroyed when Polaris is shut down. It also means that Polaris will automatically bootstrap itself with root credentials. For more information on how to configure Polaris for production usage, see the [docs]({{% relref "../configuring-polaris-for-production" %}}).
84
-
85
-
When Polaris is launched using an in-memory metastore, the root principal credentials can be found
86
-
in stdout on initial startup. Look for a line that resembles the following:
87
-
88
-
```
89
-
realm: <realm> root principal credentials: <client-id>:<client-secret>
90
-
```
91
-
92
-
Be sure to take note of these credentials as we'll be using them below. You can also set these credentials as environment variables for use with the Polaris CLI:
82
+
When using a Gradle-launched Polaris instance in this tutorial, we'll launch an instance of Polaris that stores entities only in-memory. This means that any entities that you define will be destroyed when Polaris is shut down.
83
+
For more information on how to configure Polaris for production usage, see the [docs]({{% relref "../configuring-polaris-for-production" %}}).
93
84
85
+
When Polaris is run using the `./gradlew run` command, the root principal credentials are `root` and `secret` for the `CLIENT_ID` and `CLIENT_SECRET`, respectively.
86
+
You can also set these credentials as environment variables for use with the Polaris CLI:
94
87
```shell
95
-
export CLIENT_ID=<client-id>
96
-
export CLIENT_SECRET=<client-secret>
88
+
export CLIENT_ID=root
89
+
export CLIENT_SECRET=secret
97
90
```
98
91
99
92
### Installing Apache Spark and Trino Locally for Testing
0 commit comments