Commit Graph

26 Commits

Author SHA1 Message Date
Duo Zhang 1aea663c6d HBASE-26899 Run spotless:apply 2022-05-01 22:52:40 +08:00
Lokesh Khurana 8472c68720
HBASE-25237 : 'hbase master stop' shuts down the cluster, not the master only
Closes #2705

Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-11-27 16:05:07 +05:30
Mike Drob 4476cc196c
HBASE-19784 bin/stop-hbase more friendly when hbase already stopped
Signed-off-by: Michael Stack <stack@apache.org>
2018-01-17 15:49:23 -08:00
Sean Busbey 4ce6f486d0 HBASE-14087 Ensure correct ASF headers for docs/code
* adds missing headers
* corrects some old-form headers to current
* restores proper header for guava copied LimitInputStream
* adds proper header for protobuf copied read/writeRawVarint
2015-07-29 14:25:43 -05:00
Michael Stack a2e9e7e8f9 HBASE-8565 stop-hbase.sh clean up: backup master
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1516370 13f79535-47bb-0310-9956-ffa450edef68
2013-08-22 05:53:35 +00:00
nkeywal dac024559d HBASE-7838 HBase regionserver never stoping when running hbase-daemon.sh stop regionserver (Damien Hardy) - addendum
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1448997 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 11:33:11 +00:00
Michael Stack 19c00d1283 HBASE-7846 master pid file is not getting removed if we stop hbase from stop-hbase.sh
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1431913 13f79535-47bb-0310-9956-ffa450edef68
2013-01-11 06:53:11 +00:00
Michael Stack e34ddabefa HBASE-6504 Adding GC details prevents HBase from starting in non-distributed mode
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1385026 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 07:32:52 +00:00
Kannan Muthukkaruppan 7dbde6f932 HBASE-4761 Add Developer Debug Options to HBase Config
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1203409 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 22:53:42 +00:00
Michael Stack 7c9f2c7da0 HBASE-4445 Not passing --config when checking if distributed mode or not
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1172888 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 23:07:53 +00:00
Michael Stack d153ec95da HBASE-3010 Can't start/stop/start... cluster using new master
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@998380 13f79535-47bb-0310-9956-ffa450edef68
2010-09-18 00:51:05 +00:00
Michael Stack f521309532 HBASE-2692 Master rewrite and cleanup for 0.90
Patch brought over from 0.90_master_rewrite branch.

Replication test is broke as are some of the rest tests.
Others should be passing.

Some of the changes made in this fat patch:

+ In HLogKey, we now use encoded region name instead of full region name.
+ On split, daughters are opened on the parent's regionserver; let the new balancer
sort them out later when it cuts in.
+ Added move region from one server to another as well as enable/disable balancer.
+ All .META. and -ROOT- edits go via new *Editor and *Reader classes -- no more
do we have 5 different ways of reading and editing .META.
+ Rather than 3 different listeners to hlog each w/ own way of listening, instead
we only have WALObserver now.
+ New Server Interface that has whats common to HMaster and RegionServer. Also
new Services Interface.  This should make test writing cleaner making it so
less need of full cluster context testing anything -- e.g. the new
Interfaces are good w/ Mockito.
+ New balacner that runs on a period and takes into consideration all load
across cluster.
+ Table online/offline is now a flag in ZK; the offline flag on a region is
just used splitting from here on out.
+ Moved fixup of failed add of daughter edits to .META. into shutdown server
recover code (It used to be in basescanner).
+ The heartbeat now sends master the regionserver load and is used sending
shutdown message from master to regionserver ONLY; all other messages are
via zk (HMsg is pretty bare now).
+ No more Worker in RS and ToDoQueue in master.  Both in master and regionserver
we use handlers instead run out of Executors.
+ Client can not send split, flush, compact direct to RS; no longer does
it go via master.
+ Server shutdown runs differently now. All are watching a flag in zk.
When RS notices its gone, it closes all user-space regions. If thats all
it was carrying, then it goes down.  Otherwise, waits on master to send
the shutdown msg via heartbeat.



git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@991397 13f79535-47bb-0310-9956-ffa450edef68
2010-08-31 23:51:44 +00:00
Michael Stack e30ddb01aa HBASE-2870: Add Backup CLI Option to HMaster
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@984116 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 16:54:40 +00:00
Michael Stack 2db593c8c6 HBASE-2871 Make 'start|stop' commands symmetric for Master & Cluster
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@982123 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 05:27:09 +00:00
Michael Stack b0e56b5cfa HBASE-2879 Offer ZK CLI outside of HBase Shell
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@979881 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 21:50:05 +00:00
Michael Stack 00ed966728 HBASE-2831 Fix '' path duplication in setup scripts
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@963539 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 00:24:12 +00:00
Michael Stack ea52d836b4 HBASE-2449 Local HBase does not stop properly
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@945836 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 19:24:36 +00:00
Nitay Joffe 002e9e8bdc HBASE-1551 HBase should manage multiple node ZooKeeper quorum
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@792636 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 19:04:43 +00:00
Jean-Daniel Cryans 476da38f1f HBASE-1147 Modify the scripts to use Zookeeper
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@738184 13f79535-47bb-0310-9956-ffa450edef68
2009-01-27 18:20:09 +00:00
Michael Stack 24b065cc91 HADOOP-403 Fix build after move of hbase in svn
Removed mention of all of the HADOOP_* environment variables. Made
HBASE_* equivs.  hbase-env.sh is not near dup of hadoop-env.sh.
Removed options on scripts that used take both hbase and hadoop
conf and home. Now we just work w/ hbase.  Fixed logging (logs
dir now under hbase).


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@618765 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 20:09:24 +00:00
Michael Stack 5233c28aaa HADOOP-2011 Make hbase daemon scripts take args in same order as hadoop
daemon scripts


git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@583037 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 03:25:00 +00:00
Michael Stack 4038ec9102 HADOOP-1931 Hbase scripts take --ARG=ARG_VALUE when should be like
hadoop and do ---ARG ARG_VALUE


git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@578032 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 09:27:46 +00:00
Michael Stack 3d7bec584c HADOOP-1920 Wrapper scripts broken when hadoop in one location and
hbase in another


git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@577355 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 16:45:01 +00:00
Doug Cutting d5cc43d394 HADOOP-1689. Make shell scripts more portable.
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@568809 13f79535-47bb-0310-9956-ffa450edef68
2007-08-23 02:19:18 +00:00
Jim Kellerman c6bf382ebe HADOOP-1600 Update license in HBase code
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@555791 13f79535-47bb-0310-9956-ffa450edef68
2007-07-12 22:08:25 +00:00
Jim Kellerman e78644ed10 HADOOP-1465 Add cluster stop/start scripts for hbase
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@547427 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 22:08:56 +00:00