You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2013/09/14 02:23:52 UTC
[jira] [Resolved] (HDFS-5201) NativeIO: consolidate getrlimit into
NativeIO#getMemlockLimit
[ https://issues.apache.org/jira/browse/HDFS-5201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colin Patrick McCabe resolved HDFS-5201.
----------------------------------------
Resolution: Fixed
> NativeIO: consolidate getrlimit into NativeIO#getMemlockLimit
> -------------------------------------------------------------
>
> Key: HDFS-5201
> URL: https://issues.apache.org/jira/browse/HDFS-5201
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: datanode
> Affects Versions: HDFS-4949
> Reporter: Colin Patrick McCabe
> Assignee: Colin Patrick McCabe
> Fix For: HDFS-4949
>
> Attachments: HDFS-5201-caching.001.patch, HDFS-5201-caching.002.patch
>
>
> Let's consolidate {{NativeIO#POSIX#getrlimit}} into {{NativeIO#getMemlockLimit}}. This avoids a few issues with the current function: it is not available on Windows, it relied on Linux-specific constants, and it currently returns a string which has to be parsed rather than a long.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira