Why Is Error Message "Authentication failed" Displayed During Flink Jar Job Running?
Symptom
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
- Log in to the DLI management console. Choose Global Configuration > Service Authorization in the navigation pane.
- On the Service Authorization page, select all agency permissions.
Figure 1 Assigning agency permissions
- Click Update. If the message "Agency permissions updated successfully" is displayed, the modification is successful.
- After the authorization is complete, create a datasource connection and run the job again.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.