forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Yang, Tong <yangtong2@huawei.com> Co-committed-by: Yang, Tong <yangtong2@huawei.com>
164 lines
21 KiB
HTML
164 lines
21 KiB
HTML
<a name="mrs_01_0598"></a><a name="mrs_01_0598"></a>
|
|
|
|
<h1 class="topictitle1">Common Flink Shell Commands</h1>
|
|
<div id="body1589421638574"><p id="mrs_01_0598__p1047722614136">This section applies to MRS 3.<em id="mrs_01_0598__i1199361195312">x</em> or later clusters.</p>
|
|
<p id="mrs_01_0598__p18665940151218">Before running the Flink shell commands, perform the following steps:</p>
|
|
<ol id="mrs_01_0598__ol168757872718"><li id="mrs_01_0598__li2087512818273"><span>Install the Flink client in a directory, for example, <strong id="mrs_01_0598__b198041135155410">/opt/client</strong>.</span></li><li id="mrs_01_0598__li9875180279"><span>Run the following command to initialize environment variables:</span><p><p id="mrs_01_0598__p10423946122715"><strong id="mrs_01_0598__b1587412231213">source /opt/client/bigdata_env</strong></p>
|
|
</p></li><li id="mrs_01_0598__li1987413236217"><span>If Kerberos authentication is enabled for the current cluster, run the following command to authenticate the user. If Kerberos authentication is disabled, skip this step.</span><p><p id="mrs_01_0598__p4874112317214"><strong id="mrs_01_0598__b1731715554552">kinit</strong> <em id="mrs_01_0598__i332212558552">Service user</em> </p>
|
|
</p></li><li id="mrs_01_0598__li68752817272"><span>Run the related commands according to <a href="#mrs_01_0598__table65101640171215">Table 1</a>.</span><p>
|
|
<div class="tablenoborder"><a name="mrs_01_0598__table65101640171215"></a><a name="table65101640171215"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_01_0598__table65101640171215" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Flink Shell commands</caption><thead align="left"><tr id="mrs_01_0598__row266514404129"><th align="left" class="cellrowborder" valign="top" width="17.491749174917494%" id="mcps1.3.3.4.2.1.2.4.1.1"><p id="mrs_01_0598__p2149115918167"><strong id="mrs_01_0598__b2356134965617">Command</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="55.67556755675567%" id="mcps1.3.3.4.2.1.2.4.1.2"><p id="mrs_01_0598__p1149105911160"><strong id="mrs_01_0598__b12821192155710">Description</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="26.83268326832683%" id="mcps1.3.3.4.2.1.2.4.1.3"><p id="mrs_01_0598__p41492597169"><strong id="mrs_01_0598__b17421114155715">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_01_0598__row1666534011216"><td class="cellrowborder" valign="top" width="17.491749174917494%" headers="mcps1.3.3.4.2.1.2.4.1.1 "><p id="mrs_01_0598__p76657406128">yarn-session.sh</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.67556755675567%" headers="mcps1.3.3.4.2.1.2.4.1.2 "><p id="mrs_01_0598__p3863102264419"><strong id="mrs_01_0598__b203642184232">-at,--applicationType <arg></strong>: Defines the Yarn application type.</p>
|
|
<p id="mrs_01_0598__p196669401122"><strong id="mrs_01_0598__b1049319122512">-D <property=value></strong>: Configures dynamic parameter.</p>
|
|
<p id="mrs_01_0598__p156661540141215"><strong id="mrs_01_0598__b65551855135814">-d,--detached</strong>: Disables the interactive mode and starts a separate Flink Yarn session.</p>
|
|
<p id="mrs_01_0598__p179554635316"><strong id="mrs_01_0598__b12927458981095">-h,--help</strong>: Displays the help information about the Yarn session CLI.</p>
|
|
<p id="mrs_01_0598__p5666174051214"><strong id="mrs_01_0598__b763712414591">-id,--applicationId <arg></strong>: Binds to a running Yarn session.</p>
|
|
<p id="mrs_01_0598__p4666124011215"><strong id="mrs_01_0598__b192512399251">-j,--jar <arg></strong>: Sets the path of the user's JAR file.</p>
|
|
<p id="mrs_01_0598__p1166624051218"><strong id="mrs_01_0598__b248414419010">-jm,--jobManagerMemory <arg></strong>: Sets the JobManager memory.</p>
|
|
<p id="mrs_01_0598__p176056318546"><strong id="mrs_01_0598__b16635140131095">-m,--jobmanager <arg></strong>: Address of the JobManager (master) to which to connect. Use this parameter to connect to a specified JobManager.</p>
|
|
<p id="mrs_01_0598__p1790718322544"><strong id="mrs_01_0598__b159731313192811">-nl,--nodeLabel <arg></strong>: Specifies the nodeLabel of the Yarn application.</p>
|
|
<p id="mrs_01_0598__p1366624081213"><strong id="mrs_01_0598__b1474141762818">-nm,--name <arg></strong>: Customizes a name for the application on Yarn.</p>
|
|
<p id="mrs_01_0598__p13666340171211"><strong id="mrs_01_0598__b1843102110281">-q,--query</strong>: Queries available Yarn resources.</p>
|
|
<p id="mrs_01_0598__p15666154041213"><strong id="mrs_01_0598__b1444624162815">-qu,--queue <arg></strong>: Specifies a Yarn queue.</p>
|
|
<p id="mrs_01_0598__p13666154016129"><strong id="mrs_01_0598__b5611172719289">-s,--slots <arg></strong>: Sets the number of slots for each TaskManager.</p>
|
|
<p id="mrs_01_0598__p266618404129"><strong id="mrs_01_0598__b1226436172814">-t,--ship <arg></strong>: specifies the directory of the file to be sent.</p>
|
|
<p id="mrs_01_0598__p106661040151219"><strong id="mrs_01_0598__b26451639112812">-tm,--taskManagerMemory <arg></strong>: sets the TaskManager memory.</p>
|
|
<p id="mrs_01_0598__p169065914518"><strong id="mrs_01_0598__b1561954252818">-yd,--yarndetached</strong>: starts Yarn in the detached mode.</p>
|
|
<p id="mrs_01_0598__p126524256429"><strong id="mrs_01_0598__b11871046192817">-z,--zookeeperNamespace <args></strong>: specifies the namespace of ZooKeeper.</p>
|
|
<p id="mrs_01_0598__p186668401122"><strong id="mrs_01_0598__b2043174942815">-h</strong>: Gets help information.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.83268326832683%" headers="mcps1.3.3.4.2.1.2.4.1.3 "><p id="mrs_01_0598__p1866634041219">Start a resident Flink cluster to receive tasks from the Flink client.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0598__row566634012127"><td class="cellrowborder" valign="top" width="17.491749174917494%" headers="mcps1.3.3.4.2.1.2.4.1.1 "><p id="mrs_01_0598__p17666174011213">flink run</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.67556755675567%" headers="mcps1.3.3.4.2.1.2.4.1.2 "><p id="mrs_01_0598__p1166619405122"><strong id="mrs_01_0598__b193823151139">-c,--class <classname></strong>: Specifies a class as the entry for running programs.</p>
|
|
<p id="mrs_01_0598__p116661540121211"><strong id="mrs_01_0598__b15209541739">-C,--classpath <url></strong>: Specifies <strong id="mrs_01_0598__b621494115311">classpath</strong>.</p>
|
|
<p id="mrs_01_0598__p466644016122"><strong id="mrs_01_0598__b103427596318">-d,--detached</strong>: Runs a job in the detached mode.</p>
|
|
<p id="mrs_01_0598__p117611123153412"><strong id="mrs_01_0598__b53520910291">-files,--dependencyFiles <arg></strong>: File on which the Flink program depends.</p>
|
|
<p id="mrs_01_0598__p165351205200"><strong id="mrs_01_0598__b18244745391095">-n,--allowNonRestoredState</strong>: A state that cannot be restored can be skipped during restoration from a snapshot point in time. For example, if an operator in the program is deleted, you need to add this parameter when restoring the snapshot point.</p>
|
|
<p id="mrs_01_0598__p466611406123"><strong id="mrs_01_0598__b10102131516412">-m,--jobmanager <host:port></strong>: Specifies the JobManager.</p>
|
|
<p id="mrs_01_0598__p9666040101211"><strong id="mrs_01_0598__b394552511418">-p,--parallelism <parallelism></strong>: Specifies the job DOP, which will overwrite the DOP parameter in the configuration file.</p>
|
|
<p id="mrs_01_0598__p1666617401121"><strong id="mrs_01_0598__b104411667359">-q,--sysoutLogging</strong>: Disables the function of outputting Flink logs to the console.</p>
|
|
<p id="mrs_01_0598__p4666164041210"><strong id="mrs_01_0598__b825112462519">-s,--fromSavepoint <savepointPath></strong>: Specifies a savepoint path for recovering jobs.</p>
|
|
<p id="mrs_01_0598__p14666154051215"><strong id="mrs_01_0598__b15331164062">-z,--zookeeperNamespace <zookeeperNamespace></strong>: specifies the namespace of ZooKeeper.</p>
|
|
<p id="mrs_01_0598__p6804183315571"><strong id="mrs_01_0598__b162821257133120">-yat,--yarnapplicationType <arg></strong>: Defines the Yarn application type.</p>
|
|
<p id="mrs_01_0598__p666624031220"><strong id="mrs_01_0598__b199239868">-yD <arg></strong>: Dynamic parameter configuration.</p>
|
|
<p id="mrs_01_0598__p36666403129"><strong id="mrs_01_0598__b105673178611">-yd,--yarndetached</strong>: Starts Yarn in the detached mode.</p>
|
|
<p id="mrs_01_0598__p20452144655712"><strong id="mrs_01_0598__b1014713242327">-yh,--yarnhelp</strong>: Obtains the Yarn help.</p>
|
|
<p id="mrs_01_0598__p2666140151214"><strong id="mrs_01_0598__b1269322510612">-yid,--yarnapplicationId <arg></strong>: Binds a job to a Yarn session.</p>
|
|
<p id="mrs_01_0598__p11666134091215"><strong id="mrs_01_0598__b1551692976">-yj,--yarnjar <arg></strong>: Sets the path to Flink jar file.</p>
|
|
<p id="mrs_01_0598__p12666240121218"><strong id="mrs_01_0598__b793613916717">-yjm,--yarnjobManagerMemory <arg></strong>: Sets the JobManager memory (MB).</p>
|
|
<p id="mrs_01_0598__p0666134071220"><strong id="mrs_01_0598__b789910441083">-ynm,--yarnname <arg></strong>: Customizes a name for the application on Yarn.</p>
|
|
<p id="mrs_01_0598__p166604012125"><strong id="mrs_01_0598__b14581981699">-yq,--yarnquery</strong>: Queries available Yarn resources (memory and CPUs).</p>
|
|
<p id="mrs_01_0598__p26661240121211"><strong id="mrs_01_0598__b1577514304912">-yqu,--yarnqueue <arg></strong>: Specifies a Yarn queue.</p>
|
|
<p id="mrs_01_0598__p86669405127"><strong id="mrs_01_0598__b115125372092">-ys,--yarnslots</strong>: Sets the number of slots for each TaskManager.</p>
|
|
<p id="mrs_01_0598__p26665407124"><strong id="mrs_01_0598__b47703425912">-yt,--yarnship <arg></strong>: Specifies the path of the file to be sent.</p>
|
|
<p id="mrs_01_0598__p966624015128"><strong id="mrs_01_0598__b145396521093">-ytm,--yarntaskManagerMemory <arg></strong>: Sets the TaskManager memory (MB).</p>
|
|
<p id="mrs_01_0598__p7666154041216"><strong id="mrs_01_0598__b89278651014">-yz,--yarnzookeeperNamespace <arg></strong>: Specifies the namespace of ZooKeeper. The value must be the same as the value of <strong id="mrs_01_0598__b393313612108">yarn-session.sh -z</strong>.</p>
|
|
<p id="mrs_01_0598__p8666134011217"><strong id="mrs_01_0598__b15477201516106">-h</strong>: Gets help information.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.83268326832683%" headers="mcps1.3.3.4.2.1.2.4.1.3 "><p id="mrs_01_0598__p20666144013122">Submit a Flink job.</p>
|
|
<p id="mrs_01_0598__p6666164041220">1. The <strong id="mrs_01_0598__b397143218101">-y*</strong> parameter is used in the <strong id="mrs_01_0598__b1997653213102">yarn-cluster</strong> mode.</p>
|
|
<p id="mrs_01_0598__p866617403121">2. If the parameter is not <strong id="mrs_01_0598__b1415816393107">-y*</strong>, you need to run the <strong id="mrs_01_0598__b11633391108">yarn-session</strong> command to start the Flink cluster before running this command to submit a task.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0598__row196662400129"><td class="cellrowborder" valign="top" width="17.491749174917494%" headers="mcps1.3.3.4.2.1.2.4.1.1 "><p id="mrs_01_0598__p146666406129">flink info</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.67556755675567%" headers="mcps1.3.3.4.2.1.2.4.1.2 "><p id="mrs_01_0598__p166661040141215"><strong id="mrs_01_0598__b1040117371120">-c,--class <classname></strong>: Specifies a class as the entry for running programs.</p>
|
|
<p id="mrs_01_0598__p6666194051216"><strong id="mrs_01_0598__b14309413122">-p,--parallelism <parallelism></strong>: Specifies the DOP for running programs.</p>
|
|
<p id="mrs_01_0598__p1766615404129"><strong id="mrs_01_0598__b11756143413124">-h</strong>: Gets help information.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.83268326832683%" headers="mcps1.3.3.4.2.1.2.4.1.3 "><p id="mrs_01_0598__p15666940161210">Display the execution plan (JSON) of the running program.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0598__row1966620404121"><td class="cellrowborder" valign="top" width="17.491749174917494%" headers="mcps1.3.3.4.2.1.2.4.1.1 "><p id="mrs_01_0598__p26661440181210">flink list</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.67556755675567%" headers="mcps1.3.3.4.2.1.2.4.1.2 "><p id="mrs_01_0598__p2080113346583"><strong id="mrs_01_0598__b92269983312">-a,--all</strong>: displays all jobs.</p>
|
|
<p id="mrs_01_0598__p1666704016124"><strong id="mrs_01_0598__b1352095013132">-m,--jobmanager <host:port></strong>: specifies the JobManager.</p>
|
|
<p id="mrs_01_0598__p1966716406124"><strong id="mrs_01_0598__b1779253101316">-r,--running:</strong> displays only jobs in the running state.</p>
|
|
<p id="mrs_01_0598__p1066718409128"><strong id="mrs_01_0598__b18801101411145">-s,--scheduled</strong>: displays only jobs in the scheduled state.</p>
|
|
<p id="mrs_01_0598__p7667104031218"><strong id="mrs_01_0598__b17214102418140">-z,--zookeeperNamespace <zookeeperNamespace></strong>: specifies the namespace of ZooKeeper.</p>
|
|
<p id="mrs_01_0598__p8667840141220"><strong id="mrs_01_0598__b122551828131414">-yid,--yarnapplicationId <arg></strong>: binds a job to a Yarn session.</p>
|
|
<p id="mrs_01_0598__p76671940201213"><strong id="mrs_01_0598__b553016338147">-h</strong>: gets help information.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.83268326832683%" headers="mcps1.3.3.4.2.1.2.4.1.3 "><p id="mrs_01_0598__p1066710408129">Query running programs in the cluster.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0598__row196671040171216"><td class="cellrowborder" valign="top" width="17.491749174917494%" headers="mcps1.3.3.4.2.1.2.4.1.1 "><p id="mrs_01_0598__p76674408126">flink stop</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.67556755675567%" headers="mcps1.3.3.4.2.1.2.4.1.2 "><p id="mrs_01_0598__p19051445144410"><strong id="mrs_01_0598__b184181037163311">-d,--drain</strong>: sends MAX_WATERMARK before the savepoint is triggered and the job is stopped.</p>
|
|
<p id="mrs_01_0598__p1216545415462"><strong id="mrs_01_0598__b430663912387">-p,--savepointPath <savepointPath></strong>: path for storing savepoints. The default value is <strong id="mrs_01_0598__b101307491385">state.savepoints.dir</strong>.</p>
|
|
<p id="mrs_01_0598__p206671040131217"><strong id="mrs_01_0598__b6201053161410">-m,--jobmanager <host:port></strong>: specifies the JobManager.</p>
|
|
<p id="mrs_01_0598__p066724011128"><strong id="mrs_01_0598__b107333547147">-z,--zookeeperNamespace <zookeeperNamespace></strong>: specifies the namespace of ZooKeeper.</p>
|
|
<p id="mrs_01_0598__p366710405126"><strong id="mrs_01_0598__b04855564142">-yid,--yarnapplicationId <arg></strong>: binds a job to a Yarn session.</p>
|
|
<p id="mrs_01_0598__p1766713402129"><strong id="mrs_01_0598__b1115010313155">-h</strong>: gets help information.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.83268326832683%" headers="mcps1.3.3.4.2.1.2.4.1.3 "><p id="mrs_01_0598__p6310236191215">Forcibly stop a running job (only streaming jobs are supported. <strong id="mrs_01_0598__b16728105819266">StoppableFunction</strong> needs to be implemented on the source side in service code).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0598__row20667144020128"><td class="cellrowborder" valign="top" width="17.491749174917494%" headers="mcps1.3.3.4.2.1.2.4.1.1 "><p id="mrs_01_0598__p66671140171214">flink cancel</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.67556755675567%" headers="mcps1.3.3.4.2.1.2.4.1.2 "><p id="mrs_01_0598__p176671640161210"><strong id="mrs_01_0598__b81777145270">-m,--jobmanager <host:port></strong>: specifies the JobManager.</p>
|
|
<p id="mrs_01_0598__p3667204017121"><strong id="mrs_01_0598__b1535616172273">-s,--withSavepoint <targetDirectory></strong>: triggers a savepoint when a job is canceled. The default directory is <strong id="mrs_01_0598__b03579176276">state.savepoints.dir</strong>.</p>
|
|
<p id="mrs_01_0598__p14667040201212"><strong id="mrs_01_0598__b1334375082718">-z,--zookeeperNamespace <zookeeperNamespace></strong>: specifies the namespace of ZooKeeper.</p>
|
|
<p id="mrs_01_0598__p466717409125"><strong id="mrs_01_0598__b5944195118273">-yid,--yarnapplicationId <arg></strong>: binds a job to a Yarn session.</p>
|
|
<p id="mrs_01_0598__p266714019127"><strong id="mrs_01_0598__b1756185482716">-h</strong>: gets help information.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.83268326832683%" headers="mcps1.3.3.4.2.1.2.4.1.3 "><p id="mrs_01_0598__p14667174010127">Cancel a running job.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0598__row2667340161211"><td class="cellrowborder" valign="top" width="17.491749174917494%" headers="mcps1.3.3.4.2.1.2.4.1.1 "><p id="mrs_01_0598__p36673402126">flink savepoint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.67556755675567%" headers="mcps1.3.3.4.2.1.2.4.1.2 "><p id="mrs_01_0598__p1466719406125"><strong id="mrs_01_0598__b967725832718">-d,--dispose <arg></strong>: specifies a directory for storing the savepoint.</p>
|
|
<p id="mrs_01_0598__p116677406121"><strong id="mrs_01_0598__b283514158287">-m,--jobmanager <host:port></strong>: specifies the JobManager.</p>
|
|
<p id="mrs_01_0598__p76673402128"><strong id="mrs_01_0598__b204111217132814">-z,--zookeeperNamespace <zookeeperNamespace></strong>: specifies the namespace of ZooKeeper.</p>
|
|
<p id="mrs_01_0598__p206678404125"><strong id="mrs_01_0598__b16438319112810">-yid,--yarnapplicationId <arg></strong>: binds a job to a Yarn session.</p>
|
|
<p id="mrs_01_0598__p1667114012124"><strong id="mrs_01_0598__b96282162814">-h</strong>: gets help information.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.83268326832683%" headers="mcps1.3.3.4.2.1.2.4.1.3 "><p id="mrs_01_0598__p26671340111212">Trigger a savepoint.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0598__row196671440191210"><td class="cellrowborder" valign="top" width="17.491749174917494%" headers="mcps1.3.3.4.2.1.2.4.1.1 "><p id="mrs_01_0598__p1966894016124"><strong id="mrs_01_0598__b13376624162817">source</strong> <em id="mrs_01_0598__i18377172411288">Client installation directory</em><strong id="mrs_01_0598__b14377172482814">/bigdata_env</strong></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.67556755675567%" headers="mcps1.3.3.4.2.1.2.4.1.2 "><p id="mrs_01_0598__p19668124071210">None</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.83268326832683%" headers="mcps1.3.3.4.2.1.2.4.1.3 "><p id="mrs_01_0598__p106686404129">Import client environment variables.</p>
|
|
<p id="mrs_01_0598__p866810404126">Restriction: If the user uses a custom script (for example, <strong id="mrs_01_0598__b8954123417289">A.sh</strong>) and runs this command in the script, variables cannot be imported to the <strong id="mrs_01_0598__b3959534192820">A.sh</strong> script. If variables need to be imported to the custom script <strong id="mrs_01_0598__b6187713298">A.sh</strong>, the user needs to use the secondary calling method.</p>
|
|
<p id="mrs_01_0598__p15668840141212">For example, first call the <strong id="mrs_01_0598__b1696414020296">B.sh</strong> script in the <strong id="mrs_01_0598__b796912408297">A.sh</strong> script, and then run this command in the <strong id="mrs_01_0598__b119701840202919">B.sh</strong> script. Parameters can be imported to the <strong id="mrs_01_0598__b98081343014">A.sh</strong> script but cannot be imported to the <strong id="mrs_01_0598__b18131634306">B.sh</strong> script.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0598__row1682194612319"><td class="cellrowborder" valign="top" width="17.491749174917494%" headers="mcps1.3.3.4.2.1.2.4.1.1 "><p id="mrs_01_0598__p13624041424">start-scala-shell.sh</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.67556755675567%" headers="mcps1.3.3.4.2.1.2.4.1.2 "><p id="mrs_01_0598__p56251441822">local | remote <host> <port> | yarn: running mode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.83268326832683%" headers="mcps1.3.3.4.2.1.2.4.1.3 "><p id="mrs_01_0598__p1262510414211">Start the scala shell.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0598__row996022135716"><td class="cellrowborder" valign="top" width="17.491749174917494%" headers="mcps1.3.3.4.2.1.2.4.1.1 "><p id="mrs_01_0598__p59601821185711">sh generate_keystore.sh</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.67556755675567%" headers="mcps1.3.3.4.2.1.2.4.1.2 "><p id="mrs_01_0598__p996012114576">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.83268326832683%" headers="mcps1.3.3.4.2.1.2.4.1.3 "><p id="mrs_01_0598__p796018218571">Run the <strong id="mrs_01_0598__b1413611359206">generate_keystore.sh</strong> script to generate security cookie, <strong id="mrs_01_0598__b18140113518207">flink.keystore</strong>, and <strong id="mrs_01_0598__b1414013512016">flink.truststore</strong>. You need to enter a user-defined password that does not contain number signs (#).</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</p></li></ol>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_0591.html">Using Flink</a></div>
|
|
</div>
|
|
</div>
|
|
|