hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6912) SharedFileDescriptorFactory should not allocate sparse files
Date Tue, 16 Sep 2014 11:30:38 GMT

    [ https://issues.apache.org/jira/browse/HDFS-6912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14135316#comment-14135316
] 

Hudson commented on HDFS-6912:
------------------------------

SUCCESS: Integrated in Hadoop-Yarn-trunk #682 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/682/])
HDFS-6912. SharedFileDescriptorFactory should not allocate sparse files (cmccabe) (cmccabe:
rev 8008f0e8191b1c7adbed96ed4c380208e3a37692)
* hadoop-common-project/hadoop-common/CHANGES.txt
* hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/io/nativeio/SharedFileDescriptorFactory.c


> 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