ServicePrincipalName
- Last Updated: July 29, 2016
- 1 minute read
- DataDirect Connectors
- JDBC
- IBM Db2 5.1
- MySQL 5.1
- Progress OpenEdge 5.1
- SAP Sybase 5.1
- Documentation
Purpose
Specifies the service principal name to be used for Kerberos authentication.
This property is supported only for HiveServer2 connections.
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 ServerName property is used as the service principal name.
- If AuthenticationMethod is set to
userIdPassword, the value of the ServicePrincipalName property is ignored.
Default
None