A cluster provides a client for you to connect to a server, view task results, or manage data. If you modify service configuration parameters on Manager and restart the service, you need to download and install the client again or use the configuration file to update the client.
Method 1:
The generated compressed file contains the configuration files of all services.
Run the following commands to go to the directory where the client is installed, and decompress the file to a local directory. For example, the downloaded client file is FusionInsight_Cluster_1_Services_Client.tar.
cd /opt/hadoopclient
tar -xvf FusionInsight_Cluster_1_Services_Client.tar
Run the following command to verify the decompressed file and check whether the command output is consistent with the information in the sha256 file.
sha256sum -c FusionInsight_Cluster_1_Services_ClientConfig_ConfigFiles.tar.sha256
FusionInsight_Cluster_1_Services_ClientConfig_ConfigFiles.tar: OK
tar -xvf FusionInsight_Cluster_1_Services_ClientConfig_ConfigFiles.tar
sh refreshConfig.sh Client installation directory Directory where the configuration file is located
For example, run the following command:
sh refreshConfig.sh /opt/hadoopclient /opt/hadoopclient/FusionInsight_Cluster_1_Services_ClientConfig_ConfigFiles
If the following information is displayed, the configurations have been updated successfully.
Succeed to refresh components client config.
Method 2:
cd /opt/hadoopclient
sh autoRefreshConfig.sh
If the following information is displayed, the configurations have been updated successfully.
Succeed to refresh components client config.