forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Reviewed-by: Rechenburg, Matthias <matthias.rechenburg@t-systems.com> Co-authored-by: Yang, Tong <yangtong2@huawei.com> Co-committed-by: Yang, Tong <yangtong2@huawei.com>
27 lines
8.5 KiB
HTML
27 lines
8.5 KiB
HTML
<a name="admin_guide_000036"></a><a name="admin_guide_000036"></a>
|
|
|
|
<h1 class="topictitle1">Modifying Custom Configuration Parameters of a Service</h1>
|
|
<div id="body1529658735911"><div class="section" id="admin_guide_000036__s8b97025d43a8442b887e7ee66c4c2ed6"><h4 class="sectiontitle">Scenario</h4><p id="admin_guide_000036__en-us_topic_0046736995_p532444">All open source parameters can be configured for all <span id="admin_guide_000036__text1091261393710">MRS</span> cluster components. Parameters used in some key application scenarios can be modified on <span id="admin_guide_000036__text154091129192818">MRS</span> Manager, and some parameters of open source features may not be configured for some component clients. To modify the component parameters that are not directly supported by Manager, cluster administrators can add new parameters for components using the configuration customization function on Manager. Newly added parameters are saved in component configuration files and take effect after restart.</p>
|
|
</div>
|
|
<div class="section" id="admin_guide_000036__s152348a3914d4123986c3835b3d2e30a"><h4 class="sectiontitle">Impact on the System</h4><ul id="admin_guide_000036__en-us_topic_0193195735_en-us_topic_0046736995_ul43128017"><li id="admin_guide_000036__en-us_topic_0193195735_en-us_topic_0046736995_li52607835">After configuring properties of a service, you need to restart the service if the service status is <strong id="admin_guide_000036__b1761558239">Expired</strong>. The service is unavailable during the restart.</li><li id="admin_guide_000036__en-us_topic_0193195735_en-us_topic_0046736995_li3708474">After the service configuration parameters are modified and then take effect after restart, you need to download and install the client again or download the configuration file to update the client.</li></ul>
|
|
</div>
|
|
<div class="section" id="admin_guide_000036__se2c0d92bb1b942eeaca0b372a81a1ff3"><h4 class="sectiontitle">Prerequisites</h4><p id="admin_guide_000036__p186331531720">Cluster administrators have fully understood the meanings of the parameters to be added, configuration files to take effect, and the impact on components.</p>
|
|
</div>
|
|
<div class="section" id="admin_guide_000036__section364833161215"><h4 class="sectiontitle">Procedure</h4><ol id="admin_guide_000036__en-us_topic_0046736995_ol21907564"><li id="admin_guide_000036__li164975055814"><span>Log in to <span id="admin_guide_000036__text1994643693311">MRS</span> Manager.</span></li><li id="admin_guide_000036__li7497505580"><span>Choose <strong id="admin_guide_000036__b523710341716">Cluster</strong> > <em id="admin_guide_000036__i5248834770">Name of the desired cluster</em> > <strong id="admin_guide_000036__b1424863419711">Services</strong>.</span></li><li id="admin_guide_000036__en-us_topic_0046736984_li56314915"><span>Click the specified service name on the service management page.</span></li><li id="admin_guide_000036__en-us_topic_0046736984_li37072193"><span>Click <strong id="admin_guide_000036__b1677817222715">Configuration</strong> and click <strong id="admin_guide_000036__b085111032716">All Configurations</strong>.</span></li><li id="admin_guide_000036__en-us_topic_0046736995_li29335032"><span>In the navigation tree on the left, locate a level-1 node and select <strong id="admin_guide_000036__b1390185412279">Customization</strong>. The system displays the customized parameters of the current component.</span><p><p id="admin_guide_000036__en-us_topic_0046736995_p62688701">The configuration files that save the newly added custom parameters are displayed in the <strong id="admin_guide_000036__b839213110527">Parameter File</strong> column. Different configuration files may have same open source parameters. After the parameters in different files are set to different values, the configuration takes effect depends on the loading sequence of the configuration files by components. You can customize parameters for services and roles as required. Adding customized parameters for a single role instance is not supported.</p>
|
|
</p></li><li id="admin_guide_000036__en-us_topic_0046736995_li27327397"><span>Locate the row where a specified parameter resides, enter the parameter name supported by the component in the <strong id="admin_guide_000036__b16370340857">Name</strong> column and enter the parameter value in the <strong id="admin_guide_000036__b61635589511">Value</strong> column.</span><p><p id="admin_guide_000036__en-us_topic_0046736995_p44619987">You can click <span class="uicontrol" id="admin_guide_000036__uicontrol5798148203515"><b>+</b></span> or <span class="uicontrol" id="admin_guide_000036__uicontrol152128149357"><b>-</b></span> to add or delete a customized parameter.</p>
|
|
</p></li><li id="admin_guide_000036__en-us_topic_0046736995_li47280701"><span>Click <strong id="admin_guide_000036__b15916257853820">Save</strong>. In the displayed <strong id="admin_guide_000036__b39771129953820">Save Configuration</strong> dialog box, confirm the modification and click <strong id="admin_guide_000036__b143270091253820">OK</strong>. After the system displays "Operation succeeded", click <strong id="admin_guide_000036__b154402732353820">Finish</strong>. The configuration is saved successfully.</span><p><p id="admin_guide_000036__p63911249124619">Restart the expired service or instance for the configuration to take effect.</p>
|
|
</p></li></ol>
|
|
</div>
|
|
<div class="section" id="admin_guide_000036__section46413310124"><h4 class="sectiontitle">Task Example (Configuring Customized Hive Parameters)</h4><p id="admin_guide_000036__en-us_topic_0046736995_p2444627">Hive depends on HDFS. By default, Hive accesses the HDFS client. The configuration parameters that have taken effect are controlled by HDFS. For example, the HDFS parameter <strong id="admin_guide_000036__b131016614179">ipc.client.rpc.timeout</strong> affects the RPC timeout interval for all clients to connect to the HDFS server. Cluster administrators can modify the timeout interval for Hive to connect to HDFS by configuring custom parameters. After this parameter is added to the <strong id="admin_guide_000036__b162761038518">core-site.xml</strong> file of Hive, this parameter can be identified by the Hive service and its configuration overwrites the parameter configuration in HDFS.</p>
|
|
<ol id="admin_guide_000036__en-us_topic_0046736995_ol22001643"><li id="admin_guide_000036__li152554202512"><span>On <span id="admin_guide_000036__text1184293913334">MRS</span> Manager, click <strong id="admin_guide_000036__b59324511571">Cluster</strong>, click the name of the desired cluster, and click <strong id="admin_guide_000036__b18601211087">Services</strong>.</span></li><li id="admin_guide_000036__en-us_topic_0046736995_li63797059"><span>On the displayed page, click <strong id="admin_guide_000036__b7931192718812">Configuration</strong> and click <strong id="admin_guide_000036__b49384273819">All Configurations</strong>.</span></li><li id="admin_guide_000036__en-us_topic_0046736995_li179263"><span>In the navigation tree on the left, select <strong id="admin_guide_000036__b1249518533812">Customization</strong> for the Hive service. The system displays the custom service parameters supported by Hive.</span></li><li id="admin_guide_000036__en-us_topic_0046736995_li1613374"><span>In <strong id="admin_guide_000036__b16350218141820">core-site.xml</strong>, locate the row that contains the <strong id="admin_guide_000036__b382834991913">core.site.customized.configs</strong> parameter, enter <strong id="admin_guide_000036__b20548112392013">ipc.client.rpc.timeout</strong> in the <strong id="admin_guide_000036__b20349134192017">Name</strong> column, and enter a new value in the <strong id="admin_guide_000036__b19385185710204">Value</strong> column, for example, 150000. The unit is ms.</span></li><li id="admin_guide_000036__li1998212113319"><span>Click <strong id="admin_guide_000036__b19984172113320">Save</strong>. In the displayed <strong id="admin_guide_000036__b59848219315">Save Configuration</strong> dialog box, confirm the modification and click <strong id="admin_guide_000036__b098412219318">OK</strong>. Wait until the message "Operation succeeded" is displayed, and click <strong id="admin_guide_000036__b1698416218310">Finish</strong>.</span><p><p id="admin_guide_000036__p370572317320">The configuration is saved successfully.</p>
|
|
<p id="admin_guide_000036__p385063017316">After the configuration is saved, restart the expired service or instance for the configuration to take effect.</p>
|
|
</p></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="admin_guide_000034.html">Service Configuration</a></div>
|
|
</div>
|
|
</div>
|
|
|