[
https://issues.apache.org/jira/browse/HDFS-5679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Allen Wittenauer updated HDFS-5679:
-----------------------------------
Fix Version/s: (was: 3.0.0)
2.3.0
> TestCacheDirectives should handle the case where native code is not available
> -----------------------------------------------------------------------------
>
> Key: HDFS-5679
> URL: https://issues.apache.org/jira/browse/HDFS-5679
> Project: Hadoop HDFS
> Issue Type: Test
> Affects Versions: 3.0.0
> Reporter: Ted Yu
> Assignee: Andrew Wang
> Labels: caching
> Fix For: 2.3.0
>
> Attachments: hdfs-5679-1.patch
>
>
> TestCacheDirectives fails on trunk due to:
> {code}
> testBasicPoolOperations(org.apache.hadoop.hdfs.server.namenode.TestCacheDirectives)
> Time elapsed: 1.618 sec <<< ERROR!
> java.lang.RuntimeException: Cannot start datanode because the configured max
> locked memory size (dfs.datanode.max.locked.memory) is greater than zero and
> native code is not available.
> {code}
> Configuration of max locked memory size should be dependent on whether native
> code is available.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)