Commit Graph

19 Commits

Author SHA1 Message Date
Sean Busbey 9091409800 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

Conflicts:
	bin/considerAsDead.sh
	dev-support/rebase_all_git_branches.sh
2015-07-31 11:22:50 -07:00
Michael Stack 8b00ce12bf HBASE-10797 Add support for -h and --help to rolling_restart.sh and fix the usage string output
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1579477 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 00:01:35 +00:00
Jonathan Hsieh 04b60809fa HBASE-10731 Fix environment variables typos in scripts (Albert Chu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1576956 13f79535-47bb-0310-9956-ffa450edef68
2014-03-12 22:16:28 +00:00
Michael Stack e09d637d7a HBASE-8803 region_mover.rb should move multiple regions at a time
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1572327 13f79535-47bb-0310-9956-ffa450edef68
2014-02-26 23:05:50 +00:00
Michael Stack 12f0dce3ae HBASE-10051 rolling-restart.sh have old value of "zookeeper.znode.unassiged" config causing infinite loop
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1546215 13f79535-47bb-0310-9956-ffa450edef68
2013-11-27 22:26:36 +00:00
Zhihong Yu 229789adf2 HBASE-8030 znode path of online region servers is hard coded in rolling_restart.sh (Rajeshbabu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1454170 13f79535-47bb-0310-9956-ffa450edef68
2013-03-07 23:45:38 +00:00
larsh 91f4605c0b HBASE-7785 rolling-restart.sh script unable to check expiration of master znode (Samir Ahmic)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1443659 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 18:58:35 +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
Jonathan Hsieh c38f889627 HBASE-5603 rolling-restart.sh script hangs when attempting to detect expiration of /hbase/master znode
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1303184 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 22:46:54 +00:00
Michael Stack a728f94079 HBASE-5314 racefully rolling restart region servers in rolling-restart.sh
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1299983 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 06:30:15 +00:00
Todd Lipcon 69eec35098 HBASE-3511. Allow rolling restart to apply to only RS or only masters
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1068158 13f79535-47bb-0310-9956-ffa450edef68
2011-02-07 21:57:47 +00:00
Michael Stack 89a5eb519a HBASE-2998 rolling-restart.sh shouldn't rely on zoo.cfg; some improvements to the rr script -- reapply rolling-restart.bin improvments
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1026532 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 23:47:24 +00:00
Michael Stack bd29da76b8 HBASE-2998 rolling-restart.sh shouldn't rely on zoo.cfg; some improvements to the rr script -- reverse mistaken commit
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1026531 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 23:46:48 +00:00
Michael Stack 402b33140d HBASE-2998 rolling-restart.sh shouldn't rely on zoo.cfg; some improvements to the rr script
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1026530 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 23:45:42 +00:00
Michael Stack 43dd80f935 Enable execute bit on rolling-restart.sh
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1025766 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 21:26:24 +00:00
Michael Stack 5d8b73585f HBASE-2979 Fix failing TestMultParrallel in hudson build
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@997437 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 18:10:43 +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 8d91604bc8 HBASE-1660 need a rolling restart script -- forgot to add scripts
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@988342 13f79535-47bb-0310-9956-ffa450edef68
2010-08-23 22:36:47 +00:00
Michael Stack b3baa8aca7 HBASE-1660: script to handle rolling restarts
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@985084 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 04:12:09 +00:00