Colin Patrick McCabe created HDFS-5201:
------------------------------------------
Summary: 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
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