ไธญ

Flink Calls Operating Steps

Create a Queue

  1. Log in to the scheduling system, click Security, then click Queue manage on the left, and click Create queue to create a queue.
  2. Fill in the name and value of the queue, and click "Submit"

Create a Tenant

1. The tenant corresponds to a Linux user, which the user worker uses to submit jobs. If the Linux OS environment does not have this user, the worker will create this user when executing the script.
2. Both the tenant and the tenant code are unique and cannot be repeated, just like a person only has one name and one ID number.  
3. After creating a tenant, there will be a folder in the HDFS relevant directory.  

Create a User

Create a Token

  1. Log in to the scheduling system, click Security, then click Token manage on the left, and click Create token to create a token.

  1. Select the Expiration time (token validity time), select User (choose the specified user to perform the API operation), click "Generate token", copy the Token string, and click "Submit".

Token Usage

  1. Open the API documentation page

    Address๏ผšhttp://{api server ip}:12345/dolphinscheduler/doc.html?language=en_US&lang=en

  1. Select a test API, the API selected for this test is queryAllProjectList

    projects/query-project-list

  2. Open Postman, fill in the API address, and enter the Token in Headers, and then send the request to view the result:

    token: The Token just generated
    

User Authorization

User Login

http://192.168.1.163:12345/dolphinscheduler/ui/#/monitor/servers/master

Upload the Resource

Create a Workflow

View the Execution Result

View Log