Why is the task status always running when the HDFS server in NebulaGraph Explorer cannot be connected?

32 Views Asked by At

Sometimes the explorer fails to connect to the HDFS because of network fluctuations. In this case, the task status is always running.

1

There are 1 best solutions below

0
On BEST ANSWER

You need to set the timeout period for HDFS connections as follows:

<configuration>
<property>
    <name>ipc.client.connect.timeout</name>
    <value>3000</value>
</property>

<property>
    <name>ipc.client.connect.max.retries.on.timeouts</name>
    <value>3</value>
</property>
</configuration>