Details
Description
SharedFileDescriptor factory should not allocate sparse files. Sparse files can lead to a SIGBUS later in the short-circuit reader when we try to read from the sparse file and memory is not available.
Note that if swap is enabled, we can still get a SIGBUS even with a non-sparse file, since the JVM uses MAP_NORESERVE in mmap.
Attachments
Attachments
Issue Links
- relates to
-
HDFS-6581 Write to single replica in memory
- Closed