Install Trino via Mpack

To install Ambari Trino Mpack, perform the following steps:

  1. Download the Trino Mpack from the current released Mpacks mirror URL.

  2. Upload it to the Ambari server.

  3. Execute the following command to install the Mpack.

ambari-server install-mpack --mpack=ambari-mpacks-trino-472.tar.gz --verbose

After running the 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
  1. Log in to the Ambari UI and navigate to add the Trino service.

  2. Select dedicated hosts for the Trino coordinator and worker nodes, and make sure both components are not co-hosted.

At the time of service configuration, make sure to update the properties below 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/SSL on 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


  Last updated