Use the configuration metaStoreManager to configure a MetastoreManager implementation where Polaris entities will be persisted.
+
The default in-memory implementation is meant for testing and not suitable for production usage. Instead, consider an implementation such as eclipse-link which allows you to store metadata in a remote database.
+
Credentials and metadata will be stored in the metastore manager, and so be sure that your metastore manager is accordingly secured.
+
Configuring EclipseLink
+
To use EclipseLink for metastore management, specify the configuration metaStoreManager.conf-file to point to an EclipseLink persistence.xml file. This file, local to the Polaris service, will contain information on what database to use for metastore management and how to connect to it.
+
Bootstrapping
+
Before using Polaris when using a metastore manager other than in-memory, you must bootstrap the metastore manager. This is a manual operation that must be performed only once in order to prepare the metastore manager to integrate with Polaris. When the metastore manager is bootstrapped, any existing Polaris entities in the metastore manager may be purged.
+
To bootstrap Polaris, run a command like the following:
+
java jar /app/snowflake-polaris-all.jar bootstrap polaris-server.yml
+
+
Afterwards, you can launch Polaris normally with a command like the following:
+
java jar /app/snowflake-polaris-all.jar server polaris-server.yml
+
+