Importing and Exporting Jobs

Scenario

The FlinkServer web UI enables you only to import and export jobs, UDFs, andstream tables.

Importing a Job

  1. Access the Flink web UI as a user with FlinkServer Admin Privilege. For details, see Accessing the Flink Web UI.
  2. Choose System Management > Import Jobs.
  3. Click Select to select a local TAR file and click OK. Wait until the file is imported.

    The maximum size of a local TAR file to be uploaded is 200 MB.

Exporting a job

  1. Access the Flink web UI as a user with FlinkServer Admin Privilege. For details, see Accessing the Flink Web UI.
  2. Choose System Management > Export Jobs.
  3. Select the data to be exported in either of the following ways. To deselect the content, click Clear Selected Node.

    • Select the data to be exported as required.
    • Click Query Regular Expression. On the displayed page, select the type of the data to be exported (Table Management, Job Management, or UDF Management), enter the keyword, and click Query. After the data is successfully matched, click Synchronize.

      All matched data will be synchronized after you click Synchronize. Currently, you cannot select some data for synchronization.

  4. Click Verify. After the verification is complete, click OK. Wait until the data is exported.