Help Center/ Data Lake Insight/ FAQs/ Flink Jobs/ Flink SQL/ Why Is Error "Not authorized" Reported When a Flink SQL Job Reads DIS Data?
Updated on 2023-05-19 GMT+08:00

Why Is Error "Not authorized" Reported When a Flink SQL Job Reads DIS Data?

Symptom

Semantic verification for a Flink SQL job (reading DIS data) fails. The following information is displayed when the job fails:
Get dis channel xxx info failed. error info: Not authorized, please click the overview page to do the authorize action

Possible Causes

Before running a Flink job, the permission to obtain DIS data is not granted to the user.

Solution

  1. Log in to the DLI management console. Choose Global Configuration > Service Authorization in the navigation pane on the left.
  2. On the Service Authorization page, select DIS Administrator and click Update.
  3. Choose Job Management > Flink Jobs. On the displayed page, locate the desired Flink SQL job and restart the job.