hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-6912) SharedFileDescriptorFactory should not allocate sparse files
Date Mon, 15 Sep 2014 21:52:34 GMT

     [ https://issues.apache.org/jira/browse/HDFS-6912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Colin Patrick McCabe updated HDFS-6912:
---------------------------------------
          Resolution: Fixed
       Fix Version/s: 2.6.0
    Target Version/s: 2.6.0
              Status: Resolved  (was: Patch Available)

> SharedFileDescriptorFactory should not allocate sparse files
> ------------------------------------------------------------
>
>                 Key: HDFS-6912
>                 URL: https://issues.apache.org/jira/browse/HDFS-6912
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: caching
>    Affects Versions: 2.5.0
>         Environment: HDFS Data node, with 8 gb tmpfs in /dev/shm
>            Reporter: Gopal V
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>             Fix For: 2.6.0
>
>         Attachments: HDFS-6912.001.patch, HDFS-6912.002.patch, HDFS-6912.003.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message