Network Timeout for HttpFS

The network timeout is the amount of idle time (in milliseconds) that can pass before the HttpFS network connection closes automatically. Depending on your installed EEP, you can use one of the following properties to control the network timeout:
EEP* Timeout Property Default Timeout (ms) Config File
9.0.0 and later hadoop.http.idle_timeout.ms 60000 /opt/mapr/hadoop/hadoop-<version>/etc/hadoop/httpfs-site.xml
7.0.0 through 8.1.0 hadoop.http.max_idle_time.ms 10000 /opt/mapr/httpfs/httpfs-<version>/etc/hadoop/httpfs-site.xml
*For a guide to the supported EEPs, see EEP Support and Lifecycle Status.
If your applications require the network connection to remain open longer than the default timeout, consider increasing the timeout value. To change the timeout value:
  1. Add a timeout property to the httpfs-site.xml file. For the appropriate property and the location of the httpfs-site.xml file, see the nearby table.
    For example, in a cluster installed with EEP 7.0.0, adding the following property to /opt/mapr/httpfs/httpfs-<version>/etc/hadoop/httpfs-site.xml sets a timeout value of 30 seconds:
    <property>
    <name>hadoop.http.max_idle_time.ms</name>
    <value>30000</value>
    </property>
  2. Restart the HttpFS server so the changes take effect:
    maprcli node services -name httpfs -action restart -nodes <node_name>