Optimization for Unstable HDFS Network
Scenario
Clients probably encounter running errors when the network is not stable. You can adjust the following parameter values to improve the running efficiency.
Procedure
- Log in to FusionInsight Manager.
For details about how to log in to FusionInsight Manager, see Accessing MRS Manager.
- Choose Cluster > Services > HDFS > Configurations > All Configurations.
- Search for the following parameters and change their values as required.
Table 1 Parameters Parameter
Description
Default Value
ha.health-monitor.rpc-timeout.ms
Timeout interval during the NameNode health check performed by ZKFC. Increasing this value can prevent dual active NameNodes and reduce the probability of application running exceptions on clients.
Unit: millisecond. Value range: 30,000 to 3,600,000
180,000
ipc.client.connect.max.retries.on.timeouts
Number of retry times when the socket connection between a server and a client times out.
Value range: 1 to 256
45
ipc.client.connect.timeout
Timeout interval of the socket connection between a client and a server. Increasing the value of this parameter increases the timeout interval for setting up a connection.
Unit: millisecond. Value range: 1 to 3,600,000
20,000
- Save the settings. Restart the expired service or instance for the configuration to take effect.
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