HDFS-5679. TestCacheDirectives should handle the case where native code is not available. (wang)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1552461 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
011a7b210d
commit
c7153e182a
|
@ -448,6 +448,9 @@ Trunk (Unreleased)
|
||||||
HDFS-5454. DataNode UUID should be assigned prior to FsDataset
|
HDFS-5454. DataNode UUID should be assigned prior to FsDataset
|
||||||
initialization. (Arpit Agarwal)
|
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
|
BREAKDOWN OF HDFS-2832 SUBTASKS AND RELATED JIRAS
|
||||||
|
|
||||||
HDFS-4985. Add storage type to the protocol and expose it in block report
|
HDFS-4985. Add storage type to the protocol and expose it in block report
|
||||||
|
|
|
@ -98,6 +98,7 @@ public class TestCacheDirectives {
|
||||||
static private CacheManipulator prevCacheManipulator;
|
static private CacheManipulator prevCacheManipulator;
|
||||||
|
|
||||||
static {
|
static {
|
||||||
|
NativeIO.POSIX.setCacheManipulator(new NoMlockCacheManipulator());
|
||||||
EditLogFileOutputStream.setShouldSkipFsyncForTesting(false);
|
EditLogFileOutputStream.setShouldSkipFsyncForTesting(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue