No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FusionInsight HD 6.5.0 Administrator Guide 02

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Modifying Customized Configuration Parameters of a Service

Modifying Customized Configuration Parameters of a Service

Scenarios

All open source parameters can be configured for all FusionInsight cluster components. Parameters used in some key application scenarios can be modified on FusionInsight 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 FusionInsight Manager, you can add new parameters for components by using the configuration customization function on FusionInsight Manager. Newly added parameters are saved in component configuration files and take effect after restart.

Impact on the System

  • After configuring properties of a service, you need to restart the service. The service is unavailable during restart. If the instance is not restarted, the configuration status of the instance is Configurations Expired.
  • 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. For example, you can modify configuration parameters of the following services: HBase, HDFS, Hive, Spark, YARN, and MapReduce.

Prerequisites

You have understood the meanings of parameters to be added, configuration files to take effect, and impact on components.

Procedure

  1. Log in to FusionInsight Manager.
  2. Choose Cluster > Service.
  3. Click the specified service name on the service management page.
  4. Choose Configuration > All Configurations.
  5. In the navigation tree on the left, locate a level-1 node and select Customization. The system displays the customized parameters of the current component.

    The configuration files that save the newly added customized parameters are displayed in Parameter File. 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.

  6. Based on the configuration files and parameter functions, locate the row where a specified parameter resides, enter the parameter name supported by the component in the Name column and enter the parameter value in the Value column.

    You can click + or - to add or delete a customized parameter.

  7. Click Save. In the displayed Save Configuration dialog box, confirm the modification and click OK. Wait until the message "Operation succeeded" is displayed, and click Finish.

    The configuration is saved successfully.

    After the configuration is saved, restart the expired service or instance for the configuration to take effect.

Task Example (Configuring Customized Hive Parameters)

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 ipc.client.rpc.timeout affects the RPC timeout interval for all the clients (including service and cluster clients) to connect to the HDFS server. To change the timeout interval for Hive to connect to the HDFS, you can change the timeout interval by configuring required customized parameters. After this parameter is added to the core-site.xml file of Hive, this parameter can be identified by the Hive service and its configuration overwrites the parameter configuration in HDFS.

  1. On FusionInsight Manager, choose Cluster > Service > Hive > Configuration. On the displayed page, click the All Configurations tab.
  2. In the navigation tree on the left, select Customization for the Hive service. The system displays the customized service parameters supported by Hive.
  3. In core-site.xml, locate the row that contains the core.site.customized.configs parameter, enter ipc.client.rpc.timeout in the Name column, and enter a new value in the Value column, for example, 150000. The unit is ms.
  4. Click Save. In the displayed Save Configuration dialog box, confirm the modification and click OK. Wait until the message "Operation succeeded" is displayed, and click Finish.

    The configuration is saved successfully.

    After the configuration is saved, restart the expired service or instance for the configuration to take effect.

Download
Updated: 2019-05-17

Document ID: EDOC1100074522

Views: 6118

Downloads: 12

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next