Session Property Manager#
Configures the file-based session property manager in the cluster.
Usage#
Provision the module:
minitrino provision -m session-property-manager
Connect to the coordinator container’s Trino CLI as the admin user:
minitrino exec -i 'trino-cli --user admin'
SELECT 1;
The resource groups will apply to all users, with varying weights and priorities
assigned to certain user groups. Session properties applied to queries can be
viewed on the query details through the Trino web UI at localhost:8080/ui/.
The session property JSON file is mounted to the cluster as a volume and can be viewed/edited within the container:
minitrino exec -i \
'vi /etc/${CLUSTER_DIST}/session-property.json'
Dependent Modules#
file-group-provider: Used to define user groups.resource-groups: Used to define resource groups.