Help Center>
Data Lake Insight>
FAQs>
Flink Jobs>
Flink Jar Jobs>
Why Is Error Message "Authentication failed" Displayed During Flink Jar Job Running?
Updated on 2024-06-13 GMT+08:00
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
- 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.
Parent topic: Flink Jar Jobs
Flink Jar Jobs FAQs
- How Do I Configure Checkpoints for Flink Jar Jobs and Save the Checkpoints to OBS?
- Can I Upload Configuration Files for Flink Jar Jobs?
- Why Does a Flink Jar Package Conflict Result in Submission Failure?
- Why Does a Flink Jar Job Fail to Access GaussDB(DWS) and a Message Is Displayed Indicating Too Many Client Connections?
- Why Is Error Message "Authentication failed" Displayed During Flink Jar Job Running?
- Why Is Error Invalid OBS Bucket Name Reported After a Flink Job Submission Failed?
- Why Does the Flink Submission Fail Due to Hadoop JAR File Conflict?
- How Do I Connect a Flink jar Job to SASL_SSL?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbotmore