forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Yang, Tong <yangtong2@huawei.com> Co-committed-by: Yang, Tong <yangtong2@huawei.com>
106 lines
18 KiB
HTML
106 lines
18 KiB
HTML
<a name="ALM-45648"></a><a name="ALM-45648"></a>
|
|
|
|
<h1 class="topictitle1">ALM-45648 RocksDB Frequently Encounters Write-Stopped</h1>
|
|
<div id="body0000001971781042"><p id="ALM-45648__p12261122253615">This section applies to MRS 3.3.0 or later.</p>
|
|
<div class="section" id="ALM-45648__section663215"><h4 class="sectiontitle"><span id="ALM-45648__text516373020197">Alarm Description</span></h4><p id="ALM-45648__p66405588">The system checks the RocksDB monitoring data of jobs at the user-specified alarm reporting interval (<strong id="ALM-45648__b1191141217527">metrics.reporter.alarm.job.alarm.rocksdb.metrics.duration</strong>, 180s by default). This alarm is generated when RocksDB for a job continuously encounters the <strong id="ALM-45648__b197256716589">is-write-stopped</strong> state. This alarm is cleared when RocksDB for the job no longer or does not continuously encounter the <strong id="ALM-45648__b24431210125917">is-write-stopped</strong> state within an alarm reporting interval.</p>
|
|
</div>
|
|
<div class="section" id="ALM-45648__section5968939"><h4 class="sectiontitle"><span id="ALM-45648__text20591447192117">Alarm Attributes</span></h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ALM-45648__table10143581" frame="border" border="1" rules="all"><thead align="left"><tr id="ALM-45648__row61411666"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.3.2.1.4.1.1"><p id="ALM-45648__p17386810"><span id="ALM-45648__text1864783145211">Alarm ID</span></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.3.2.1.4.1.2"><p id="ALM-45648__p66154394"><span id="ALM-45648__text297913110521">Alarm Severity</span></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.3.2.1.4.1.3"><p id="ALM-45648__p49230886"><span id="ALM-45648__text0890175712305">Auto Cleared</span></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ALM-45648__row49774232"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.1.4.1.1 "><p id="ALM-45648__p5180964">45648</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.1.4.1.2 "><p id="ALM-45648__p17004965">Minor</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.1.4.1.3 "><p id="ALM-45648__p35224963">Yes</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ALM-45648__section53720453"><h4 class="sectiontitle"><span id="ALM-45648__text18171442142214">Alarm Parameters</span></h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ALM-45648__table34649765" frame="border" border="1" rules="all"><thead align="left"><tr id="ALM-45648__row18974100"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.2.1.3.1.1"><p id="ALM-45648__p42699947"><span id="ALM-45648__text6203173410617">Parameter</span></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.2.1.3.1.2"><p id="ALM-45648__p36143663"><span id="ALM-45648__text10819164319610">Description</span></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ALM-45648__row16272251424"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.1.3.1.1 "><p id="ALM-45648__p9447153994219">Source</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.1.3.1.2 "><p id="ALM-45648__p144723994214">Specifies the cluster for which the alarm is generated.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ALM-45648__row38292076"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.1.3.1.1 "><p id="ALM-45648__p164471639194216">ServiceName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.1.3.1.2 "><p id="ALM-45648__p44471639174211">Specifies the service for which the alarm is generated.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ALM-45648__row73049270124"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.1.3.1.1 "><p id="ALM-45648__p24471539104219">ApplicationName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.1.3.1.2 "><p id="ALM-45648__p1944763954213">Specifies the name of the application for which the alarm is generated.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ALM-45648__row9875225"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.1.3.1.1 "><p id="ALM-45648__p1244715394427">RoleName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.1.3.1.2 "><p id="ALM-45648__p44471439144216">Specifies the role for which the alarm is generated.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ALM-45648__row13243689"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.1.3.1.1 "><p id="ALM-45648__p1244716397426">JobName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.1.3.1.2 "><p id="ALM-45648__p244713917425">Specifies the job for which the alarm is generated.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ALM-45648__section13722030"><h4 class="sectiontitle"><span id="ALM-45648__text98201443182317">Impact on the System</span></h4><p id="ALM-45648__p25040094">This alarm has no adverse impact on the system.</p>
|
|
</div>
|
|
<div class="section" id="ALM-45648__section56389407"><h4 class="sectiontitle"><span id="ALM-45648__text11871546172411">Possible Causes</span></h4><p id="ALM-45648__p7752554122019">The possible causes are as follows:</p>
|
|
<ul id="ALM-45648__ul1816817518482"><li id="ALM-45648__li03464315214">There are too many MemTables and <strong id="ALM-45648__b1166512166217">ALM-45643 MemTable Size of RocksDB Continuously Exceeds the Threshold</strong> is generated.</li></ul>
|
|
<ul id="ALM-45648__ul1640115247276"><li id="ALM-45648__li0346103202112">There are too many SST files at level 0, and <strong id="ALM-45648__b13396716142816">ALM-45644 Number of SST Files at Level 0 of RocksDB Continuously Exceeds the Threshold</strong> is generated.</li></ul>
|
|
<ul id="ALM-45648__ul173461931217"><li id="ALM-45648__li568035014247">The estimated compaction size exceeds the threshold, and <strong id="ALM-45648__b11578153920284">ALM-45647 Estimated Pending Compaction Size of RocksDB Continuously Exceeds the Threshold</strong> is generated.</li></ul>
|
|
</div>
|
|
<div class="section" id="ALM-45648__section178029519112"><h4 class="sectiontitle"><span id="ALM-45648__text79051154102518">Handling Procedure</span></h4><p id="ALM-45648__p69711949311"><strong id="ALM-45648__b99251346172817">Check whether there are too many MemTables.</strong></p>
|
|
<ol id="ALM-45648__ol18675924916"><li id="ALM-45648__li19823113101810"><span>On FusionInsight Manager, choose <strong id="ALM-45648__b118575114284">O&M</strong> > <strong id="ALM-45648__b5186205142819">Alarm</strong> > <strong id="ALM-45648__b161867514282">Alarms</strong>.</span></li><li id="ALM-45648__li1282393131814"><span>In the alarm list, check whether <strong id="ALM-45648__b1714813481821">ALM-45643 MemTable Size of RocksDB Continuously Exceeds the Threshold</strong> exists.</span><p><ul id="ALM-45648__ul3823173118186"><li id="ALM-45648__li6823183117187">If yes, go to <a href="#ALM-45648__li6823133191818">3</a>.</li><li id="ALM-45648__li28231314187">If no, go to <a href="#ALM-45648__li88241531181819">5</a>.</li></ul>
|
|
</p></li><li id="ALM-45648__li6823133191818"><a name="ALM-45648__li6823133191818"></a><a name="li6823133191818"></a><span>Handle the alarm by following the instructions provided in section <strong id="ALM-45648__b64623527220">ALM-45643 MemTable Size of RocksDB Continuously Exceeds the Threshold</strong>.</span></li><li id="ALM-45648__li96789204920"><span>After ALM-45643 is cleared, wait a few minutes and check whether this alarm is cleared.</span><p><ul id="ALM-45648__ul186711915496"><li id="ALM-45648__li78239313180">If yes, no further action is required.</li><li id="ALM-45648__li1267991497">If no, go to <a href="#ALM-45648__li88241531181819">5</a>.</li></ul>
|
|
</p></li></ol>
|
|
<p class="tableheading" id="ALM-45648__p135760113337"><strong id="ALM-45648__b649591618297">Check whether the number of SST files at level 0 is too large.</strong></p>
|
|
<ol start="5" id="ALM-45648__ol982443111184"><li id="ALM-45648__li88241531181819"><a name="ALM-45648__li88241531181819"></a><a name="li88241531181819"></a><span>On FusionInsight Manager, choose <strong id="ALM-45648__b14418172562910">O&M</strong> > <strong id="ALM-45648__b164181925202911">Alarm</strong> > <strong id="ALM-45648__b7418142532911">Alarms</strong>.</span></li><li id="ALM-45648__li19824331181813"><span>In the alarm list, check whether <strong id="ALM-45648__b46842571428">ALM-45644 Number of SST Files at Level 0 of RocksDB Continuously Exceeds the Threshold</strong> exists.</span><p><ul id="ALM-45648__ul1824231121813"><li id="ALM-45648__li138241531191813">If yes, go to <a href="#ALM-45648__li1982483112189">7</a>.</li><li id="ALM-45648__li882419316180">If no, go to <a href="#ALM-45648__li1485215516483">9</a>.</li></ul>
|
|
</p></li><li id="ALM-45648__li1982483112189"><a name="ALM-45648__li1982483112189"></a><a name="li1982483112189"></a><span>Handle the alarm by following the instructions provided in section <strong id="ALM-45648__b7539112831">ALM-45644 Number of SST Files at Level 0 of RocksDB Continuously Exceeds the Threshold</strong>.</span></li><li id="ALM-45648__li1382415317188"><span>After ALM-45644 is cleared, wait a few minutes and check whether this alarm is cleared.</span><p><ul id="ALM-45648__ul172191622161214"><li id="ALM-45648__li8219122211121">If yes, no further action is required.</li><li id="ALM-45648__li3219922111211">If no, go to <a href="#ALM-45648__li1485215516483">9</a>.</li></ul>
|
|
</p></li></ol>
|
|
<p id="ALM-45648__p3916636204711"><strong id="ALM-45648__b14591533124717">Check whether the estimated compaction size exceeds the threshold.</strong></p>
|
|
<ol start="9" id="ALM-45648__ol1929554484711"><li id="ALM-45648__li1485215516483"><a name="ALM-45648__li1485215516483"></a><a name="li1485215516483"></a><span>In the alarm list, check whether <strong id="ALM-45648__b61861875310">ALM-45647 Estimated Pending Compaction Size of RocksDB Continuously Exceeds the Threshold</strong> exists.</span><p><ul id="ALM-45648__ul188529516481"><li id="ALM-45648__li158521854484">If yes, go to <a href="#ALM-45648__li1285312554818">10</a>.</li><li id="ALM-45648__li4853759485">If no, go to <a href="#ALM-45648__li933911492419">12</a>.</li></ul>
|
|
</p></li><li id="ALM-45648__li1285312554818"><a name="ALM-45648__li1285312554818"></a><a name="li1285312554818"></a><span>Handle the alarm by following the instructions provided in section <strong id="ALM-45648__b83756110312">ALM-45647 Estimated Pending Compaction Size of RocksDB Continuously Exceeds the Threshold</strong>.</span></li><li id="ALM-45648__li1585311516489"><span>After ALM-45647 is cleared, wait a few minutes and check whether this alarm is cleared.</span><p><ul id="ALM-45648__ul1560851651215"><li id="ALM-45648__li260821611124">If yes, no further action is required.</li><li id="ALM-45648__li176081216161213">If no, go to <a href="#ALM-45648__li933911492419">12</a>.</li></ul>
|
|
</p></li></ol>
|
|
<p id="ALM-45648__p17751320141817"><strong id="ALM-45648__b15792414163013">Collect fault information.</strong></p>
|
|
<ol start="12" id="ALM-45648__ol13395412418"><li id="ALM-45648__li933911492419"><a name="ALM-45648__li933911492419"></a><a name="li933911492419"></a><span>Log in to Manager as a user who has the management permission for the current Flink job.</span></li><li id="ALM-45648__li143241423112412"><span>Choose <strong id="ALM-45648__b99162016323">O&M</strong> > <strong id="ALM-45648__b139171307329">Alarm</strong> > <strong id="ALM-45648__b15917201325">Alarms</strong> > <strong id="ALM-45648__b99184020327">ALM-45648 RocksDB Frequently Encounters Write-Stopped</strong>, view <strong id="ALM-45648__b8918809326">Location</strong>, and obtain the name of the task for which the alarm is generated.</span></li><li id="ALM-45648__li113392416241"><span>Choose <strong id="ALM-45648__b280619135613">Cluster</strong> > <strong id="ALM-45648__b280611185611">Services</strong> > <strong id="ALM-45648__b88061516562">Yarn</strong> and click the link next to <strong id="ALM-45648__b18061119563">ResourceManager WebUI</strong> to go to the native Yarn page.</span></li></ol><ol start="15" id="ALM-45648__ol204835294814"><li id="ALM-45648__li174855264820"><span>Locate the abnormal task based on its name displayed in <strong id="ALM-45648__b12587123713214">Location</strong>, search for and record the application ID of the job, and check whether the job logs are available on the Yarn page.</span><p><div class="fignone" id="ALM-45648__en-us_topic_0000001445372489_fig1390461517192"><span class="figcap"><b>Figure 1 </b>Application ID of a job</span><br><span><img id="ALM-45648__image1972081117566" src="en-us_image_0000002008248585.png"></span></div>
|
|
<ul id="ALM-45648__ul199575810383"><li id="ALM-45648__li1695718883817">If yes, go to <a href="#ALM-45648__li14941184217233">16</a>.</li><li id="ALM-45648__li79571689388">If no, go to <a href="#ALM-45648__li14745201684913">18</a>.</li></ul>
|
|
</p></li><li id="ALM-45648__li14941184217233"><a name="ALM-45648__li14941184217233"></a><a name="li14941184217233"></a><span>Click the application ID of the failed job to go to the job page.</span><p><ol type="a" id="ALM-45648__en-us_topic_0000001445372489_ol18905161513191"><li id="ALM-45648__en-us_topic_0000001445372489_li090431510192">Click <strong id="ALM-45648__b13188111453310">Logs</strong> in the <strong id="ALM-45648__b1218815147332">Logs</strong> column to view JobManager logs.<div class="fignone" id="ALM-45648__en-us_topic_0000001445372489_fig0904115131915"><span class="figcap"><b>Figure 2 </b>Clicking Logs</span><br><span><img id="ALM-45648__en-us_topic_0000001445372489_image290471501913" src="en-us_image_0000001971648826.png"></span></div>
|
|
</li><li id="ALM-45648__en-us_topic_0000001445372489_li232434015269">Click the ID in the <strong id="ALM-45648__b1437272116331">Attempt ID</strong> column and click <strong id="ALM-45648__b33731121183317">Logs</strong> in the <strong id="ALM-45648__b4374112193320">Logs</strong> column to view and save TaskManager logs.<div class="fignone" id="ALM-45648__en-us_topic_0000001445372489_fig16904101571920"><span class="figcap"><b>Figure 3 </b>Clicking the ID in the Attempt ID column</span><br><span><img id="ALM-45648__en-us_topic_0000001445372489_image1890411511199" src="en-us_image_0000002008129141.png"></span></div>
|
|
<div class="fignone" id="ALM-45648__en-us_topic_0000001445372489_fig67971748144610"><span class="figcap"><b>Figure 4 </b>Clicking Logs</span><br><span><img id="ALM-45648__en-us_topic_0000001445372489_image1620681118112" src="en-us_image_0000001971808590.png"></span></div>
|
|
<div class="note" id="ALM-45648__en-us_topic_0000001445372489_note126111528152718"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="ALM-45648__en-us_topic_0000001445372489_p14611162814277">You can also log in to Manager as a user who has the management permission for the current Flink job. Choose <strong id="ALM-45648__b982419378337">Cluster</strong> > <strong id="ALM-45648__b9825143713330">Services</strong> > <strong id="ALM-45648__b15826173713318">Flink</strong>, and click the link next to <strong id="ALM-45648__b78273371334">Flink WebUI</strong>. On the displayed Flink web UI, click <strong id="ALM-45648__b482853793316">Job Management</strong>, click <strong id="ALM-45648__b48294374339">More</strong> in the <strong id="ALM-45648__b1683043763310">Operation</strong> column, and select <strong id="ALM-45648__b1983115374330">Job Monitoring</strong> to view TaskManager logs.</p>
|
|
</div></div>
|
|
</li></ol>
|
|
</p></li><li id="ALM-45648__li11493522482"><span>View the job logs to rectify the fault, or contact the <span id="ALM-45648__text14512141311346">O&M personnel</span> and send the collected fault logs. No further action is required.</span></li></ol>
|
|
<p class="tableheading" id="ALM-45648__p2013834616512"><strong id="ALM-45648__b53416306344">If logs are unavailable on the Yarn page, download logs from HDFS.</strong></p>
|
|
<ol start="18" id="ALM-45648__ol1113818461352"><li id="ALM-45648__li14745201684913"><a name="ALM-45648__li14745201684913"></a><a name="li14745201684913"></a><span>On Manager, choose <strong id="ALM-45648__b154861539103417">Cluster</strong> > <strong id="ALM-45648__b648763943410">Services</strong> > <strong id="ALM-45648__b194881739133420">HDFS</strong>, click the link next to <strong id="ALM-45648__b248973953417">NameNode WebUI</strong> to go to the HDFS page, choose <strong id="ALM-45648__b15489143920341">Utilities</strong> > <strong id="ALM-45648__b6490123912342">Browse the file system</strong>, and download logs in the <strong id="ALM-45648__b24916393341">/tmp/logs/</strong><em id="ALM-45648__i4491183983411">Username</em><strong id="ALM-45648__b1549293933413">/bucket-logs-tfile/</strong><em id="ALM-45648__i0493153914344">Last four digits of the task application ID/Application ID of the task</em> directory.</span></li><li id="ALM-45648__li374571614920"><span>View the logs of the failed job to rectify the fault, or contact the <span id="ALM-45648__text17906124117343">O&M personnel</span> and send the collected fault logs.</span></li></ol>
|
|
</div>
|
|
<div class="section" id="ALM-45648__section169311343318"><h4 class="sectiontitle"><span id="ALM-45648__text195945622616">Alarm Clearance</span></h4><p id="ALM-45648__p754913417333">This alarm is automatically cleared after the fault is rectified.</p>
|
|
</div>
|
|
<div class="section" id="ALM-45648__section4139237"><h4 class="sectiontitle"><span id="ALM-45648__text143698488285">Related Information</span></h4><p id="ALM-45648__p33559471"><span id="ALM-45648__text19275105817121">None.</span></p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_1298.html">Alarm Reference (Applicable to MRS 3.x)</a></div>
|
|
</div>
|
|
</div>
|
|
|