[01/18] hbase git commit: HBASE-19940 TestMetaShutdownHandler flakey; ADDENDUM: more debug [Forced Update!]

2018-02-08 Thread zhangduo
Repository: hbase
Updated Branches:
  refs/heads/HBASE-19064 0db757ea5 -> 785a77c11 (forced update)


HBASE-19940 TestMetaShutdownHandler flakey; ADDENDUM: more debug


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

Branch: refs/heads/HBASE-19064
Commit: 590bee78dc9cb08a7b2d0eb5205d9dae65a8800a
Parents: 77153d4
Author: Michael Stack 
Authored: Tue Feb 6 06:34:49 2018 -0800
Committer: Michael Stack 
Committed: Tue Feb 6 06:35:36 2018 -0800

--
 .../main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/590bee78/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
--
diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
index 172c170..0d410fc 100644
--- 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
+++ 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
@@ -297,10 +297,10 @@ public class JVMClusterUtil {
 for (RegionServerThread t : regionservers) {
   if (t.isAlive()) {
 LOG.warn("RegionServerThreads taking too long to stop, 
interrupting; thread dump "  +
-  "if > three attempts");
+  "if > three attempts: i=" + i);
 if (i > 3) {
   try {
-Threads.threadDumpingIsAlive(t.getRegionServer().getThread());
+Threads.threadDumpingIsAlive(t);
   } catch (InterruptedException e) {
 e.printStackTrace();
   }



[02/18] hbase git commit: HBASE-19940 TestMetaShutdownHandler flakey; ADDENDUM: yet more debug

2018-02-08 Thread zhangduo
HBASE-19940 TestMetaShutdownHandler flakey; ADDENDUM: yet more debug


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

Branch: refs/heads/HBASE-19064
Commit: 001f9cc5ea7d00fceb24cbcbf6399ecf272882e4
Parents: 590bee7
Author: Michael Stack 
Authored: Tue Feb 6 09:47:30 2018 -0800
Committer: Michael Stack 
Committed: Tue Feb 6 09:47:30 2018 -0800

--
 .../java/org/apache/hadoop/hbase/util/JVMClusterUtil.java| 8 ++--
 1 file changed, 2 insertions(+), 6 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/001f9cc5/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
--
diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
index 0d410fc..ee7ecf3 100644
--- 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
+++ 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
@@ -297,13 +297,9 @@ public class JVMClusterUtil {
 for (RegionServerThread t : regionservers) {
   if (t.isAlive()) {
 LOG.warn("RegionServerThreads taking too long to stop, 
interrupting; thread dump "  +
-  "if > three attempts: i=" + i);
+  "if > 3 attempts: i=" + i);
 if (i > 3) {
-  try {
-Threads.threadDumpingIsAlive(t);
-  } catch (InterruptedException e) {
-e.printStackTrace();
-  }
+  Threads.printThreadInfo(System.out, "Thread dump " + 
t.getName());
 }
 t.interrupt();
   }



hbase git commit: HBASE-19940 TestMetaShutdownHandler flakey; ADDENDUM: yet more debug

2018-02-06 Thread stack
Repository: hbase
Updated Branches:
  refs/heads/branch-2 ca6b37d63 -> 89baad5bb


HBASE-19940 TestMetaShutdownHandler flakey; ADDENDUM: yet more debug


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

Branch: refs/heads/branch-2
Commit: 89baad5bbeba0a52d038380d7a12bd1962981223
Parents: ca6b37d
Author: Michael Stack 
Authored: Tue Feb 6 09:47:30 2018 -0800
Committer: Michael Stack 
Committed: Tue Feb 6 09:48:26 2018 -0800

--
 .../java/org/apache/hadoop/hbase/util/JVMClusterUtil.java| 8 ++--
 1 file changed, 2 insertions(+), 6 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/89baad5b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
--
diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
index 0d410fc..ee7ecf3 100644
--- 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
+++ 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
@@ -297,13 +297,9 @@ public class JVMClusterUtil {
 for (RegionServerThread t : regionservers) {
   if (t.isAlive()) {
 LOG.warn("RegionServerThreads taking too long to stop, 
interrupting; thread dump "  +
-  "if > three attempts: i=" + i);
+  "if > 3 attempts: i=" + i);
 if (i > 3) {
-  try {
-Threads.threadDumpingIsAlive(t);
-  } catch (InterruptedException e) {
-e.printStackTrace();
-  }
+  Threads.printThreadInfo(System.out, "Thread dump " + 
t.getName());
 }
 t.interrupt();
   }



hbase git commit: HBASE-19940 TestMetaShutdownHandler flakey; ADDENDUM: yet more debug

2018-02-06 Thread stack
Repository: hbase
Updated Branches:
  refs/heads/master 590bee78d -> 001f9cc5e


HBASE-19940 TestMetaShutdownHandler flakey; ADDENDUM: yet more debug


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

Branch: refs/heads/master
Commit: 001f9cc5ea7d00fceb24cbcbf6399ecf272882e4
Parents: 590bee7
Author: Michael Stack 
Authored: Tue Feb 6 09:47:30 2018 -0800
Committer: Michael Stack 
Committed: Tue Feb 6 09:47:30 2018 -0800

--
 .../java/org/apache/hadoop/hbase/util/JVMClusterUtil.java| 8 ++--
 1 file changed, 2 insertions(+), 6 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/001f9cc5/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
--
diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
index 0d410fc..ee7ecf3 100644
--- 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
+++ 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
@@ -297,13 +297,9 @@ public class JVMClusterUtil {
 for (RegionServerThread t : regionservers) {
   if (t.isAlive()) {
 LOG.warn("RegionServerThreads taking too long to stop, 
interrupting; thread dump "  +
-  "if > three attempts: i=" + i);
+  "if > 3 attempts: i=" + i);
 if (i > 3) {
-  try {
-Threads.threadDumpingIsAlive(t);
-  } catch (InterruptedException e) {
-e.printStackTrace();
-  }
+  Threads.printThreadInfo(System.out, "Thread dump " + 
t.getName());
 }
 t.interrupt();
   }



hbase git commit: HBASE-19940 TestMetaShutdownHandler flakey; ADDENDUM: more debug

2018-02-06 Thread stack
Repository: hbase
Updated Branches:
  refs/heads/master 77153d4dc -> 590bee78d


HBASE-19940 TestMetaShutdownHandler flakey; ADDENDUM: more debug


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

Branch: refs/heads/master
Commit: 590bee78dc9cb08a7b2d0eb5205d9dae65a8800a
Parents: 77153d4
Author: Michael Stack 
Authored: Tue Feb 6 06:34:49 2018 -0800
Committer: Michael Stack 
Committed: Tue Feb 6 06:35:36 2018 -0800

--
 .../main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/590bee78/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
--
diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
index 172c170..0d410fc 100644
--- 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
+++ 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
@@ -297,10 +297,10 @@ public class JVMClusterUtil {
 for (RegionServerThread t : regionservers) {
   if (t.isAlive()) {
 LOG.warn("RegionServerThreads taking too long to stop, 
interrupting; thread dump "  +
-  "if > three attempts");
+  "if > three attempts: i=" + i);
 if (i > 3) {
   try {
-Threads.threadDumpingIsAlive(t.getRegionServer().getThread());
+Threads.threadDumpingIsAlive(t);
   } catch (InterruptedException e) {
 e.printStackTrace();
   }



hbase git commit: HBASE-19940 TestMetaShutdownHandler flakey; ADDENDUM: more debug

2018-02-06 Thread stack
Repository: hbase
Updated Branches:
  refs/heads/branch-2 fb480775d -> ca6b37d63


HBASE-19940 TestMetaShutdownHandler flakey; ADDENDUM: more debug


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

Branch: refs/heads/branch-2
Commit: ca6b37d63c7392c9d6c8cf3bf4e565e6fd00f264
Parents: fb48077
Author: Michael Stack 
Authored: Tue Feb 6 06:34:49 2018 -0800
Committer: Michael Stack 
Committed: Tue Feb 6 06:35:02 2018 -0800

--
 .../main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/ca6b37d6/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
--
diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
index 172c170..0d410fc 100644
--- 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
+++ 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
@@ -297,10 +297,10 @@ public class JVMClusterUtil {
 for (RegionServerThread t : regionservers) {
   if (t.isAlive()) {
 LOG.warn("RegionServerThreads taking too long to stop, 
interrupting; thread dump "  +
-  "if > three attempts");
+  "if > three attempts: i=" + i);
 if (i > 3) {
   try {
-Threads.threadDumpingIsAlive(t.getRegionServer().getThread());
+Threads.threadDumpingIsAlive(t);
   } catch (InterruptedException e) {
 e.printStackTrace();
   }



[04/18] hbase git commit: HBASE-19940 TestMetaShutdownHandler flakey

2018-02-06 Thread zhangduo
HBASE-19940 TestMetaShutdownHandler flakey


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

Branch: refs/heads/HBASE-19064
Commit: 6307689a6e03f30d7d1490fbf9fe9dff9138a7ff
Parents: 9f2149f
Author: Michael Stack 
Authored: Mon Feb 5 12:37:48 2018 -0800
Committer: Michael Stack 
Committed: Mon Feb 5 12:37:48 2018 -0800

--
 .../java/org/apache/hadoop/hbase/util/JVMClusterUtil.java | 10 +-
 1 file changed, 9 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/6307689a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
--
diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
index a85e89e..172c170 100644
--- 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
+++ 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
@@ -296,7 +296,15 @@ public class JVMClusterUtil {
 if (!atLeastOneLiveServer) break;
 for (RegionServerThread t : regionservers) {
   if (t.isAlive()) {
-LOG.warn("RegionServerThreads taking too long to stop, 
interrupting");
+LOG.warn("RegionServerThreads taking too long to stop, 
interrupting; thread dump "  +
+  "if > three attempts");
+if (i > 3) {
+  try {
+Threads.threadDumpingIsAlive(t.getRegionServer().getThread());
+  } catch (InterruptedException e) {
+e.printStackTrace();
+  }
+}
 t.interrupt();
   }
 }



[05/50] hbase git commit: HBASE-19940 TestMetaShutdownHandler flakey

2018-02-06 Thread zhangduo
HBASE-19940 TestMetaShutdownHandler flakey


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

Branch: refs/heads/HBASE-19397-branch-2
Commit: 7723a3d60d9c13a3f0919cf7b435e1bae73d54a8
Parents: a1600c1
Author: Michael Stack 
Authored: Mon Feb 5 12:37:48 2018 -0800
Committer: Michael Stack 
Committed: Mon Feb 5 12:38:51 2018 -0800

--
 .../java/org/apache/hadoop/hbase/util/JVMClusterUtil.java | 10 +-
 1 file changed, 9 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/7723a3d6/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
--
diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
index a85e89e..172c170 100644
--- 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
+++ 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
@@ -296,7 +296,15 @@ public class JVMClusterUtil {
 if (!atLeastOneLiveServer) break;
 for (RegionServerThread t : regionservers) {
   if (t.isAlive()) {
-LOG.warn("RegionServerThreads taking too long to stop, 
interrupting");
+LOG.warn("RegionServerThreads taking too long to stop, 
interrupting; thread dump "  +
+  "if > three attempts");
+if (i > 3) {
+  try {
+Threads.threadDumpingIsAlive(t.getRegionServer().getThread());
+  } catch (InterruptedException e) {
+e.printStackTrace();
+  }
+}
 t.interrupt();
   }
 }



hbase git commit: HBASE-19940 TestMetaShutdownHandler flakey

2018-02-05 Thread stack
Repository: hbase
Updated Branches:
  refs/heads/branch-2 a1600c149 -> 7723a3d60


HBASE-19940 TestMetaShutdownHandler flakey


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

Branch: refs/heads/branch-2
Commit: 7723a3d60d9c13a3f0919cf7b435e1bae73d54a8
Parents: a1600c1
Author: Michael Stack 
Authored: Mon Feb 5 12:37:48 2018 -0800
Committer: Michael Stack 
Committed: Mon Feb 5 12:38:51 2018 -0800

--
 .../java/org/apache/hadoop/hbase/util/JVMClusterUtil.java | 10 +-
 1 file changed, 9 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/7723a3d6/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
--
diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
index a85e89e..172c170 100644
--- 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
+++ 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
@@ -296,7 +296,15 @@ public class JVMClusterUtil {
 if (!atLeastOneLiveServer) break;
 for (RegionServerThread t : regionservers) {
   if (t.isAlive()) {
-LOG.warn("RegionServerThreads taking too long to stop, 
interrupting");
+LOG.warn("RegionServerThreads taking too long to stop, 
interrupting; thread dump "  +
+  "if > three attempts");
+if (i > 3) {
+  try {
+Threads.threadDumpingIsAlive(t.getRegionServer().getThread());
+  } catch (InterruptedException e) {
+e.printStackTrace();
+  }
+}
 t.interrupt();
   }
 }



hbase git commit: HBASE-19940 TestMetaShutdownHandler flakey

2018-02-05 Thread stack
Repository: hbase
Updated Branches:
  refs/heads/master 9f2149f17 -> 6307689a6


HBASE-19940 TestMetaShutdownHandler flakey


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

Branch: refs/heads/master
Commit: 6307689a6e03f30d7d1490fbf9fe9dff9138a7ff
Parents: 9f2149f
Author: Michael Stack 
Authored: Mon Feb 5 12:37:48 2018 -0800
Committer: Michael Stack 
Committed: Mon Feb 5 12:37:48 2018 -0800

--
 .../java/org/apache/hadoop/hbase/util/JVMClusterUtil.java | 10 +-
 1 file changed, 9 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/6307689a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
--
diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
index a85e89e..172c170 100644
--- 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
+++ 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
@@ -296,7 +296,15 @@ public class JVMClusterUtil {
 if (!atLeastOneLiveServer) break;
 for (RegionServerThread t : regionservers) {
   if (t.isAlive()) {
-LOG.warn("RegionServerThreads taking too long to stop, 
interrupting");
+LOG.warn("RegionServerThreads taking too long to stop, 
interrupting; thread dump "  +
+  "if > three attempts");
+if (i > 3) {
+  try {
+Threads.threadDumpingIsAlive(t.getRegionServer().getThread());
+  } catch (InterruptedException e) {
+e.printStackTrace();
+  }
+}
 t.interrupt();
   }
 }