Presto Troubleshooting¶
When Test connection or an operation fails on a Presto datastore, the error message points to the layer that failed: the credentials, the access control rules, or the connection to the coordinator.
Problems every connector shares
A server that cannot be reached, a red status dot, a credential changed at the source, Secrets Management errors, an empty schema list, missing tables, and a blocked deletion are covered on Source Datastore Troubleshooting. This page covers the errors specific to Presto.
Common Errors¶
| Error | Likely Cause | Fix |
|---|---|---|
Access Denied: Cannot select from table |
The user lacks SELECT on the target table in the Presto access control rules or the underlying connector |
Add SELECT permission for the user in rules.json or grant access in the underlying data source |
Catalog does not exist |
The catalog name in the connection form does not match a configured Presto catalog | Verify available catalogs with SHOW CATALOGS in Presto |
Schema does not exist |
The schema name does not exist in the specified catalog | Verify available schemas with SHOW SCHEMAS FROM <catalog> |
Connection refused |
The Presto coordinator is not reachable or the port (default 8080) is incorrect | Verify the host, port, and that the Presto coordinator is running |
Authentication failed |
Incorrect username or password, or the Presto server requires a different authentication method | Verify credentials and check if the Presto server uses LDAP, Kerberos, or password file authentication |
Detailed Notes¶
Authentication Errors¶
The error Authentication failed indicates that the credentials are incorrect or the authentication method does not match the server configuration.
Common causes:
- Incorrect password: the password does not match the one configured in the Presto server.
- Wrong authentication method: the Presto server uses LDAP or Kerberos, but the connection form provides basic username/password.
- HTTPS required: the Presto coordinator requires HTTPS connections, but the connection is using HTTP.
Note
Presto authentication is configured at the coordinator level. Check the password-authenticator.properties file for the configured authentication method.
Permission Errors¶
The error Access Denied: Cannot select from table means the user authenticated successfully but lacks access to the target table.
Common causes:
- File-based access control: the
rules.jsonfile does not grantSELECTaccess to the Qualytics user on the target catalog or schema. - Connector-level security: the underlying data source (e.g., Hive Metastore) does not grant read access to the user.
- Catalog-level restriction: the user has access to the schema but the catalog itself is restricted.
Connection Errors¶
The error Connection refused or Catalog does not exist indicates a connectivity or configuration issue.
Common causes:
- Coordinator not reachable: the Presto coordinator host or port (default 8080) is incorrect.
- Wrong catalog name: the catalog name in the connection form does not match a configured Presto catalog.
- Coordinator not running: the Presto coordinator process is not started.
When the host, port, and catalog are right and the coordinator is running, the network path is the remaining cause; see Reaching the Data Source.