Skip to content
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ for contribution guidelines.
Click [here](https://polaris.apache.org/in-dev/unreleased/) for a quick overview of Polaris.

## Quickstart
Click [here](https://polaris.apache.org/in-dev/unreleased/getting-started/install-dependencies/) for the quickstart experience, which will help you set up a Polaris instance locally or on any supported cloud provider.
Click [here](https://polaris.apache.org/in-dev/unreleased/getting-started/) for the quickstart experience, which will help you set up a Polaris instance locally or on any supported cloud provider.

## Building and Running

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ public class PolarisAuthorizerImpl implements PolarisAuthorizer {
SUPER_PRIVILEGES.putAll(
NAMESPACE_LIST,
List.of(
CATALOG_MANAGE_CONTENT,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is effectively achieving the opposite: you are denying NAMESPACE_LIST to principals having CATALOG_MANAGE_CONTENT.

CATALOG_MANAGE_METADATA,
NAMESPACE_CREATE,
NAMESPACE_FULL_METADATA,
Expand All @@ -187,7 +186,6 @@ public class PolarisAuthorizerImpl implements PolarisAuthorizer {
SUPER_PRIVILEGES.putAll(
TABLE_LIST,
List.of(
CATALOG_MANAGE_CONTENT,
CATALOG_MANAGE_METADATA,
TABLE_CREATE,
TABLE_FULL_METADATA,
Expand All @@ -199,7 +197,6 @@ public class PolarisAuthorizerImpl implements PolarisAuthorizer {
SUPER_PRIVILEGES.putAll(
VIEW_LIST,
List.of(
CATALOG_MANAGE_CONTENT,
CATALOG_MANAGE_METADATA,
VIEW_CREATE,
VIEW_FULL_METADATA,
Expand Down
98 changes: 98 additions & 0 deletions site/content/in-dev/unreleased/getting-started/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,101 @@ weight: 101
build:
render: never
---

# Getting Started with Apache Polaris Binary Distribution
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like an unrelated change?


Quickly start Apache Polaris by running the pre-built binary, no build needed.

---

## Prerequisites

- Java 21 or later installed. You can verify this by running:

```bash
java -version
```

---

## Step 1: Download the Apache Polaris Binary

1. Visit the official Apache Polaris GitHub
[Releases page](https://github.com/apache/polaris/releases).

2. Download the latest binary archive file, for example:

```bash
curl -L https://downloads.apache.org/incubator/polaris/1.0.0-incubating/polaris-bin-1.0.0-incubating.tgz | tar xz```
---

## Step 2: Extract the Archive

Extract the downloaded tar.gz file to your desired directory:

```bash
cd apache-polaris-1.0.0-incubating-bin
```

---

## Step 3: Configure Polaris (Optional)

Edit the `application.properties` file if needed. For example:

```bash
polaris.storage.backend=local
polaris.storage.local.path=/data/polaris
```
*(This is a configuration file, not a shell command. Adjust these values as needed.)*

---

## Step 4: Run the Polaris Server

Start the Polaris server using the provided script:

```bash
./bin/polaris-server.sh start
```

To tail the logs in a separate terminal, run:

```bash
tail -f logs/polaris.log
```

---

## Step 5: Verify the Server is Running

Open your browser and navigate to:

```bash
curl http://localhost:8181/api/catalog/v1/health
```

You should see the Polaris server running or be able to access its REST API.

---

## Step 6: Stop the Polaris Server

To stop the server, run:

```bash
./bin/polaris-server.sh stop
```

---

## Additional Resources

- See the [official Apache Polaris documentation](https://polaris.apache.org/docs/) for comprehensive information on configuration, deployment, and usage.
- Use `./bin/polaris-admin` in the binary distribution for administrative and maintenance tasks.

---

Get started with Apache Polaris binaries. See the [repository](https://github.com/apache/polaris) for container images and more resources, or check out the [Quickstart guide](https://polaris.apache.org/in-dev/unreleased/getting-started/quickstart/) for developer instructions and advanced setup.

---
Loading