2742 Commits

Author SHA1 Message Date
Michael Stack
467a0e726d HBASE-3016 Refactor zk logging in trunk; do less and and identifier to log messages to help debugging
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@998555 13f79535-47bb-0310-9956-ffa450edef68
2010-09-18 21:56:37 +00:00
Michael Stack
46c53f1460 Fix failing avro test
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@998504 13f79535-47bb-0310-9956-ffa450edef68
2010-09-18 18:06:22 +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
e532293310 HBASE-3006 Reading compressed HFile blocks causes way too many DFS RPC calls severly impacting performance--Now add fix I intended, a spelling mistake in HFile
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@997975 13f79535-47bb-0310-9956-ffa450edef68
2010-09-17 04:21:28 +00:00
Michael Stack
96f8cbe9e2 HBASE-3006 Reading compressed HFile blocks causes way too many DFS RPC calls severly impacting performance--Revert mistaken over commit
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@997974 13f79535-47bb-0310-9956-ffa450edef68
2010-09-17 04:20:55 +00:00
Michael Stack
cac06d4573 HBASE-3006 Reading compressed HFile blocks causes way too many DFS RPC calls severly impacting performance
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@997973 13f79535-47bb-0310-9956-ffa450edef68
2010-09-17 04:18:33 +00:00
Michael Stack
763865630c HBASE-3006 Reading compressed HFile blocks causes way too many DFS RPC calls severly impacting performance
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@997968 13f79535-47bb-0310-9956-ffa450edef68
2010-09-17 03:56:16 +00:00
Michael Stack
5145547154 HBASE-2899 hfile.min.blocksize.size ignored/documentation wrong
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@997544 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 23:57:15 +00:00
Ryan Rawson
5b600805b5 HBASE-2782 QOS for META table access
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@997541 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 23:44:08 +00:00
Ryan Rawson
55633e79f1 HBASE-2997 Performance fixes - profiler driven (build/test fix)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@997533 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 22:50:49 +00:00
Ryan Rawson
009f461738 HBASE-2997 Performance fixes - profiler driven
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@997519 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 21:48:04 +00:00
Ryan Rawson
5581a249e8 HBASE-2941 port HADOOP-6713 - threading scalability for RPC reads - to HBase
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@997512 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 21:26:40 +00:00
Michael Stack
eecc426f78 Fix NPE in LoadBalancer that I added with my commit of HBASE-2979
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@997510 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 21:24:47 +00:00
Michael Stack
fb42084ba9 Fix TestHeapSize broke by HBASE-2988
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@997483 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 20:23:31 +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
787d807b37 HBASE-2986 multi writable can npe causing client hang
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@997353 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 14:40:00 +00:00
Andrew Kyle Purtell
762e374861 HBASE-2988 Support alternate compression for major compactions
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@997168 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 02:01:56 +00:00
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
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
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
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
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
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
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
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
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
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
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