IMPORTANT: Developer documentation for the current main branch. This content is unreleased and may change before the next Polaris release. For stable user documentation, see the latest release docs.

Binary Distribution

Use this guide to quickly start running Polaris using the pre-built binary distribution.

Prerequisitesđź”—

  • Java SE 21 or later installed on your machine

Runningđź”—

Download the latest release and extract the binary distribution:

POLARIS_VERSION=1.5.0
curl -Lf https://downloads.apache.org/polaris/${POLARIS_VERSION}/polaris-bin-${POLARIS_VERSION}.tgz | tar xzf -
cd polaris-bin-${POLARIS_VERSION}

Start the Polaris server:

bin/server

The server will start and listen on http://localhost:8181 (main REST APIs) and http://localhost:8182 (management interface, for health checks and metrics).

Health and metrics endpoints are available under http://localhost:8182/q/health and http://localhost:8182/q/metrics respectively.

You can verify the server is running by checking the health endpoint:

curl http://localhost:8182/q/health

Software bill of materialsđź”—

Each release includes CycloneDX 1.6 JSON software bills of materials (SBOMs). Like the other release files, each SBOM has a detached .asc signature and a .sha512 checksum.

  • polaris-bin-V.zip.cdx.json describes polaris-bin-V.zip.
  • polaris-bin-V.tgz.cdx.json describes polaris-bin-V.tgz.
  • Each Spark client bundle JAR has its SBOM published to Maven Central next to the JAR, with classifier bundle-sbom-cyclonedx and extension json. The same document is in the release files as polaris-spark-S_C-V-bundle.jar.cdx.json.

V is the Polaris version, S the Spark version and C the Scala version.

To check that an SBOM belongs to the file you downloaded, verify its signature with a trusted Polaris release key, then compare the SHA-256 of the described file with the downloaded file:

gpg --verify polaris-bin-${POLARIS_VERSION}.tgz.cdx.json.asc polaris-bin-${POLARIS_VERSION}.tgz.cdx.json
jq -r '.metadata.component.hashes[] | select(.alg == "SHA-256") | .content' \
  polaris-bin-${POLARIS_VERSION}.tgz.cdx.json
sha256sum polaris-bin-${POLARIS_VERSION}.tgz

The signature shows that the SBOM was signed with a Polaris release key. The matching SHA-256 shows that the SBOM describes exactly the downloaded file.

What the SBOMs containđź”—

The binary distribution SBOMs are based on the SBOMs that Quarkus generates for the Polaris server and admin tool. Each document describes:

  • the archive itself, with its SHA-256;
  • the server and admin tool as polaris-server and polaris-admin, each with the runtime dependencies that Quarkus reports. Each dependency JAR has its path in the archive and the SHA-256 of the file in the archive. A JAR shipped with both applications is listed once for each application;
  • every other file in the archive, such as scripts and license files, with its SHA-256.

The Spark client bundle SBOMs are based on the SBOM that the CycloneDX Gradle plugin generates for the Spark client. They describe the bundle JAR with its SHA-256 and only the JARs that were actually included in the bundle, with their Maven coordinates. Because those JARs are not shipped as separate files, the SHA-256 of each original JAR is recorded in the property distribution:input:sha256.

Limitationsđź”—

  • The SBOMs do not claim to be complete: the composition of each document is marked as unknown.
  • Dependency relationships are taken from Quarkus and the CycloneDX Gradle plugin as reported. Polaris does not add relationships. A relationship that cannot be represented is left out rather than guessed.
  • SBOM fields that the CycloneDX Java library does not support, such as provides, are not included.
  • The Spark client bundles include the Iceberg Spark runtime JAR, which is itself a bundle. Its content is described by that single JAR, not by the libraries inside it.
  • If Quarkus reports a SHA-256 that does not match the file shipped in the archive, the SBOM records the SHA-256 of the shipped file. The value reported by Quarkus is kept in the property distribution:producer:hashes.
  • License information in the SBOMs is informational. Polaris license compliance is checked during the build and documented by the LICENSE and NOTICE files of each artifact.
  • Container images do not include SBOMs. The Polaris server and admin tool do not provide SBOMs at runtime, either through an HTTP endpoint or embedded in their JARs.