Create a Kerberos datasource authentication on the DLI console to store the authentication information of the data source to DLI. This will allow you to access to the data source without having to configure a username and password in SQL jobs.
Configure Kerberos authentication parameters according to Table 1.
Parameter |
Description |
---|---|
Type |
Select Kerberos. |
Authentication Certificate |
Name of the datasource authentication to be created.
|
Username |
Username for logging in to the security cluster. |
krb5_conf Path |
OBS path to which the krb5.conf file is uploaded. NOTE:
The renew_lifetime configuration item under [libdefaults] must be removed from krb5.conf. Otherwise, the "Message stream modified (41)" error may occur. |
keytab Path |
OBS path to which the user.keytab file is uploaded. |
When creating a data source, associate the data source with the created datasource authentication to access the data source.
For details about how to create a table, see Data Lake Insight Syntax Reference.