You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2014/09/29 19:49:14 UTC

[1/2] git commit: HBASE-6290 Add a function a mark a server as dead and start the recovery the process (Talat Uyarer)

Repository: hbase
Updated Branches:
  refs/heads/master 4be3cf8fe -> 82bb37070


HBASE-6290 Add a function a mark a server as dead and start the recovery the process (Talat Uyarer)


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

Branch: refs/heads/master
Commit: 8e5aad43a2fbde2aac6aff6dd01582933bd8db9b
Parents: 4be3cf8
Author: stack <st...@apache.org>
Authored: Mon Sep 29 10:23:32 2014 -0700
Committer: stack <st...@apache.org>
Committed: Mon Sep 29 10:23:32 2014 -0700

----------------------------------------------------------------------
 bin/considerAsDead.sh | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/8e5aad43/bin/considerAsDead.sh
----------------------------------------------------------------------
diff --git a/bin/considerAsDead.sh b/bin/considerAsDead.sh
old mode 100644
new mode 100755


[2/2] git commit: HBASE-6290 Add a function a mark a server as dead and start the recovery the process (Talat Uyarer) DOC ADDENDUM

Posted by st...@apache.org.
HBASE-6290 Add a function a mark a server as dead and start the recovery the process (Talat Uyarer) DOC ADDENDUM


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

Branch: refs/heads/master
Commit: 82bb37070379bb8e135ee566589e8e348e0bdd78
Parents: 8e5aad4
Author: stack <st...@apache.org>
Authored: Mon Sep 29 10:49:03 2014 -0700
Committer: stack <st...@apache.org>
Committed: Mon Sep 29 10:49:03 2014 -0700

----------------------------------------------------------------------
 src/main/docbkx/ops_mgt.xml | 13 +++++++++++++
 1 file changed, 13 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/82bb3707/src/main/docbkx/ops_mgt.xml
----------------------------------------------------------------------
diff --git a/src/main/docbkx/ops_mgt.xml b/src/main/docbkx/ops_mgt.xml
index f882646..1f83a15 100644
--- a/src/main/docbkx/ops_mgt.xml
+++ b/src/main/docbkx/ops_mgt.xml
@@ -704,6 +704,19 @@ Options:
           RegionServer. Avoid any problems by disabling the balancer first. See <xref
             linkend="lb" /> below. </para>
       </note>
+      <note>
+        <title xml:id="considerAsDead.sh">Kill Node Tool</title>
+        <para>In hbase-2.0, in the bin directory, we added a script named
+          <filename>considerAsDead.sh</filename> that can be used to kill a regionserver.
+          Hardware issues could be detected by specialized monitoring tools before the 
+          zookeeper timeout has expired. <filename>considerAsDead.sh</filename> is a
+          simple function to mark a RegionServer as dead.  It deletes all the znodes
+          of the server, starting the recovery process.  Plug in the script into
+          your monitoring/fault detection tools to initiate faster failover. Be
+          careful how you use this disruptive tool. Copy the script if you need to
+          make use of it in a version of hbase previous to hbase-2.0.
+        </para>
+      </note>
       <para> A downside to the above stop of a RegionServer is that regions could be offline for a
         good period of time. Regions are closed in order. If many regions on the server, the first
         region to close may not be back online until all regions close and after the master notices