Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ request adding CHANGELOG notes for breaking (!) changes and possibly other secti

### Breaking changes

- The EclipseLink Persistence implementation has been completely removed.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this file has the only remaining mention of eclipselink related things:

➜  polaris git:(remove-eclipselink) git grep -i 'persistence.xml'

➜  polaris git:(remove-eclipselink) git grep -i 'eclipse.*link'
CHANGELOG.md:- The EclipseLink Persistence implementation has been completely removed.
CHANGELOG.md:- The EclipseLink Persistence implementation has been deprecated since 1.0.0 and will be completely removed
site/content/downloads/_index.md:  - The EclipseLink Persistence implementation has been deprecated since 1.0.0 and will be completely removed


### New Features

- Support credential vending for federated catalogs. `ALLOW_FEDERATED_CATALOGS_CREDENTIAL_VENDING` (default: true) was added to toggle this feature.
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ Apache Polaris is organized into the following modules:
- `polaris-runtime-spark-tests` - Integration tests for the Polaris Spark plugin
- `polaris-runtime-test-common` - Test utilities
- Persistence modules:
- `polaris-eclipselink` - The Eclipselink implementation of the MetaStoreManager interface (deprecated for removal)
- `polaris-relational-jdbc` - The JDBC implementation of BasePersistence to be used via AtomicMetaStoreManager
- Extensions modules:
- `polaris-extensions-federation-hadoop` - The Hadoop federation extension
Expand Down
1 change: 0 additions & 1 deletion bom/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ dependencies {

api(project(":polaris-core"))

api(project(":polaris-eclipselink"))
api(project(":polaris-relational-jdbc"))

api(project(":polaris-extensions-auth-opa"))
Expand Down
7 changes: 1 addition & 6 deletions getting-started/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,5 @@ this directory. Each example has detailed instructions.
- [Telemetry](telemetry): An example that includes Prometheus and Jaeger to collect metrics and
traces from Apache Polaris. This example automatically creates a `polaris_demo` catalog.

- [Eclipselink](eclipselink): An example that uses an Eclipselink metastore and a Postgres
database. The realm is bootstrapped with the Polaris Admin tool. This example also creates a
`polaris_quickstart` catalog, and offers the ability to run Spark SQL and Trino queries. Finally, it shows how to
attach a debugger to the Polaris server.

- [Keycloak](keycloak): An example that uses Keycloak as an external identity provider (IDP) for
authentication.
authentication.
2 changes: 1 addition & 1 deletion getting-started/assets/cloud_providers/deploy-azure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ az role assignment create \
export AZURE_TENANT_ID=$(az account show --query tenantId -o tsv)
export STORAGE_LOCATION="abfss://$STORAGE_CONTAINER_NAME@$STORAGE_ACCOUNT_NAME.dfs.core.windows.net/quickstart_catalog"

cat >> getting-started/eclipselink/trino-config/catalog/iceberg.properties << EOF
cat >> getting-started/assets/trino-config/catalog/iceberg.properties << EOF
fs.native-azure.enabled=true
azure.auth-type=DEFAULT
EOF
Expand Down
45 changes: 0 additions & 45 deletions getting-started/assets/eclipselink/persistence.xml

This file was deleted.

95 changes: 0 additions & 95 deletions getting-started/eclipselink/README.md

This file was deleted.

36 changes: 0 additions & 36 deletions getting-started/eclipselink/docker-compose-bootstrap-db.yml

This file was deleted.

108 changes: 0 additions & 108 deletions getting-started/eclipselink/docker-compose.yml

This file was deleted.

1 change: 0 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ azuresdk-bom = { module = "com.azure:azure-sdk-bom", version = "1.3.0" }
caffeine = { module = "com.github.ben-manes.caffeine:caffeine", version = "3.2.3" }
commons-lang3 = { module = "org.apache.commons:commons-lang3", version = "3.19.0" }
commons-text = { module = "org.apache.commons:commons-text", version = "1.14.0" }
eclipselink = { module = "org.eclipse.persistence:eclipselink", version = "4.0.8" }
errorprone = { module = "com.google.errorprone:error_prone_core", version = "2.43.0" }
google-cloud-storage-bom = { module = "com.google.cloud:google-cloud-storage-bom", version = "2.59.0" }
guava = { module = "com.google.guava:guava", version = "33.5.0-jre" }
Expand Down
1 change: 0 additions & 1 deletion gradle/projects.main.properties
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ polaris-runtime-spark-tests=runtime/spark-tests
polaris-admin=runtime/admin
polaris-runtime-common=runtime/common
polaris-runtime-test-common=runtime/test-common
polaris-eclipselink=persistence/eclipselink
polaris-relational-jdbc=persistence/relational-jdbc
polaris-tests=integration-tests
aggregated-license-report=aggregated-license-report
Expand Down
4 changes: 2 additions & 2 deletions helm/polaris/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ ct install --namespace polaris --charts ./helm/polaris
| features.realmOverrides | object | `{}` | Features to enable or disable per realm. This field is a map of maps. The realm name is the key, and the value is a map of feature names to values. If a feature is not present in the map, the default value from the 'defaults' field is used. |
| fileIo | object | `{"type":"default"}` | Polaris FileIO configuration. |
| fileIo.type | string | `"default"` | The type of file IO to use. Two built-in types are supported: default and wasb. The wasb one translates WASB paths to ABFS ones. |
| image.configDir | string | `"/deployments/config"` | The path to the directory where the application.properties file, and other configuration files, if any, should be mounted. Note: if you are using EclipseLink, then this value must be at least two folders down to the root folder, e.g. `/deployments/config` is OK, whereas `/deployments` is not. |
| image.configDir | string | `"/deployments/config"` | The path to the directory where the application.properties file, and other configuration files, if any, should be mounted. |
| image.pullPolicy | string | `"IfNotPresent"` | The image pull policy. |
| image.repository | string | `"apache/polaris"` | The image repository to pull from. |
| image.tag | string | `"latest"` | The image tag. |
Expand Down Expand Up @@ -308,7 +308,7 @@ ct install --namespace polaris --charts ./helm/polaris
| persistence.relationalJdbc.secret.name | string | `nil` | The secret name to pull database connection properties from |
| persistence.relationalJdbc.secret.password | string | `"password"` | The secret key holding the database password for authentication |
| persistence.relationalJdbc.secret.username | string | `"username"` | The secret key holding the database username for authentication |
| persistence.type | string | `"in-memory"` | The type of persistence to use. Two built-in types are supported: in-memory and relational-jdbc. The eclipse-link type is also supported but is deprecated. |
| persistence.type | string | `"in-memory"` | The type of persistence to use. Two built-in types are supported: in-memory and relational-jdbc. |
| podAnnotations | object | `{}` | Annotations to apply to polaris pods. |
| podDisruptionBudget | object | `{"annotations":{},"enabled":false,"maxUnavailable":null,"minAvailable":null}` | Pod disruption budget settings. |
| podDisruptionBudget.annotations | object | `{}` | Annotations to add to the pod disruption budget. |
Expand Down
3 changes: 0 additions & 3 deletions helm/polaris/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ image:
tag: "latest"
# -- The path to the directory where the application.properties file, and other configuration
# files, if any, should be mounted.
# Note: if you are using EclipseLink, then this value must be at least two folders down to the
# root folder, e.g. `/deployments/config` is OK, whereas `/deployments` is not.
configDir: /deployments/config

# -- References to secrets in the same namespace to use for pulling any of the images used by this
Expand Down Expand Up @@ -537,7 +535,6 @@ features:
# -- Polaris persistence configuration.
persistence:
# -- The type of persistence to use. Two built-in types are supported: in-memory and relational-jdbc.
# The eclipse-link type is also supported but is deprecated.
type: in-memory # relational-jdbc
# -- The configuration for the relational-jdbc persistence manager.
relationalJdbc:
Expand Down
Loading