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>
17 lines
4.4 KiB
HTML
17 lines
4.4 KiB
HTML
<a name="mrs_01_0835"></a><a name="mrs_01_0835"></a>
|
|
|
|
<h1 class="topictitle1">Converting MapReduce from the Single Instance Mode to the HA Mode</h1>
|
|
<div id="body8662426"><div class="section" id="mrs_01_0835__en-us_topic_0000001219149375_section169235553332"><h4 class="sectiontitle">Scenario</h4><p id="mrs_01_0835__en-us_topic_0000001219149375_p8060118">The JobHistoryServer service of MapReduce is a single instance, or the single instance is used to install the MapReduce service during cluster installation. To avoid the MapReduce single point of failure (SPOF) problem, you can enable JobHistoryServer HA to ensure high availability of the MapReduce service.</p>
|
|
</div>
|
|
<div class="section" id="mrs_01_0835__en-us_topic_0000001219149375_section0409636133611"><h4 class="sectiontitle">Impact on the System</h4><ul id="mrs_01_0835__en-us_topic_0000001219149375_ul1455211161518"><li id="mrs_01_0835__en-us_topic_0000001219149375_li1551211171512">Before the conversion, change the MapReduce server parameter <strong id="mrs_01_0835__en-us_topic_0000001219149375_b2311301716">JHS_FLOAT_IP</strong> to an available floating IP address. (The service IP address of the node is used by default in the single instance mode.)</li><li id="mrs_01_0835__en-us_topic_0000001219149375_li9505182131517">During the conversion, component services that depend on MapReduce will expire. In this case, restart the expired component services, such as Yarn, Hive, and HBase.</li><li id="mrs_01_0835__en-us_topic_0000001219149375_li1731613116155">After the conversion, update the configuration file of the Yarn client. If the configuration file is not updated, application task logs on the native Yarn page may fail to be queried.</li></ul>
|
|
</div>
|
|
<div class="section" id="mrs_01_0835__en-us_topic_0000001219149375_section17144448171510"><h4 class="sectiontitle">Procedure</h4><ol id="mrs_01_0835__en-us_topic_0000001219149375_ol1740815045313"><li id="mrs_01_0835__en-us_topic_0000001219149375_li19408170145314"><span>Log in to Manager, choose <strong id="mrs_01_0835__en-us_topic_0000001219149375_b1312318583711">Cluster</strong> > <em id="mrs_01_0835__en-us_topic_0000001219149375_i2131135813712">Name of the desired cluster</em> > <strong id="mrs_01_0835__en-us_topic_0000001219149375_b121331658976">Services</strong> > <strong id="mrs_01_0835__en-us_topic_0000001219149375_b71356589716">MapReduce</strong> > <strong id="mrs_01_0835__en-us_topic_0000001219149375_b013711581776">Configurations</strong> to go to the configuration page of the MapReduce service.</span></li><li id="mrs_01_0835__en-us_topic_0000001219149375_li223325365514"><span>Change the value of <strong id="mrs_01_0835__en-us_topic_0000001219149375_b159037463052656">JHS_FLOAT_IP</strong> to an available floating IP address and click <strong id="mrs_01_0835__en-us_topic_0000001219149375_b80812256852656">Save</strong>. On the displayed dialog box, click <strong id="mrs_01_0835__en-us_topic_0000001219149375_b200635507152656">OK</strong>.</span></li><li id="mrs_01_0835__en-us_topic_0000001219149375_li963913117710"><span>Choose<strong id="mrs_01_0835__en-us_topic_0000001219149375_b721115142714"> Instance</strong> > <strong id="mrs_01_0835__en-us_topic_0000001219149375_b89951127052656">Add Instance</strong>, select a node, and choose <strong id="mrs_01_0835__en-us_topic_0000001219149375_b107111432152656">Next</strong> > <strong id="mrs_01_0835__en-us_topic_0000001219149375_b192982169552656">Next</strong> > <strong id="mrs_01_0835__en-us_topic_0000001219149375_b76932357852656">Submit</strong>. The instance is successfully added.</span></li><li id="mrs_01_0835__en-us_topic_0000001219149375_li060211141118"><span>On the Manager home page, click <span><img id="mrs_01_0835__en-us_topic_0000001219149375_image91688177276" src="en-us_image_0000001295899868.jpg"></span> next to the name of the target cluster and select <strong id="mrs_01_0835__en-us_topic_0000001219149375_b1510231216236">Restart Configuration-Expired Instances</strong>. The instance is restarted successfully.</span></li><li id="mrs_01_0835__en-us_topic_0000001219149375_li13283154731"><span>View the restarted instances. For example, the active and standby instances of MapReduce are normally displayed and run properly.</span></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_0834.html">Using MapReduce</a></div>
|
|
</div>
|
|
</div>
|
|
|