Service Principal Name
- Last Updated: October 23, 2024
- 1 minute read
- DataDirect Connectors
- ODBC
- Apache Hive 8.0
- Documentation
Attribute
ServicePrincipalName (SPN)
Purpose
The service principal name to be used by driver for Kerberos authentication.
Valid Values
ServicePrincipalName
where:
- ServicePrincipalName
- is the three-part service principal name registered with the key
distribution center (KDC). Note: Your service principal name is the value of the
hive.server2.authentication.kerberos.principalproperty in the hive-site.xml file.
You must specify the service principal name using the following format:
Service_Name/Fully_Qualified_Domain_Name@REALM.COM
where:
- Service_Name
- is the name of the service hosting the instance. For example,
yourservicename. - Fully_Qualified_Domain_Name
-
is the fully qualified domain name of the host machine. For example,
yourserver.example.com. - REALM.COM
-
is the domain name of the host machine. This part of the value must be specified in upper-case characters. For example,
EXAMPLE.COM.
Example
The following is an example of a valid service principal name:
yourservicename/yourserver.example.com@EXAMPLE.COM
Notes
- If unspecified, the value of the Network Address option is used as the service principal name.
- If Authentication Method is set to 0 or -1, the value of the Service Principal Name option is ignored.
Default
None