Help Center> MapReduce Service> Component Operation Guide (LTS)> Using Doris> Doris FAQs> What Should I Do If RPC Timeout Error Is Reported When Stream Load Is Used?
Updated on 2024-05-29 GMT+08:00

What Should I Do If RPC Timeout Error Is Reported When Stream Load Is Used?

Symptom

During data import, RPC startup timed out when the tablet writer was opened by a BE node. The following error was reported:

failed to open tablet writer, error=RPC call is timeout, error_text=[E1008] Reached timeout=xxx ms

Cause Analysis

When data is imported, a BE node opens the tablet writer, which may involve the write operation of multiple memory blocks. As a result, the RPC times out. You can adjust the RPC timeout interval to avoid the timeout error.

Procedure

  1. Log in to FusionInsight Manager and choose Cluster > Services > Doris > Configurations > All Configurations.
  2. In the navigation pane on the left, choose BE(Role) > Customization. Add the custom parameter tablet_writer_open_rpc_timeout_sec to be.conf.customized.configs. The parameter value is the RPC timeout interval. The default value is 60. You can increase the value, for example, set this parameter to 300.
  3. Click Instance, select all BE instances, and choose More > Restart Instance to restart the BE instances.