7.3. Setting up Presto Admin on an Amazon EMR cluster
To install, configure and run Presto Admin on an Amazon EMR cluster, follow the instructions in Quick Start Guide, but pay attention to the notes or sections specfic to EMR cluster. We reiterate these EMR specific caveats below:
To install Presto Admin on an Amazon EMR cluster, follow the instructions in Installing Presto Admin except for the following difference:
- Use the online installer instead of the offline installer (see explanation Installing Presto Admin).
To configure Presto Admin on an Amazon EMR cluster, follow the instructions in Configuring Presto-Admin. Specifically, we recommend the following property values during the configuration:
usernameinstead of the default username
- Use the host name of the EMR master node as the
The default version of Java installed on an EMR cluster (up to EMR 4.4.0) is 1.7, whereas Presto requires Java 1.8. Install Java 1.8 on the EMR cluster by following the instructions in Installing Java 8.
- For running Presto Admin commands on an EMR cluster, do the following:
.pemfile associated with the Amazon EC2 key pair to the Presto Admin installation node of the EMR cluster.
-i <path to .pem file>input argument when running presto-admin commands on the node.
</path/to/presto-admin> -i </path/to/your.pem> <presto_admin_command>