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 ar...@apache.org on 2015/12/17 19:38:38 UTC
[2/2] hadoop git commit: HDFS-9565.
TestDistributedFileSystem.testLocatedFileStatusStorageIdsTypes is flaky due
to race condition. (Contributed by Wei-Chiu Chuang)
HDFS-9565. TestDistributedFileSystem.testLocatedFileStatusStorageIdsTypes is flaky due to race condition. (Contributed by Wei-Chiu Chuang)
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/0c1d1e31
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/0c1d1e31
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/0c1d1e31
Branch: refs/heads/branch-2
Commit: 0c1d1e311c5eb8929c33f1fe5fee3723a5708f85
Parents: 03e10f1
Author: Arpit Agarwal <ar...@apache.org>
Authored: Thu Dec 17 10:36:07 2015 -0800
Committer: Arpit Agarwal <ar...@apache.org>
Committed: Thu Dec 17 10:37:58 2015 -0800
----------------------------------------------------------------------
hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++
.../java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java | 1 +
2 files changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/0c1d1e31/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 268a589..d9c19f1 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
@@ -1636,6 +1636,9 @@ Release 2.8.0 - UNRELEASED
HDFS-9198. Coalesce IBR processing in the NN. (Daryn Sharp via umamahesh)
+ HDFS-9565. TestDistributedFileSystem.testLocatedFileStatusStorageIdsTypes
+ is flaky due to race condition. (Wei-Chiu Chuang via Arpit Agarwal)
+
Release 2.7.3 - UNRELEASED
INCOMPATIBLE CHANGES
http://git-wip-us.apache.org/repos/asf/hadoop/blob/0c1d1e31/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java
index 7620ed2..dfc3f3b 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java
@@ -729,6 +729,7 @@ public class TestDistributedFileSystem {
final int repl = 2;
DFSTestUtil.createFile(fs, testFile, blockSize, numBlocks * blockSize,
blockSize, (short) repl, 0xADDED);
+ DFSTestUtil.waitForReplication(fs, testFile, (short) repl, 30000);
// Get the listing
RemoteIterator<LocatedFileStatus> it = fs.listLocatedStatus(testFile);
assertTrue("Expected file to be present", it.hasNext());