Documentation
ODP 3.3.6.3-1
Release Notes
What is ODP
Installation
Component User guide and Installation Instructions
Upgrade Instructions
Downgrade Instructions
Reference Guide
Security Guide
Troubleshooting Guide
Uninstall ODP
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Troubleshooting Trino
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Connect to Cursor
Connect to VS Code
Kerberos and LDAP cannot be enabled at the same time since they are set using the same property, http-server.authentication.type.
If you enable LDAP on a Kerberos cluster, Kerberos authentication will be disabled for Trino. However, Kerberos will remain enabled for the Hive connector so that you can access it by making below modifications.
- Create and add user-mappings.json and rules.json under
/etc/trino/conf.
Bash
x
# Ensure directory existsls -lart /etc/trino/conf# Create user-mappings.jsoncat <<EOF > /etc/trino/conf/user-mappings.json{ "rules": [ { "pattern": "^([^/]+).*$", "allow": true } ]}EOF# Create rules.jsoncat <<EOF > /etc/trino/conf/rules.json{ "impersonation": [ { "original_user": ".*", "new_user": ".*" } ], "principals": [ { "principal": "(.*)", "principal_to_user": "\$1", "allow": true }, { "principal": "([^/]+)(/.*)?@.*", "principal_to_user": "\$1", "allow": true } ]}EOF- To add a custom krb5-user mapping, append the following line at the end of the file by Navigating to Ambari UI →
Trino→Advanced Configurations→coordinator-config.
http-server.authentication.krb5.user-mapping.file=/etc/trino/conf/user-mappings.json
Bash
http-server.authentication.krb5.keytab=/etc/security/keytabs/trino.keytabhttp.authentication.krb5.config=/etc/krb5.confnode.internal-address-source=FQDNhttp-server.authentication.krb5.user-mapping.file=/etc/trino/conf/user-mappings.jsonType to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on May 8, 2025
Was this page helpful?
Next to read:
Configure Trino ClientDiscard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message