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] [Commented] (HDFS-5201) NativeIO: consolidate getrlimit into NativeIO#getMemlockLimit
Date Sat, 14 Sep 2013 00:23:52 GMT

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

Colin Patrick McCabe commented on HDFS-5201:
--------------------------------------------

committed to branch
                
> 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

Mime
View raw message