Updated on 2025-10-11 GMT+08:00

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

  1. Log in to FusionInsight Manager.

    For details about how to log in to FusionInsight Manager, see Accessing MRS Manager.

  2. Choose Cluster > Services > HDFS > Configurations > All Configurations.
  3. 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

  4. Save the settings. Restart the expired service or instance for the configuration to take effect.