diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index de3bf8ff957..45aaaccbebe 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -448,6 +448,9 @@ Trunk (Unreleased) HDFS-5454. DataNode UUID should be assigned prior to FsDataset initialization. (Arpit Agarwal) + HDFS-5679. TestCacheDirectives should handle the case where native code + is not available. (wang) + BREAKDOWN OF HDFS-2832 SUBTASKS AND RELATED JIRAS HDFS-4985. Add storage type to the protocol and expose it in block report diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestCacheDirectives.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestCacheDirectives.java index 6dbbb8363e0..03bfc30792e 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestCacheDirectives.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestCacheDirectives.java @@ -98,6 +98,7 @@ public class TestCacheDirectives { static private CacheManipulator prevCacheManipulator; static { + NativeIO.POSIX.setCacheManipulator(new NoMlockCacheManipulator()); EditLogFileOutputStream.setShouldSkipFsyncForTesting(false); }