Commit Graph

103 Commits

Author SHA1 Message Date
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 8f5e996795 HBASE-2886 Add search box to site
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@980135 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 17:33:53 +00:00
Michael Stack b9f99f7c51 Don't run tests when we do 'mvn site' -- we don't even show the produced surefire report in our site; it makes no sense showing test results as part of our site at least
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@979874 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 21:06:30 +00:00
Michael Stack 55e8b201e6 HBASE-2650 Consolidate user guide style documentation -- experiment with docbkx mvn plugin
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@979124 13f79535-47bb-0310-9956-ffa450edef68
2010-07-25 21:34:46 +00:00
Michael Stack 21cbe58d6e HBASE-2850 slf4j version needs to be reconciled in pom: thrift wants 1.5.x and hadoop/avro 1.4.x
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@966661 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 14:01:57 +00:00
Michael Stack edf052f87a HBASE-2835 Update hadoop jar to head of branch-0.20-append to catch three added patches
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@964968 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 22:47:23 +00:00
Michael Stack e95b60b9d3 Set hbase.version to 0.89 rather than 0.21
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@964630 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 22:25:44 +00:00
Michael Stack c49eba4c42 HBASE-2836 Speed mvn site building by removing generation of useless reports
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@964218 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14 22:02:57 +00:00
Michael Stack 82ea5767b2 Fix mail archive links and add hadoop-search.com
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@964101 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14 17:19:03 +00:00
Jean-Daniel Cryans 03933720fa HBASE-2223 Handle 10min+ network partitions between clusters
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@959479 13f79535-47bb-0310-9956-ffa450edef68
2010-07-01 00:25:50 +00:00
Michael Stack 4637114fce HBASE-2779 Build a -src tgz to sit beside our -bin tgz when you call maven assembly:assembly
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@957351 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 21:22:21 +00:00
Jean-Daniel Cryans 049120cdde HBASE-2772 Scan doesn't recover from region server failure
HBASE-2775  Update of hadoop jar in HBASE-2771 broke TestMultiClusters


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@957333 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 20:33:48 +00:00
Ryan Rawson 1e1aafef95 HBASE-2771 Update our hadoop jar to be latest from 0.20-append branch
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@957057 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 22:09:59 +00:00
Todd Lipcon 16dfe22a6d HBASE-2724. Update to new release of Guava library
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@954707 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 05:07:57 +00:00
Ryan Rawson 84378fa8bf HBASE-2400 new connector for Avro RPC access to HBase cluster
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@954175 13f79535-47bb-0310-9956-ffa450edef68
2010-06-13 06:53:50 +00:00
Michael Stack 504d473331 HBASE-2716 Make HBase's maven artifacts configurable with -D
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@953934 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 04:28:38 +00:00
Michael Stack bdcc7f126a HBASE-2703 ui not working in distributed context
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@953495 13f79535-47bb-0310-9956-ffa450edef68
2010-06-10 23:21:45 +00:00
Michael Stack 5e6a5b0aaa HBASE-2558 Our' JAVADOC overview -- 'Getting Started', requirements, etc. -- is not carried across by mvn javadoc:javadoc target -- more clean of front-page, added faq, documentation section
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@952740 13f79535-47bb-0310-9956-ffa450edef68
2010-06-08 17:23:23 +00:00
Michael Stack e6de46ef37 HBASE-2558 [mvn] Our javadoc overview -- 'Getting Started', requirements, etc. -- is not carried across by mvn javadoc:javadoc target
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@952565 13f79535-47bb-0310-9956-ffa450edef68
2010-06-08 08:16:12 +00:00
Ryan Rawson a01c22af11 HBASE-2578 Add ability for tests to override server-side timestamp setting (currentTimeMillis)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@952479 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 23:06:24 +00:00
Todd Lipcon 051fc27324 HBASE-2654. Add additional maven repository temporarily to fetch Guava
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@950694 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 17:58:30 +00:00
Todd Lipcon f9a10488c0 HBASE-1923. Bulk incremental load into an existing table
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@950321 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 00:40:48 +00:00
Michael Stack dacf350835 HBASE-2437 Refactor HLog splitLog
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@950174 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 18:01:53 +00:00
Andrew Kyle Purtell edf52b76df HBASE-2636 Upgrade Jetty to 6.1.24
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@949921 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 04:01:06 +00:00
Andrew Kyle Purtell bb8e346466 HBASE-2586 Move hbase webapps to a hbase-webapps dir
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@948298 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 02:56:08 +00:00
Todd Lipcon 9a5cef8aba Add myself to developer list in pom
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@947939 13f79535-47bb-0310-9956-ffa450edef68
2010-05-25 06:52:16 +00:00
Jonathan Gray 0b590b5703 HBASE-2538 Work on repository order in pom (adding fbmirror to top, ibiblio on bottom)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@947232 13f79535-47bb-0310-9956-ffa450edef68
2010-05-22 04:39:06 +00:00
Michael Stack 851b6a9cfc HBASE-2594 Narrow pattern used finding unit tests to run -- make it same was we had in 0.20
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@947182 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 21:35:30 +00:00
Michael Stack cb03dcca73 HBASE-2587 Coral where tests write data when running and make sure clean target removes all written
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@946874 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 05:17:20 +00:00
Michael Stack 3d5c3a66b3 HBASE-2583 Make webapps work in distributed mode again and make webapps deploy at / instead of at /webapps/master/master.jsp
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@946571 13f79535-47bb-0310-9956-ffa450edef68
2010-05-20 09:02:18 +00:00
Michael Stack 49aee06f93 HBASE-2577 Remove 'core' maven module; move core up a level
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@946530 13f79535-47bb-0310-9956-ffa450edef68
2010-05-20 05:24:32 +00:00
Michael Stack ef92b957cd HBASE-2565 Remove contrib module from hbase
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@945916 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 21:55:53 +00:00
Michael Stack ea86b21299 HBASE-2392 upgrade to ZooKeeper 3.3.0 (I updated us to 3.3.1)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@945531 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 08:08:58 +00:00
Michael Stack 05980e26b8 HBASE-2523 Add check for licenses before rolling an RC, add to how-to-release doc. and check for inlining a tool that does this for us
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@944718 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 21:06:11 +00:00
Jonathan Gray d335b19ebd HBASE-2537 Change ordering of maven repos listed in pom.xml to have ibiblio first
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@943747 13f79535-47bb-0310-9956-ffa450edef68
2010-05-12 23:11:25 +00:00
Michael Stack 0f17cbf487 HBASE-2452 Fix our Maven dependencies
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@936062 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 21:10:44 +00:00
Michael Stack adbb2c58f8 HBASE-1933 Upload Hbase jars to a public maven repository
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@933448 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 23:50:51 +00:00
Andrew Kyle Purtell 4a03a8d641 HBASE-2392 Upgrade to ZooKeeper 3.3.0
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@929320 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 22:20:40 +00:00
Michael Stack 136d3a1f58 HBASE-2364 Ignore Deprecations during build
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@926462 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 03:56:52 +00:00
Ryan Rawson e2725f70fb HBASE-2255 take trunk back to hadoop 0.20
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@926397 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 23:36:37 +00:00
Michael Stack 72426552f4 HBASE-2334 Slimming of Maven dependency tree - improves assembly build
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@924156 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 04:56:58 +00:00
Michael Stack 1160dca052 Really restore the pom.xml to assembly plugin 2.2-beta-5
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@923494 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 23:05:17 +00:00
Michael Stack 6860cdc27c Moving assembly plugin back to 2.2 beta 1 from beta 5 at Paul's suggestion
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@922883 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 16:12:15 +00:00
Michael Stack e2fa99c498 Remove descriptorRef for src/assembly/bin.xml at Paul Smith suggestion
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@922750 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 03:33:56 +00:00
Michael Stack 20319e9eab HBASE-2309 Add apache releases to pom (list of ) repositories
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@922092 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 01:03:28 +00:00
Michael Stack 83258ba826 Changes to findbugs config. to make it work w/ hudson
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@919705 13f79535-47bb-0310-9956-ffa450edef68
2010-03-06 05:19:18 +00:00
Michael Stack 18bcbdd4a2 Remove forkedProcessTimeoutInSeconds on javadoc plugin
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@919698 13f79535-47bb-0310-9956-ffa450edef68
2010-03-06 04:07:18 +00:00
Michael Stack 94b3c5324f Added new hbase-issues mailing list
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@919618 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 21:10:09 +00:00
Michael Stack 6db73b1c8d HBASE-2267 More improvements to the Maven build
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@919095 13f79535-47bb-0310-9956-ffa450edef68
2010-03-04 17:54:27 +00:00
Andrew Kyle Purtell bfce9fa0ef HBASE-2268 [stargate] Failed tests and DEBUG output is dumped to console since move to Mavenized build
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@916481 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 22:54:27 +00:00
Michael Stack a5a5d26ac3 HBASE-2254, HBASE-2260 Improvements to the Maven POMs AND remove ivy and ant
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@915959 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 20:17:17 +00:00
Ryan Rawson bc1496db15 HBASE-2250 typo in the maven pom
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@915137 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 02:11:00 +00:00
Michael Stack 7bc5c1e301 HBASE-2099 Move build to Maven
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@915116 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 23:49:24 +00:00