By default, all filesystem, HPE Ezmeral Data Fabric Database, and HPE Ezmeral Data Fabric-Streams operations never timeout
as they wait (hard mount behavior) for the operation to succeed and/or the server to
respond. You can configure a soft mount behavior by setting the values for the
following parameters in the core-site.xml or
hbase-site.xml file:
fs.mapr.hardmount
- Specifies whether or not to enable hard mount. Value can be:
true - enable hard mount
false - disable hard mount
The default value is true.
fs.mapr.rpc.timeout
- This parameter is valid for MapR 6.0.0 and earlier. Specifies the RPC timeout value in
seconds. The default value is 300 seconds. The value cannot be less than 30 seconds. If
the value is greater than 300 seconds, TCP keepalive probes are sent to prevent the TCP
socket from timing out. If value is below 300 seconds, the RPCs will timeout after the
specified time.
streams.rpc.timeout.ms
- This parameter is new as of MapR 6.0.1. Specifies the RPC timeout value
in milliseconds. The default value is 300000 milliseconds. The value cannot
be lower than 30000 milliseconds. If the value is greater than 300000
milliseconds, TCP keepalive probes are sent to prevent the TCP socket from
timing out. If value is below 30000 milliseconds, the RPCs will timeout
after the specified time.
These parameter settings affect all clients.
Note: For
HPE Ezmeral Data Fabric-Streams,
these parameters can be set as configuration properties when constructing the
Consumer or Producer Java object. For more information, see
HPE Ezmeral Data Fabric-Streams.