doc-exports/docs/mrs/umn/ALM-18019.html
Yang, Tong 3b1f73dece MRS UMN 2.0.38.SP20 version
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>
2022-12-13 12:03:34 +00:00

90 lines
12 KiB
HTML

<a name="ALM-18019"></a><a name="ALM-18019"></a>
<h1 class="topictitle1">ALM-18019 Non Heap Memory Usage of JobHistoryServer Exceeds the Threshold</h1>
<div id="body26969711"><div class="section" id="ALM-18019__seb225d11564141158a7dabeddd71c556"><h4 class="sectiontitle">Description</h4><p id="ALM-18019__en-us_topic_0070543517_p2298077">The system checks the Non Heap memory usage of MapReduce JobHistoryServer every 30 seconds and compares the actual usage with the threshold. The alarm is generated when the Non Heap memory usage of MapReduce JobHistoryServer exceeds the threshold (90% of the maximum memory by default).</p>
<p id="ALM-18019__en-us_topic_0070543517_p20682694">Users can choose <strong id="ALM-18019__b936315401884">O&amp;M</strong> &gt; <strong id="ALM-18019__b1930611537119">Alarm</strong> &gt; <strong id="ALM-18019__en-us_topic_0070543517_b64685500"><strong id="ALM-18019__b122075817202">Thresholds</strong> </strong>&gt; <em id="ALM-18019__i1021725095817">Name of the desired cluster</em> &gt; <strong id="ALM-18019__en-us_topic_0070543517_b5034184">MapReduce</strong> to change the threshold.</p>
<p id="ALM-18019__en-us_topic_0070543517_p45307656">The alarm is cleared when the Non Heap memory usage is less than or equal to the threshold.</p>
</div>
<div class="section" id="ALM-18019__s7e4b8dbe87c4490790de1f3e882e6cde"><h4 class="sectiontitle">Attribute</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ALM-18019__en-us_topic_0070543517_table46041549" frame="border" border="1" rules="all"><thead align="left"><tr id="ALM-18019__en-us_topic_0070543517_row5673583"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.1.4.1.1"><p id="ALM-18019__en-us_topic_0070543517_p56907078">Alarm ID</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.1.4.1.2"><p id="ALM-18019__en-us_topic_0070543517_p46070597">Alarm Severity</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.1.4.1.3"><p id="ALM-18019__en-us_topic_0070543517_p40730901">Automatically Cleared</p>
</th>
</tr>
</thead>
<tbody><tr id="ALM-18019__en-us_topic_0070543517_row10868702"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.1.4.1.1 "><p id="ALM-18019__en-us_topic_0070543517_p7949639">18019</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.1.4.1.2 "><p id="ALM-18019__en-us_topic_0070543517_p39940984">Major</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.1.4.1.3 "><p id="ALM-18019__en-us_topic_0070543517_p13994266">Yes</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="ALM-18019__s8be6688d2db64f7f9f6ada714a991a2e"><h4 class="sectiontitle">Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ALM-18019__en-us_topic_0070543517_table59793748" frame="border" border="1" rules="all"><thead align="left"><tr id="ALM-18019__en-us_topic_0070543517_row29516363"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.2.1.3.1.1"><p id="ALM-18019__en-us_topic_0070543517_p42015198">Name</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.2.1.3.1.2"><p id="ALM-18019__en-us_topic_0070543517_p47787886">Meaning</p>
</th>
</tr>
</thead>
<tbody><tr id="ALM-18019__row4205128142115"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-18019__p192431315431">Source</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-18019__p692551319435">Specifies the cluster for which the alarm is generated.</p>
</td>
</tr>
<tr id="ALM-18019__en-us_topic_0070543517_row45613538"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-18019__en-us_topic_0070543517_p3709091">ServiceName</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-18019__en-us_topic_0070543517_p32000920">Specifies the service name for which the alarm is generated.</p>
</td>
</tr>
<tr id="ALM-18019__en-us_topic_0070543517_row19572825"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-18019__en-us_topic_0070543517_p41895032">RoleName</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-18019__en-us_topic_0070543517_p38054464">Specifies the role name for which the alarm is generated.</p>
</td>
</tr>
<tr id="ALM-18019__en-us_topic_0070543517_row6945858"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-18019__en-us_topic_0070543517_p25743641">HostName</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-18019__en-us_topic_0070543517_p4860205">Specifies the object (host ID) for which the alarm is generated.</p>
</td>
</tr>
<tr id="ALM-18019__en-us_topic_0070543517_row43741849"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-18019__en-us_topic_0070543517_p53428882">Trigger Condition</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-18019__en-us_topic_0070543517_p32772220">Specifies the threshold triggering the alarm. If the current indicator value exceeds this threshold, the alarm is generated.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="ALM-18019__s8fcc77d2c6d54afa9088e86dbe0e2526"><h4 class="sectiontitle">Impact on the System</h4><p id="ALM-18019__en-us_topic_0070543517_p37304191">When the Non Heap memory usage of MapReduce JobHistoryServer is overhigh, the performance of MapReduce task submission and operation is affected. In addition, a memory overflow may occur so that the MapReduce service is unavailable.</p>
</div>
<div class="section" id="ALM-18019__s027c5fe58f1f441c8fde5a4c9770df76"><h4 class="sectiontitle">Possible Causes</h4><p id="ALM-18019__en-us_topic_0070543517_p1740610">The Non Heap memory of the MapReduce JobHistoryServer instance on the node is overused or the Non Heap memory is inappropriately allocated. As a result, the usage exceeds the threshold.</p>
</div>
<div class="section" id="ALM-18019__s0a068ad45c974b7f91091d1a01bf2211"><h4 class="sectiontitle">Procedure</h4><p class="tableheading" id="ALM-18019__en-us_topic_0070543517_p6771693"><strong id="ALM-18019__b10196727192221">Check the Non Heap memory usage.</strong></p>
<ol id="ALM-18019__ol18460824192227"><li id="ALM-18019__li26888833192216"><span>On the FusionInsight Manager portal, choose <strong id="ALM-18019__b49194817192216">O&amp;M &gt; Alarm<strong id="ALM-18019__b27872374104950"> &gt; Alarms</strong></strong> &gt; <strong id="ALM-18019__b40100176192216">ALM-18019 Non Heap Memory Usage of MapReduce JobHistoryServer Exceeds the Threshold</strong> &gt; <strong id="ALM-18019__b25357269192216">Location</strong>. Check the HostName of the instance for which the alarm is generated.</span></li><li id="ALM-18019__li23558177192216"><span>On the FusionInsight Manager portal, choose <strong id="ALM-18019__b79103466162">Cluster &gt; </strong><em id="ALM-18019__i1914746151617">Name of the desired cluster</em><strong id="ALM-18019__b7911104616161"> &gt; Services</strong> &gt; <strong id="ALM-18019__b30511866192216">MapReduce</strong> &gt; <strong id="ALM-18019__b6171346192216">Instance</strong> &gt; <strong id="ALM-18019__b55542116192216">JobHistoryServer.</strong> Click the drop-down menu in the upper right corner of <strong id="ALM-18019__b3273144141318">Chart</strong>, choose <strong id="ALM-18019__b7246166191312">Customize</strong> &gt; <strong id="ALM-18019__b2617575192216">JobHistoryServer Non Heap memory usage statistics</strong>. JobHistoryServer indicates the corresponding HostName of the instance for which the alarm is generated. Check the Non Heap memory usage.</span></li><li id="ALM-18019__li18651549192216"><span>Check whether the used Non Heap memory of JobHistoryServer reaches 90% of the maximum Non Heap memory specified for JobHistoryServer.</span><p><ul class="subitemlist" id="ALM-18019__ul54268177192216"><li id="ALM-18019__li29164155192216">If yes, go to <a href="#ALM-18019__li46897838192216">4</a>.</li><li id="ALM-18019__li13486337192216">If no, go to <a href="#ALM-18019__li43891349192216">6</a>.</li></ul>
</p></li><li id="ALM-18019__li46897838192216"><a name="ALM-18019__li46897838192216"></a><a name="li46897838192216"></a><span>On the FusionInsight Manager portal, choose <strong id="ALM-18019__b9641654161617">Cluster &gt; </strong><em id="ALM-18019__i206755421614">Name of the desired cluster</em><strong id="ALM-18019__b18640547167"> &gt; Services</strong> &gt; <strong id="ALM-18019__b34380468192216">MapReduce</strong> &gt; <strong id="ALM-18019__b40988762192216">Configurations</strong> &gt; <strong id="ALM-18019__b33354544192216">All</strong> <strong id="ALM-18019__b14369172916110">Configurations</strong> &gt; <strong id="ALM-18019__b31755448192216">JobHistoryServer</strong> &gt; <strong id="ALM-18019__b17363577192216">System</strong>. Adjust the <strong id="ALM-18019__b1299571719116">GC_OPTS</strong> memory parameter of the NodeManager, click <strong id="ALM-18019__b59951317013">Save</strong>, and click <strong id="ALM-18019__b899514175117">OK,</strong> and restart the role instance.</span><p><div class="note" id="ALM-18019__note72093239110"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="ALM-18019__p444120290115">The mapping between the number of historical tasks (10000) and the memory of the JobHistoryServer is as follows:</p>
<p id="ALM-18019__p1744113291316">-Xms30G -Xmx30G -XX:NewSize=1G -XX:MaxNewSize=2G</p>
</div></div>
</p></li><li id="ALM-18019__li7424692192216"><span>Check whether the alarm is cleared.</span><p><ul class="subitemlist" id="ALM-18019__ul2577176192216"><li id="ALM-18019__li19427362192216">If yes, no further action is required.</li><li id="ALM-18019__li30112514192216">If no, go to <a href="#ALM-18019__li43891349192216">6</a>.</li></ul>
</p></li></ol>
<p class="tableheading" id="ALM-18019__p23194587192216"><strong id="ALM-18019__b49977933192238">Collect fault information.</strong></p>
<ol start="6" id="ALM-18019__ol8770295192243"><li id="ALM-18019__li43891349192216"><a name="ALM-18019__li43891349192216"></a><a name="li43891349192216"></a><span>On the FusionInsight Manager portal, choose <strong id="ALM-18019__b82441011111216">O&amp;M</strong> &gt; <strong id="ALM-18019__b64529140192216">Log &gt; Download</strong>.</span></li><li id="ALM-18019__li30788892192216"><span>Select the following node in the required cluster from the <strong id="ALM-18019__b59477824192216">Service</strong>.</span><p><ul class="subitemlist" id="ALM-18019__ul63073311192216"><li id="ALM-18019__li52974465192216">NodeAgent</li><li id="ALM-18019__li7008145192216">MapReduce</li></ul>
</p></li><li id="ALM-18019__li1145664103113"><span>Click <span><img id="ALM-18019__image1945644173117" src="en-us_image_0269417406.png"></span> in the upper right corner, and set <strong id="ALM-18019__b6456941173117">Start Date</strong> and <strong id="ALM-18019__b11456154113318">End Date</strong> for log collection to 10 minutes ahead of and after the alarm generation time, respectively. Then, click <strong id="ALM-18019__b13456164113319">Download</strong>.</span></li><li id="ALM-18019__li63783248192216"><span>Contact the <span id="ALM-18019__text4614151421417">O&amp;M personnel</span> and send the collected logs.</span></li></ol>
</div>
<div class="section" id="ALM-18019__section1529716184534"><h4 class="sectiontitle">Alarm Clearing</h4><p id="ALM-18019__p4677152685316">After the fault is rectified, the system automatically clears this alarm.</p>
</div>
<div class="section" id="ALM-18019__s2ee391e658474a3bb3528625932f9dd8"><h4 class="sectiontitle">Related Information</h4><p id="ALM-18019__en-us_topic_0070543517_p25172842">None</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>