You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by vi...@apache.org on 2014/11/06 09:04:19 UTC
[08/43] git commit: HDFS-7355.
TestDataNodeVolumeFailure#testUnderReplicationAfterVolFailure fails on
Windows,
because we cannot deny access to the file owner. Contributed by Chris Nauroth.
HDFS-7355. TestDataNodeVolumeFailure#testUnderReplicationAfterVolFailure fails on Windows, because we cannot deny access to the file owner. Contributed by Chris Nauroth.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/99d71034
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/99d71034
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/99d71034
Branch: refs/heads/HDFS-EC
Commit: 99d710348a20ff99044207df4b92ab3bff31bd69
Parents: 2e1d9a4
Author: Haohui Mai <wh...@apache.org>
Authored: Tue Nov 4 15:18:51 2014 -0800
Committer: Haohui Mai <wh...@apache.org>
Committed: Tue Nov 4 15:18:51 2014 -0800
----------------------------------------------------------------------
hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 4 ++++
.../hadoop/hdfs/server/datanode/TestDataNodeVolumeFailure.java | 5 +++++
2 files changed, 9 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/99d71034/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 b4e0fa1..c896ead 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
@@ -1003,6 +1003,10 @@ Release 2.6.0 - UNRELEASED
HDFS-7334. Fix periodic failures of TestCheckpoint
#testTooManyEditReplayFailures. (Charles Lamb via wheat9)
+ HDFS-7355. TestDataNodeVolumeFailure#testUnderReplicationAfterVolFailure
+ fails on Windows, because we cannot deny access to the file owner.
+ (Chris Nauroth via wheat9)
+
BREAKDOWN OF HDFS-6134 AND HADOOP-10150 SUBTASKS AND RELATED JIRAS
HDFS-6387. HDFS CLI admin tool for creating & deleting an
http://git-wip-us.apache.org/repos/asf/hadoop/blob/99d71034/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataNodeVolumeFailure.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataNodeVolumeFailure.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataNodeVolumeFailure.java
index 8429055..6b9c4b1 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataNodeVolumeFailure.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataNodeVolumeFailure.java
@@ -205,6 +205,11 @@ public class TestDataNodeVolumeFailure {
*/
@Test
public void testUnderReplicationAfterVolFailure() throws Exception {
+ // This test relies on denying access to data volumes to simulate data volume
+ // failure. This doesn't work on Windows, because an owner of an object
+ // always has the ability to read and change permissions on the object.
+ assumeTrue(!Path.WINDOWS);
+
// Bring up one more datanode
cluster.startDataNodes(conf, 1, true, null, null);
cluster.waitActive();