Install Trino via Mpack
To install Ambari Trino Mpack, perform the following steps:
- Download the Trino Mpack from the current released Mpacks mirror url.
- Upload it to the Ambari server.
- Execute the following command to install the Mpack.
ambari-server install-mpack --mpack=ambari-mpacks-trino-472.tar.gz --verbose
After running above commands you can see this message.
INFO: Management pack trino-ambari-mpack-472 successfully installed! Please restart ambari-server.
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
Ambari Server 'install-mpack' completed successfully.
The Ambari server restarts.
#Restart Ambari server
ambari-server restart
- Log into the Ambari UI and navigate to add the Trino service.
- Select dedicated hosts for the Trino coordinator and worker nodes, make sure both the components are not co-hosted.
At the time of service configuration, make sure to update the below properties in Advanced trino-env.
java_home=<Jdk23 Installed Path>
Below is the reference screenshot.

Deploy and start the service. Trino is now up and running without LDAP/Kerberos/SSLon port 9095
.
Uninstallation Trino Mpack
Take a backup of the configuration files located in /etc/trino/conf
, then stop the service from Ambari and delete the service. Once the Ambari operation is completed, run the following command on the Ambari server.
ambari-server uninstall-mpack --mpack-name=trino-ambari-mpack
Was this page helpful?