doc-exports/docs/dli/umn/dli_03_0165.html
Su, Xiaomeng fdd43c552e dli_umn_20240808
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Su, Xiaomeng <suxiaomeng1@huawei.com>
Co-committed-by: Su, Xiaomeng <suxiaomeng1@huawei.com>
2024-08-09 11:00:57 +00:00

2.5 KiB

Why Is Error Message "Authentication failed" Displayed During Flink Jar Job Running?

Symptom

An exception occurred when a Flink Jar job is running. The following error information is displayed in the job log:
org.apache.flink.shaded.curator.org.apache.curator.ConnectionState - Authentication failed

Possible Causes

Service authorization is not configured for the account on the Global Configuration page. When the account is used to create a datasource connection to access external data, the access fails.

Solution

  1. Log in to the DLI management console. Choose Global Configuration > Service Authorization in the navigation pane.
  2. On the Service Authorization page, select all agency permissions.
  3. Click Update. If the message "Agency permissions updated successfully" is displayed, the modification is successful.
  4. After the authorization is complete, create a datasource connection and run the job again.