To access the Presto UI and submit Presto jobs, you must first set an administrator password for the cluster.
Procedure
-
Navigate to the password.db tab.
-
Log on to the EMR on ACK console.
-
On the EMR on ACK page, find your target cluster and click Configure in the Actions column.
-
On the Configure tab, select .
-
-
Modify the configuration.
-
On the password.db tab, set the admin parameter to a password generated by the
htpasswdcommand.For example, use a password generated by the
htpasswd -nBC 10 admincommand.On macOS, the
htpasswdcommand is available by default.On CentOS, run
yum install httpdto install httpd, which includes thehtpasswdcommand. On Ubuntu, runapt-get install apache2-utilsto install thehtpasswdcommand.NoteThe commands and packages may vary based on your operating system version and configuration.
-
Click Save.
-
In the dialog box that appears, enter a reason in the Execution Reason field and click Save.
-
-
Restart the Presto service.
-
Click the Service Details tab.
-
In the Components area, click Restart in the Actions column of TrinoCoordinator.
-
In the dialog box that appears, enter a reason in the Execution Reason field and click OK.
-
In the Confirm dialog box, click OK.
After the service restarts, use the new password to access the Presto UI and submit jobs.
-
> password.db