[06/50] [abbrv] hadoop git commit: HDFS-10748. TestFileTruncate#testTruncateWithDataNodesRestart runs sometimes timeout. Contributed by Yiqun Lin.

2016-09-01 Thread aengineer
HDFS-10748. TestFileTruncate#testTruncateWithDataNodesRestart runs sometimes 
timeout. Contributed by Yiqun Lin.


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

Branch: refs/heads/HDFS-7240
Commit: 4da5000dd33cf013e7212848ed2c44f1e60e860e
Parents: 3d86110
Author: Xiaoyu Yao 
Authored: Thu Aug 25 09:00:44 2016 -0700
Committer: Xiaoyu Yao 
Committed: Thu Aug 25 09:00:44 2016 -0700

--
 .../org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java  | 3 +++
 1 file changed, 3 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/hadoop/blob/4da5000d/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
--
diff --git 
a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
 
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
index 1032107..dd4dfbd 100644
--- 
a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
+++ 
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
@@ -700,6 +700,9 @@ public class TestFileTruncate {
 assertEquals(newBlock.getBlock().getGenerationStamp(),
 oldBlock.getBlock().getGenerationStamp() + 1);
 
+Thread.sleep(2000);
+// trigger the second time BR to delete the corrupted replica if there's 
one
+cluster.triggerBlockReports();
 // Wait replicas come to 3
 DFSTestUtil.waitReplication(fs, p, REPLICATION);
 // Old replica is disregarded and replaced with the truncated one


-
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org



[01/50] [abbrv] hadoop git commit: HDFS-10748. TestFileTruncate#testTruncateWithDataNodesRestart runs sometimes timeout. Contributed by Yiqun Lin. [Forced Update!]

2016-08-30 Thread subru
Repository: hadoop
Updated Branches:
  refs/heads/YARN-2915 04f316af7 -> c77269d25 (forced update)


HDFS-10748. TestFileTruncate#testTruncateWithDataNodesRestart runs sometimes 
timeout. Contributed by Yiqun Lin.


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

Branch: refs/heads/YARN-2915
Commit: 4da5000dd33cf013e7212848ed2c44f1e60e860e
Parents: 3d86110
Author: Xiaoyu Yao 
Authored: Thu Aug 25 09:00:44 2016 -0700
Committer: Xiaoyu Yao 
Committed: Thu Aug 25 09:00:44 2016 -0700

--
 .../org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java  | 3 +++
 1 file changed, 3 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/hadoop/blob/4da5000d/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
--
diff --git 
a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
 
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
index 1032107..dd4dfbd 100644
--- 
a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
+++ 
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
@@ -700,6 +700,9 @@ public class TestFileTruncate {
 assertEquals(newBlock.getBlock().getGenerationStamp(),
 oldBlock.getBlock().getGenerationStamp() + 1);
 
+Thread.sleep(2000);
+// trigger the second time BR to delete the corrupted replica if there's 
one
+cluster.triggerBlockReports();
 // Wait replicas come to 3
 DFSTestUtil.waitReplication(fs, p, REPLICATION);
 // Old replica is disregarded and replaced with the truncated one


-
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org



[09/50] [abbrv] hadoop git commit: HDFS-10748. TestFileTruncate#testTruncateWithDataNodesRestart runs sometimes timeout. Contributed by Yiqun Lin.

2016-08-26 Thread wangda
HDFS-10748. TestFileTruncate#testTruncateWithDataNodesRestart runs sometimes 
timeout. Contributed by Yiqun Lin.


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

Branch: refs/heads/YARN-3368
Commit: 4da5000dd33cf013e7212848ed2c44f1e60e860e
Parents: 3d86110
Author: Xiaoyu Yao 
Authored: Thu Aug 25 09:00:44 2016 -0700
Committer: Xiaoyu Yao 
Committed: Thu Aug 25 09:00:44 2016 -0700

--
 .../org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java  | 3 +++
 1 file changed, 3 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/hadoop/blob/4da5000d/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
--
diff --git 
a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
 
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
index 1032107..dd4dfbd 100644
--- 
a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
+++ 
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
@@ -700,6 +700,9 @@ public class TestFileTruncate {
 assertEquals(newBlock.getBlock().getGenerationStamp(),
 oldBlock.getBlock().getGenerationStamp() + 1);
 
+Thread.sleep(2000);
+// trigger the second time BR to delete the corrupted replica if there's 
one
+cluster.triggerBlockReports();
 // Wait replicas come to 3
 DFSTestUtil.waitReplication(fs, p, REPLICATION);
 // Old replica is disregarded and replaced with the truncated one


-
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org



[42/52] [abbrv] hadoop git commit: HDFS-10748. TestFileTruncate#testTruncateWithDataNodesRestart runs sometimes timeout. Contributed by Yiqun Lin.

2016-08-26 Thread aw
HDFS-10748. TestFileTruncate#testTruncateWithDataNodesRestart runs sometimes 
timeout. Contributed by Yiqun Lin.


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

Branch: refs/heads/HADOOP-13341
Commit: 4da5000dd33cf013e7212848ed2c44f1e60e860e
Parents: 3d86110
Author: Xiaoyu Yao 
Authored: Thu Aug 25 09:00:44 2016 -0700
Committer: Xiaoyu Yao 
Committed: Thu Aug 25 09:00:44 2016 -0700

--
 .../org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java  | 3 +++
 1 file changed, 3 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/hadoop/blob/4da5000d/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
--
diff --git 
a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
 
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
index 1032107..dd4dfbd 100644
--- 
a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
+++ 
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
@@ -700,6 +700,9 @@ public class TestFileTruncate {
 assertEquals(newBlock.getBlock().getGenerationStamp(),
 oldBlock.getBlock().getGenerationStamp() + 1);
 
+Thread.sleep(2000);
+// trigger the second time BR to delete the corrupted replica if there's 
one
+cluster.triggerBlockReports();
 // Wait replicas come to 3
 DFSTestUtil.waitReplication(fs, p, REPLICATION);
 // Old replica is disregarded and replaced with the truncated one


-
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org



hadoop git commit: HDFS-10748. TestFileTruncate#testTruncateWithDataNodesRestart runs sometimes timeout. Contributed by Yiqun Lin.

2016-08-25 Thread xyao
Repository: hadoop
Updated Branches:
  refs/heads/branch-2.8 8657dece8 -> db415ea16


HDFS-10748. TestFileTruncate#testTruncateWithDataNodesRestart runs sometimes 
timeout. Contributed by Yiqun Lin.

(cherry picked from commit 4da5000dd33cf013e7212848ed2c44f1e60e860e)


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

Branch: refs/heads/branch-2.8
Commit: db415ea166221f3439efe2a5bc486be7a509f471
Parents: 8657dec
Author: Xiaoyu Yao 
Authored: Thu Aug 25 09:00:44 2016 -0700
Committer: Xiaoyu Yao 
Committed: Thu Aug 25 09:22:16 2016 -0700

--
 .../org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java  | 3 +++
 1 file changed, 3 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/hadoop/blob/db415ea1/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
--
diff --git 
a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
 
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
index 6755c26..bc81987 100644
--- 
a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
+++ 
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
@@ -699,6 +699,9 @@ public class TestFileTruncate {
 assertEquals(newBlock.getBlock().getGenerationStamp(),
 oldBlock.getBlock().getGenerationStamp() + 1);
 
+Thread.sleep(2000);
+// trigger the second time BR to delete the corrupted replica if there's 
one
+cluster.triggerBlockReports();
 // Wait replicas come to 3
 DFSTestUtil.waitReplication(fs, p, REPLICATION);
 // Old replica is disregarded and replaced with the truncated one


-
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org



hadoop git commit: HDFS-10748. TestFileTruncate#testTruncateWithDataNodesRestart runs sometimes timeout. Contributed by Yiqun Lin.

2016-08-25 Thread xyao
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 4037b22b7 -> fc6750139


HDFS-10748. TestFileTruncate#testTruncateWithDataNodesRestart runs sometimes 
timeout. Contributed by Yiqun Lin.

(cherry picked from commit 4da5000dd33cf013e7212848ed2c44f1e60e860e)


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

Branch: refs/heads/branch-2
Commit: fc675013931c3490c8c35429210f7dc35c7ce02e
Parents: 4037b22
Author: Xiaoyu Yao 
Authored: Thu Aug 25 09:00:44 2016 -0700
Committer: Xiaoyu Yao 
Committed: Thu Aug 25 09:22:02 2016 -0700

--
 .../org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java  | 3 +++
 1 file changed, 3 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/hadoop/blob/fc675013/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
--
diff --git 
a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
 
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
index 776bbe5..d8881a4 100644
--- 
a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
+++ 
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
@@ -699,6 +699,9 @@ public class TestFileTruncate {
 assertEquals(newBlock.getBlock().getGenerationStamp(),
 oldBlock.getBlock().getGenerationStamp() + 1);
 
+Thread.sleep(2000);
+// trigger the second time BR to delete the corrupted replica if there's 
one
+cluster.triggerBlockReports();
 // Wait replicas come to 3
 DFSTestUtil.waitReplication(fs, p, REPLICATION);
 // Old replica is disregarded and replaced with the truncated one


-
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org



hadoop git commit: HDFS-10748. TestFileTruncate#testTruncateWithDataNodesRestart runs sometimes timeout. Contributed by Yiqun Lin.

2016-08-25 Thread xyao
Repository: hadoop
Updated Branches:
  refs/heads/trunk 3d86110a5 -> 4da5000dd


HDFS-10748. TestFileTruncate#testTruncateWithDataNodesRestart runs sometimes 
timeout. Contributed by Yiqun Lin.


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

Branch: refs/heads/trunk
Commit: 4da5000dd33cf013e7212848ed2c44f1e60e860e
Parents: 3d86110
Author: Xiaoyu Yao 
Authored: Thu Aug 25 09:00:44 2016 -0700
Committer: Xiaoyu Yao 
Committed: Thu Aug 25 09:00:44 2016 -0700

--
 .../org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java  | 3 +++
 1 file changed, 3 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/hadoop/blob/4da5000d/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
--
diff --git 
a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
 
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
index 1032107..dd4dfbd 100644
--- 
a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
+++ 
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
@@ -700,6 +700,9 @@ public class TestFileTruncate {
 assertEquals(newBlock.getBlock().getGenerationStamp(),
 oldBlock.getBlock().getGenerationStamp() + 1);
 
+Thread.sleep(2000);
+// trigger the second time BR to delete the corrupted replica if there's 
one
+cluster.triggerBlockReports();
 // Wait replicas come to 3
 DFSTestUtil.waitReplication(fs, p, REPLICATION);
 // Old replica is disregarded and replaced with the truncated one


-
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org