hbase/bin
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
..
replication HBASE-2223 Handle 10min+ network partitions between clusters 2010-07-01 00:25:50 +00:00
add_table.rb HBASE-2531 32-bit encoding of regionnames waaaaaaayyyyy too susceptible to hash clashes 2010-06-01 03:50:57 +00:00
check_meta.rb HBASE-7 Provide a HBase checker and repair tool similar to fsck; add handling of disable parents 2010-05-25 20:50:04 +00:00
copy_table.rb added copyright notices 2010-03-26 22:45:48 +00:00
hbase HBASE-2879 Offer ZK CLI outside of HBase Shell 2010-07-27 21:50:05 +00:00
hbase-config.sh HBASE-2870: Add Backup CLI Option to HMaster 2010-08-10 16:54:40 +00:00
hbase-daemon.sh HBASE-1660: script to handle rolling restarts 2010-08-13 04:12:09 +00:00
hbase-daemons.sh HBASE-2870: Add Backup CLI Option to HMaster 2010-08-10 16:54:40 +00:00
hirb.rb HBASE-2632. Shell should autodetect terminal width 2010-05-31 16:49:50 +00:00
loadtable.rb added copyright notices 2010-03-26 22:45:48 +00:00
local-master-backup.sh HBASE-2870: Add Backup CLI Option to HMaster 2010-08-10 16:54:40 +00:00
local-regionservers.sh HBASE-2879 Offer ZK CLI outside of HBase Shell 2010-07-27 21:50:05 +00:00
master-backup.sh HBASE-1660 need a rolling restart script -- forgot to add scripts 2010-08-23 22:36:47 +00:00
regionservers.sh HBASE-1660: script to handle rolling restarts 2010-08-13 04:12:09 +00:00
rename_table.rb added copyright notices 2010-03-26 22:45:48 +00:00
rolling-restart.sh HBASE-2692 Master rewrite and cleanup for 0.90 2010-08-31 23:51:44 +00:00
set_meta_block_caching.rb HBASE-2572 hbase/bin/set_meta_block_caching.rb:72: can't convert Java::JavaLang::String into String (TypeError) - little issue with script 2010-05-19 17:03:38 +00:00
start-hbase.sh HBASE-2692 Master rewrite and cleanup for 0.90 2010-08-31 23:51:44 +00:00
stop-hbase.sh HBASE-2692 Master rewrite and cleanup for 0.90 2010-08-31 23:51:44 +00:00
zookeepers.sh HBASE-2879 Offer ZK CLI outside of HBase Shell 2010-07-27 21:50:05 +00:00