You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2013/11/13 20:47:21 UTC
[jira] [Created] (HDFS-5511) improve CacheManipulator interface to
allow better unit testing
Colin Patrick McCabe created HDFS-5511:
------------------------------------------
Summary: improve CacheManipulator interface to allow better unit testing
Key: HDFS-5511
URL: https://issues.apache.org/jira/browse/HDFS-5511
Project: Hadoop HDFS
Issue Type: Sub-task
Components: datanode
Affects Versions: 3.0.0
Reporter: Colin Patrick McCabe
Assignee: Colin Patrick McCabe
The CacheManipulator interface has been helpful in allowing us to stub out {{mlock}} in cases where we don't want to test it. We should move the {{getMemlockLimit}} and {{getOperatingSystemPageSize}} functions into this interface as well so that we don't have to skip these tests on machines where these methods would ordinarily not work for us.
--
This message was sent by Atlassian JIRA
(v6.1#6144)