hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cnaur...@apache.org
Subject git commit: HDFS-7109. TestDataStorage does not release file locks between tests. Contributed by Chris Nauroth.
Date Sun, 21 Sep 2014 04:03:50 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 3ad3f034b -> 465ba7fe3


HDFS-7109. TestDataStorage does not release file locks between tests. Contributed by Chris
Nauroth.

(cherry picked from commit 0795fe3721cf86ed89d5e9058c977a1113247d08)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/465ba7fe
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/465ba7fe
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/465ba7fe

Branch: refs/heads/branch-2
Commit: 465ba7fe316a0da4f07cfe83e54793fa435a3c8e
Parents: 3ad3f03
Author: cnauroth <cnauroth@apache.org>
Authored: Sat Sep 20 21:01:13 2014 -0700
Committer: cnauroth <cnauroth@apache.org>
Committed: Sat Sep 20 21:01:52 2014 -0700

----------------------------------------------------------------------
 hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt                       | 3 +++
 .../org/apache/hadoop/hdfs/server/datanode/TestDataStorage.java   | 1 +
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/465ba7fe/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
index 5d25d0d..a2ffc59 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
@@ -569,6 +569,9 @@ Release 2.6.0 - UNRELEASED
     HDFS-7107. Avoid Findbugs warning for synchronization on
     AbstractNNFailoverProxyProvider#fallbackToSimpleAuth. (cnauroth)
 
+    HDFS-7109. TestDataStorage does not release file locks between tests.
+    (cnauroth)
+
 Release 2.5.1 - 2014-09-05
 
   INCOMPATIBLE CHANGES

http://git-wip-us.apache.org/repos/asf/hadoop/blob/465ba7fe/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataStorage.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataStorage.java
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataStorage.java
index 1d700e3..ed32243 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataStorage.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataStorage.java
@@ -63,6 +63,7 @@ public class TestDataStorage {
 
   @After
   public void tearDown() throws IOException {
+    storage.unlockAll();
     FileUtil.fullyDelete(TEST_DIR);
   }
 


Mime
View raw message