From 75c70339ab4f64d053c69eb8501d3e69e7aff83a Mon Sep 17 00:00:00 2001 From: Haohui Mai Date: Wed, 23 Sep 2015 19:33:55 -0700 Subject: [PATCH] HADOOP-12438. Reset RawLocalFileSystem.useDeprecatedFileStatus in TestLocalFileSystem. Contributed by Chris Nauroth. --- hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++ .../test/java/org/apache/hadoop/fs/TestLocalFileSystem.java | 1 + 2 files changed, 4 insertions(+) diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index 900a0b4967f..17c2421d5d1 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -635,6 +635,9 @@ Release 2.8.0 - UNRELEASED HADOOP-12417. TestWebDelegationToken failing with port in use. (Mingliang Liu via wheat9) + HADOOP-12438. Reset RawLocalFileSystem.useDeprecatedFileStatus in + TestLocalFileSystem. (Chris Nauroth via wheat9) + Release 2.7.2 - UNRELEASED INCOMPATIBLE CHANGES diff --git a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestLocalFileSystem.java b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestLocalFileSystem.java index 93e8c856aff..8fef4eae170 100644 --- a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestLocalFileSystem.java +++ b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestLocalFileSystem.java @@ -71,6 +71,7 @@ public class TestLocalFileSystem { FileUtil.setWritable(base, true); FileUtil.fullyDelete(base); assertTrue(!base.exists()); + RawLocalFileSystem.useStatIfAvailable(); } /**