Yang, Tong 48706b7552 MRS COMP-LTS 320-lts.1 version
Reviewed-by: Kacur, Michal <michal.kacur@t-systems.com>
Co-authored-by: Yang, Tong <yangtong2@huawei.com>
Co-committed-by: Yang, Tong <yangtong2@huawei.com>
2024-04-12 12:51:10 +00:00

23 lines
4.7 KiB
HTML

<a name="mrs_01_24481"></a><a name="mrs_01_24481"></a>
<h1 class="topictitle1">Importing and Exporting Jobs</h1>
<div id="body0000001533386270"><div class="section" id="mrs_01_24481__s9f93d0a70cdc4575b48c96902a562dfe"><h4 class="sectiontitle">Scenario</h4><p id="mrs_01_24481__p21711044145216">The FlinkServer web UI enables you only to import and export jobs, UDFs, andstream tables.</p>
<ul id="mrs_01_24481__ul1624105017521"><li id="mrs_01_24481__li22411650175218">Jobs, flow tables, and UDFs with the same name cannot be imported to the same cluster.</li><li id="mrs_01_24481__li1224118503523">When exporting a job, you need to manually select the stream tables and UDFs on which the job depends. Otherwise, a dialog box indicating that the dependent data is not selected will be displayed. The application information of a job will not be exported.</li><li id="mrs_01_24481__li124195013524">When you export a stream table, the application information on which the stream table depends will not be exported.</li><li id="mrs_01_24481__li1241750165210">When you export UDFs, the application information on which the UDFs depend and information about jobs used by UDFs will not be exported.</li><li id="mrs_01_24481__li202411507526">Data import and export between different applications. are supported.</li></ul>
</div>
<div class="section" id="mrs_01_24481__section5815441121215"><h4 class="sectiontitle">Importing a Job</h4><ol id="mrs_01_24481__ol10782141514100"><li id="mrs_01_24481__li17782181511106"><span>Access the Flink web UI as a user with <strong id="mrs_01_24481__b13958651174149">FlinkServer Admin Privilege</strong>. For details, see <a href="mrs_01_24019.html">Accessing the Flink Web UI</a>.</span></li><li id="mrs_01_24481__li63513497107"><span>Choose <strong id="mrs_01_24481__b26571533144">System Management</strong> &gt; <strong id="mrs_01_24481__b154331144143">Import Jobs</strong>.</span></li><li id="mrs_01_24481__li16577753151119"><span>Click <strong id="mrs_01_24481__b8464342174714">Select</strong> to select a local TAR file and click <strong id="mrs_01_24481__b198222374817">OK</strong>. Wait until the file is imported.</span><p><div class="note" id="mrs_01_24481__note174142115598"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="mrs_01_24481__p074262113590">The maximum size of a local TAR file to be uploaded is 200 MB.</p>
</div></div>
</p></li></ol>
</div>
<div class="section" id="mrs_01_24481__section534935815233"><h4 class="sectiontitle">Exporting a job</h4><ol id="mrs_01_24481__ol1335045842316"><li id="mrs_01_24481__li13350135811231"><span>Access the Flink web UI as a user with <strong id="mrs_01_24481__b19167926824149">FlinkServer Admin Privilege</strong>. For details, see <a href="mrs_01_24019.html">Accessing the Flink Web UI</a>.</span></li><li id="mrs_01_24481__li73503583236"><span>Choose <strong id="mrs_01_24481__b742516592485">System Management</strong> &gt; <strong id="mrs_01_24481__b1478423114917">Export Jobs</strong>.</span></li><li id="mrs_01_24481__li2985057143711"><span>Select the data to be exported in either of the following ways. To deselect the content, click <strong id="mrs_01_24481__b06156965014">Clear Selected Node</strong>.</span><p><ul id="mrs_01_24481__ul633215325389"><li id="mrs_01_24481__li1933217325383">Select the data to be exported as required.</li><li id="mrs_01_24481__li8332732183811">Click <strong id="mrs_01_24481__b1969823715215">Query Regular Expression</strong>. On the displayed page, select the type of the data to be exported (<strong id="mrs_01_24481__b1082975511535">Table Management</strong>, <strong id="mrs_01_24481__b1881125955320">Job Management</strong>, or <strong id="mrs_01_24481__b10391947548">UDF Management</strong>), enter the keyword, and click <strong id="mrs_01_24481__b165779143546">Query</strong>. After the data is successfully matched, click <strong id="mrs_01_24481__b1198522195417">Synchronize</strong>.<div class="note" id="mrs_01_24481__note15685123135217"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="mrs_01_24481__p1068623113527">All matched data will be synchronized after you click <strong id="mrs_01_24481__b184111105559">Synchronize</strong>. Currently, you cannot select some data for synchronization.</p>
</div></div>
</li></ul>
</p></li><li id="mrs_01_24481__li862219132123"><span>Click <strong id="mrs_01_24481__b073927125111">Verify</strong>. After the verification is complete, click <strong id="mrs_01_24481__b1377951745118">OK</strong>. Wait until the data is exported.</span></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_24014.html">Using the Flink Web UI</a></div>
</div>
</div>