How Do I Configure the Environment When I Create a ClickHouse Backup Task on FusionInsight Manager and Set the Path Type to RemoteHDFS?
This section applies only to MRS 3.1.0.
Question
How do I configure the environment when I create a ClickHouse backup task on FusionInsight Manager and set the path type to RemoteHDFS?
Answer
- Log in to FusionInsight Manager of the standby cluster.
- Choose Cluster > Services > HDFS and choose More > Download Client. Set Select Client Type to Configuration Files Only, select x86_64 for x86 or aarch64 for ARM based on the type of the node where the client is to be installed, and click OK.
- After the client file package is generated, download the client to the local PC as prompted and decompress the package.
For example, if the client file package is FusionInsight_Cluster_1_HDFS_Client.tar, decompress it to obtain FusionInsight_Cluster_1_HDFS_ClientConfig_ConfigFiles.tar, and then decompress FusionInsight_Cluster_1_HDFS_ClientConfig_ConfigFiles.tar to the D:\FusionInsight_Cluster_1_HDFS_ClientConfig_ConfigFiles directory on the local PC. The directory name cannot contain spaces.
- Go to the FusionInsight_Cluster_1_HDFS_ClientConfig_ConfigFiles\ client directory and obtain the hosts file.
- Go to FusionInsight_Cluster_1_HDFS_ClientConfig_ConfigFiles\HDFS\config to obtain the core-site.xml and hdfs-site.xml files.
- Log in to FusionInsight Manager of the source cluster.
- Choose Cluster > Services > ClickHouse, choose Configurations > All Configurations, and select backup under ClickHouse(Service).
For remote_connect_core_config_file, click Upload File and select the core-site.xml file prepared in 5.
For remote_connect_hdfs_config_file, click Upload File and select the hdfs-site.xml file prepared in 5.
- Click Save, confirm the information, and click OK to save the configuration. After saving the configurations, click Finish.
- Choose Cluster > Services > ClickHouse, click Instance, and view the instance IP address of ClickHouseServer.
- Log in to the host nodes of the ClickHouseServer instances as user root and check whether the /etc/hosts file contains the host information in 4. If not, add the host information in 4 to the /etc/hosts file.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot