19.9. FileSystem DataStore Configuration

This section details configuration properties specific to the FileSystem data store. For general properties, see Runtime Configuration.

19.9.1. File Writers

The following properties control the writing of data files.

19.9.1.1. geomesa.fs.writer.partition.timeout

When writing to multiple partitions, each partition writer is kept open until the overall feature writer is closed. When writing to many partitions at once, this may cause memory problems due to the large number of writers. To mitigate this, idle partitions can be closed after a configurable timeout.

The timeout is defined as a duration, e.g. 60 seconds or 100 millis.

19.9.2. FileSystem Operations

19.9.2.1. geomesa.fs.file.cache.duration

To avoid repeated reads from disk, GeoMesa will cache the results of disk operations for a certain period of time. This has the side effect that files modified by external processes may not be visible until after the cache timeout.

The property is defined as a duration, e.g. 60 seconds or 100 millis. By default it is 10 minutes.