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>
18 lines
3.7 KiB
HTML
18 lines
3.7 KiB
HTML
<a name="mrs_01_0973"></a><a name="mrs_01_0973"></a>
|
|
|
|
<h1 class="topictitle1">Restricting the Maximum Number of Maps for Hive Tasks</h1>
|
|
<div id="body1590395285096"><div class="section" id="mrs_01_0973__section1971814572430"><h4 class="sectiontitle">Scenario</h4><ul id="mrs_01_0973__ul8539153623612"><li id="mrs_01_0973__li053916367364">This function applies to Hive.</li><li id="mrs_01_0973__li125397366362">This function is used to limit the maximum number of maps for Hive tasks on the server to avoid performance deterioration caused by overload of the HiveSever service.</li></ul>
|
|
</div>
|
|
<div class="section" id="mrs_01_0973__section3720957144315"><h4 class="sectiontitle">Procedure</h4><ol id="mrs_01_0973__ol181811550174911"><li id="mrs_01_0973__li13806122116487"><span>The Hive service configuration page is displayed.</span><p><ul id="mrs_01_0973__ul1692910323486"><li id="mrs_01_0973__li792916322486">For versions earlier than MRS 1.9.2, log in to MRS Manager, choose <strong id="mrs_01_0973__b23513501429">Services</strong> > <strong id="mrs_01_0973__b8352145017420">Hive</strong> > <strong id="mrs_01_0973__b18352350184211">Service Configuration</strong>, and select <strong id="mrs_01_0973__b163523505425">All</strong> from the <strong id="mrs_01_0973__b17353850194214">Basic</strong> drop-down list.</li><li id="mrs_01_0973__li979413816488">For MRS 1.9.2 or later, click the cluster name on the MRS console, choose <strong id="mrs_01_0973__b1969196773">Components</strong> > <strong id="mrs_01_0973__b5691166276">Hive</strong> > <strong id="mrs_01_0973__b136911064713">Service Configuration</strong>, and select <strong id="mrs_01_0973__b36911262713">All</strong> from the <strong id="mrs_01_0973__b15692562717">Basic</strong> drop-down list.<div class="note" id="mrs_01_0973__note73070488542"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="mrs_01_0973__p672713531414">If the <strong id="mrs_01_0973__b164156531597">Components</strong> tab is unavailable, complete IAM user synchronization first. (On the <strong id="mrs_01_0973__b104151353145911">Dashboard</strong> page, click <strong id="mrs_01_0973__b14416175355915">Synchronize</strong> on the right side of <span class="parmname" id="mrs_01_0973__parmname16416165311596"><b>IAM User Sync</b></span> to synchronize IAM users.)</p>
|
|
</div></div>
|
|
</li><li id="mrs_01_0973__li1675864017574">For MRS 3.<em id="mrs_01_0973__i45051585716">x</em> or later, log in to FusionInsight Manager. For details, see <a href="mrs_01_2124.html">Accessing FusionInsight Manager (MRS 3.x or Later)</a>. And choose <strong id="mrs_01_0973__b9924191472">Cluster</strong> > <em id="mrs_01_0973__i6924129978">Name of the desired cluster</em> > <strong id="mrs_01_0973__b99241791273">Services</strong> > <strong id="mrs_01_0973__b292539573">Hive</strong> > <strong id="mrs_01_0973__b2925149870">Configurations</strong> > <strong id="mrs_01_0973__b492511910719">All Configurations</strong>.</li></ul>
|
|
</p></li><li id="mrs_01_0973__li540112614154"><span>Choose <strong id="mrs_01_0973__b1611611221820">MetaStore(Role)</strong> > <strong id="mrs_01_0973__b15116122180">Customization</strong>, add a customized parameter to the <strong id="mrs_01_0973__b2011742101816">hivemetastore-site.xml</strong> parameter file, set <strong id="mrs_01_0973__b1511732111817">Name</strong> to <strong id="mrs_01_0973__b81179214184">hive.mapreduce.per.task.max.splits</strong>, and set the parameter to a large value. Restart all Hive instances after the modification.</span></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_0581.html">Using Hive</a></div>
|
|
</div>
|
|
</div>
|
|
|