Commit Graph

2696 Commits

Author SHA1 Message Date
Todd Lipcon 02cd4a9b01 HBASE-2980. Refactor region server command line to a new class
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@996633 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 18:37:11 +00:00
Michael Stack d48a3d0a27 HBASE-2720 TestFromClientSide fails for client region cache prewarm on Hudson
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@996255 13f79535-47bb-0310-9956-ffa450edef68
2010-09-12 05:44:36 +00:00
Michael Stack 1d58b8a3bf HBASE-2870 Add Backup CLI Option to HMaster; repair of damage done to this patch by 2692 master rewrite
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@996204 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 19:48:02 +00:00
Todd Lipcon 4373f9eeb7 HBASE-2983. TestHLog unit test is mis-comparing an assertion (Alex Newman via Todd Lipcon)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@995999 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 22:09:11 +00:00
Michael Stack 32800d3be6 HBASE-2978 LoadBalancer IndexOutOfBoundsException
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@995679 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 06:01:30 +00:00
Todd Lipcon 94b78b4997 HBASE-2977. Refactor master command line to a new class
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@995674 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 05:48:39 +00:00
Michael Stack 9453a813d0 HBASE-2961 Close zookeeper when done with it (HCM, Master, and RS)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@995612 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 00:03:57 +00:00
Michael Stack 5b31d2cd72 Formatting fixup -- use programlisting rather than code delimiting commands
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@995500 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 17:15:11 +00:00
Todd Lipcon 72f2c22bfc HBASE-2975. DFSClient names in master and RS should be unique
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@995495 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 17:05:36 +00:00
Michael Stack bae69e07c4 Running HFile tool passing fully-qualified filename I get 'IllegalArgumentException: Wrong FS'
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@995486 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 16:41:02 +00:00
Michael Stack 84763cdd0a HBASE-2974 LoadBalancer ArithmeticException: / by zero
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@995318 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 05:43:13 +00:00
Michael Stack 2210cf908b HBASE-2973 NPE in LogCleaner
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@995281 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 23:34:10 +00:00
Michael Stack e144e8f32d HBASE-2969 missing sync in HTablePool.getTable()
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@995273 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 22:41:27 +00:00
Michael Stack cf43037b3b HBASE-2967 Failed split: IOE 'File is Corrupt' -- sync length not being written out to SequenceFile
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@995256 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 21:15:22 +00:00
Michael Stack bd7e091b2d HBASE-2889 Tool to look at HLogs -- parse and tail -f; added part 1, some fixup of hlog main; added a bit of documentation on hlog tool
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@995233 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 19:57:16 +00:00
Michael Stack 74066765bb HBASE-2889 Tool to look at HLogs -- parse and tail -f; added part 1, some fixup of hlog main
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@995222 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 19:43:27 +00:00
Andrew Kyle Purtell 6e2d002734 HBASE-2942 Custom filters should not require registration in HBaseObjectWritable
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@995220 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 19:42:32 +00:00
Michael Stack 3b16358da3 HBASE-2889 Tool to look at HLogs -- parse and tail -f; added part 1, some fixup of hlog main
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@995182 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 18:33:51 +00:00
Jonathan Gray 4481fafee4 HBASE-1485 Wrong or indeterminate behavior when there are duplicate versions of a column (pranav via jgray)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@995163 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 17:22:31 +00:00
Michael Stack b89eb144d1 HBASE-2964 Deadlock when RS tries to RPC to itself inside SplitTransaction
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@995151 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 16:57:52 +00:00
Michael Stack d98956f9cd HBASE-2962 Add missing methods to HTableInterface (and HTable)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@993548 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 22:20:40 +00:00
Todd Lipcon 1805c1b3b1 chmod master-backup.sh to be executable
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@993175 13f79535-47bb-0310-9956-ffa450edef68
2010-09-06 23:23:58 +00:00
Michael Stack f0f9240de4 HBASE-2925 LRU of HConnectionManager.HBASE_INSTANCES breaks if HBaseConfiguration is changed
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@993078 13f79535-47bb-0310-9956-ffa450edef68
2010-09-06 15:50:46 +00:00
Michael Stack 72ddbced0c HBASE-1845 MultiGet, MultiDelete, and MultiPut - batched to the appropriate region servers; commit again -- was removed by hbase-2692 commit
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@992531 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 03:57:57 +00:00
Michael Stack 9f12e0d060 HBASE-1845 MultiGet, MultiDelete, and MultiPut - batched to the appropriate region servers; commit again -- was removed by hbase-2692 commit
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@992530 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 03:57:21 +00:00
Michael Stack 61f9214268 HBASE-2955 hbase-2692 broke replication -- committed HCM change by mistake
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@992426 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 19:20:09 +00:00
Michael Stack 6f4e9c7117 HBASE-2955 hbase-2692 broke replication -- disabling replication tests till this issue is addressed
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@992425 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 19:18:39 +00:00
Michael Stack f5521ee5a7 HBASE-2955 hbase-2692 broke replication -- disabling replication tests till this issue is addressed
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@992423 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 19:07:27 +00:00
Michael Stack 67f2923810 HBASE-2955 hbase-2692 broke replication -- disabling replication tests till this issue is addressed
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@992408 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 18:35:47 +00:00
Michael Stack 33257e051e Edit of what is done on WAL exceptions
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@992324 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 15:20:19 +00:00
Michael Stack 39e213e62d HBASE-2643 Figure how to deal with eof splitting logs
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@992215 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 05:57:02 +00:00
Michael Stack 95a9c26c77 HBASE-2943 major_compact (and other admin commands) broken for .META. -- Bug spotted by jgray after commit
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@992131 13f79535-47bb-0310-9956-ffa450edef68
2010-09-02 22:18:54 +00:00
Michael Stack e3d0498438 HBASE-2943 major_compact (and other admin commands) broken for .META.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@992110 13f79535-47bb-0310-9956-ffa450edef68
2010-09-02 20:39:41 +00:00
Michael Stack 1574bac2f1 HBASE-2799 'Append not enabled' warning should not show if hbase root dir isn't on DFS
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@992027 13f79535-47bb-0310-9956-ffa450edef68
2010-09-02 17:31:48 +00:00
Michael Stack 081f97077b HBASE-2918 SequenceFileLogWriter doesnt make it clear if there is no append by config or by missing lib/feature
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@991741 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 22:34:12 +00:00
Michael Stack 1e70bfbb00 HBASE-2857 HBaseAdmin.tableExists() should not require a full meta scan
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@991734 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 22:14:40 +00:00
Michael Stack 34efa17d46 HBASE-2594 Fix broken build caused by hbase-2692 commit
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@991713 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 21:40:34 +00:00
Michael Stack 6d747b7f38 HBASE-2953 Edit of hbase-default.xml removing stale configs.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@991700 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 20:51:50 +00:00
Michael Stack 22922782b7 HBASE-2692 Some more things that have been fixed by hbase-2692
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@991687 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 20:15:19 +00:00
Michael Stack 27e81edd9a HBASE-2692 Added a few other issues to CHANGES.txt that have been closed because of HBASE-2692
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@991670 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 19:47:58 +00:00
Michael Stack 177abe115f HBASE-2948 bin/hbase shell broken
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@991584 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 16:10:14 +00:00
Michael Stack 6b9c231dec HBASE-2948 bin/hbase shell broken (after hbase-2692)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@991552 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 14:38:49 +00:00
Michael Stack 85babe8fe7 HBASE-2692 Master rewrite and cleanup for 0.90 -- added in Jon's documentation ohow region transition works now
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@991435 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 04:59:39 +00:00
Michael Stack dff733cd3a HBASE-2692 Master rewrite and cleanup for 0.90
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@991421 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 03:16:23 +00:00
Jonathan Gray 04afcd034c HBASE-2944 cannot alter bloomfilter setting for a column family from hbase shell (kannan via jgray)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@991408 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 00:31:37 +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
Ryan Rawson 8586a6238a HBASE-1845 MultiGet, MultiDelete, and MultiPut - batched to the
appropriate region servers (Marc Limotte via Ryan)


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@991289 13f79535-47bb-0310-9956-ffa450edef68
2010-08-31 18:53:32 +00:00
Jean-Daniel Cryans 7abfcbc22c HBASE-2920 HTable.checkAndPut/Delete doesn't handle null values
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@989296 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 18:58:43 +00:00
Jean-Daniel Cryans 6e72b3cef3 HBASE-2897 The test wasn't passing because the family wasn't parsed correctly
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@988746 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24 22:32:29 +00:00
Jean-Daniel Cryans bdc56078d4 HBASE-2915 Deadlock between HRegion.ICV and HRegion.close
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@988343 13f79535-47bb-0310-9956-ffa450edef68
2010-08-23 22:47:36 +00:00