Configuring MapR File System to Polaris
Describes how to configure MapR File system to Polaris.
You can use catalog-users property to restrict the access to catalog
data in the MapR Filesystem. The catalog-users property enables the
public access to a directory with Iceberg tables in the MapR filesystem, or sets the
correct users.
catalog-users property does not have any influence on the Polaris RBAC
model; it only relates to permissions for files that are stored on MapR-FS.
If catalog-users is not set to catalog, the directory will be available
for all users in MapR-FS.
The catalog-users can be used in the catalog create and
catalog update commands.
To create a catalog and provide access to data in MapR-FS, only
for the devuser and adminuser, run the following
command:
polaris --access-token ${TOKEN} catalogs create --type internal --storage-type
MFS --property catalog-users=devuser,adminuser --default-base-location
"maprfs:///tmp/testcatalog" test_catalogpolaris --access-token ${TOKEN} catalogs update --set-property catalog-users=newuser test_catalog