158 Commits

Author SHA1 Message Date
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
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
Michael Stack
88eb9c5281 HBASE-2931 Do not throw RuntimeExceptions in RPC/HbaseObjectWritable code, ensure we log and rethrow as IOE
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@987952 13f79535-47bb-0310-9956-ffa450edef68
2010-08-22 22:20:16 +00:00
Jean-Daniel Cryans
461c835fc9 HBASE-2922 HLog preparation and cleanup are done under the updateLock,
major slowdown


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@987675 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 23:44:23 +00:00
Jonathan Gray
5e9f6d1528 HBASE-2928 Fault in logic in BinaryPrefixComparator leads to ArrayIndexOutOfBoundsException (pranav via jgray)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@986969 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 22:27:58 +00:00
Jean-Daniel Cryans
0e481c64e8 HBASE-2927 BaseScanner gets stale HRegionInfo in some race cases
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@986887 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 19:40:49 +00:00
Jean-Daniel Cryans
625a079b73 HBASE-2923 Deadlock between HRegion.internalFlushCache and close
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@986448 13f79535-47bb-0310-9956-ffa450edef68
2010-08-17 18:44:35 +00:00
Michael Stack
4dbf0c9b69 HBASE-2919 initTableReducerJob: Unused method parameter.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@986058 13f79535-47bb-0310-9956-ffa450edef68
2010-08-16 17:21:17 +00:00
Ryan Rawson
4784ec1b57 HBASE-1517 Implement inexpensive seek operations in HFile (Pranav via Ryan)
HBASE-2903  ColumnPrefix filtering (Pranav via Ryan)
HBASE-2904  Smart seeking using filters (Pranav via Ryan)



git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@985412 13f79535-47bb-0310-9956-ffa450edef68
2010-08-14 00:30:20 +00:00
Jean-Daniel Cryans
d80de85a69 HBASE-2909 SoftValueSortedMap is broken, can generate NPEs
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@985383 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 22:09:42 +00:00
Michael Stack
92ffa8580c HBASE-2868 Do some small cleanups in org.apache.hadoop.hbase.regionserver.wal
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@984433 13f79535-47bb-0310-9956-ffa450edef68
2010-08-11 15:03:21 +00:00
Michael Stack
8b5d7dbb1c HBASE-2908 Wrong order of null-check [in TIF]
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@984423 13f79535-47bb-0310-9956-ffa450edef68
2010-08-11 14:43:15 +00:00
Michael Stack
e30ddb01aa HBASE-2870: Add Backup CLI Option to HMaster
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@984116 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 16:54:40 +00:00
Andrew Kyle Purtell
a95f1ed4f6 HBASE-2905 NPE when inserting mass data via REST interface
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@983699 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 15:55:19 +00:00
Andrew Kyle Purtell
af09891840 HBASE-2897 RowResultGenerator should handle NoSuchColumnFamilyException; add hunk missed from last commit
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@983667 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 14:56:38 +00:00
Andrew Kyle Purtell
0530905854 HBASE-2897 RowResultGenerator should handle NoSuchColumnFamilyException
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@983493 13f79535-47bb-0310-9956-ffa450edef68
2010-08-08 23:29:53 +00:00
Michael Stack
f4ed3cd699 HBASE-2844 Capping the number of regions
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@983442 13f79535-47bb-0310-9956-ffa450edef68
2010-08-08 15:59:46 +00:00
Michael Stack
25ffbc5f11 HBASE-2823 Entire Row Deletes not stored in Row+Col Bloom
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@982472 13f79535-47bb-0310-9956-ffa450edef68
2010-08-05 05:16:10 +00:00
Michael Stack
37af9aab2e HBASE-2901 HBASE-2461 broke build
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@982461 13f79535-47bb-0310-9956-ffa450edef68
2010-08-05 03:58:32 +00:00
Michael Stack
094197a180 HBASE-2461 Split doesn't handle IOExceptions when creating new region reference files; forgot to svn add new files
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@982122 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 05:08:38 +00:00
Michael Stack
f7b8d9cf7a HBASE-2461 Split doesn't handle IOExceptions when creating new region reference files
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@982089 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 00:00:51 +00:00
Jean-Daniel Cryans
77aef8f799 HBASE-2892 Replication metrics aren't updated
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@980993 13f79535-47bb-0310-9956-ffa450edef68
2010-07-30 23:37:19 +00:00
Michael Stack
b3db1e976e HBASE-2792 Create a better way to chain log cleaners
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@980901 13f79535-47bb-0310-9956-ffa450edef68
2010-07-30 18:10:04 +00:00
Michael Stack
2d214ccc52 HBASE-2755 Duplicate assignment of a region after region server recovery
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@980649 13f79535-47bb-0310-9956-ffa450edef68
2010-07-30 04:57:44 +00:00
Michael Stack
26ebe0c583 HBASE-2890 init per-method RPC metrics on startup
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@980638 13f79535-47bb-0310-9956-ffa450edef68
2010-07-30 03:22:08 +00:00
Todd Lipcon
852f3cf9a0 HBASE-2820 hbck throws an error if HBase root dir isn't on the default FS
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@980264 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 23:14:12 +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
5215e49df0 HBASE-1729 Move cache stats out of RS log and into metrics
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@979834 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 19:59:01 +00:00
Jean-Daniel Cryans
ea63f24c5d HBASE-2838 Replication metrics
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@979532 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 04:58:31 +00:00
Jonathan Gray
90908553e9 HBASE-2852 Bloom filter NPE (pranav via jgray)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@979491 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 01:31:04 +00:00
Andrew Kyle Purtell
95612cd281 HBASE-1537 Intra-row scanning; Query matcher will be confused if intra-row scanning
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@978980 13f79535-47bb-0310-9956-ffa450edef68
2010-07-25 04:32:45 +00:00
Michael Stack
e60312c1bd HBASE-2815 not able to run the test suite in background because TestShell gets suspended on tty output
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@978973 13f79535-47bb-0310-9956-ffa450edef68
2010-07-25 03:48:58 +00:00
Michael Stack
04bf6f48e4 HBASE-2876 HBase hbck: false positive error reported for parent regions that are in offline state in meta after a split
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@978971 13f79535-47bb-0310-9956-ffa450edef68
2010-07-25 03:45:26 +00:00
Michael Stack
e258c33f78 HBASE-2849 HBase clients cannot recover when their ZooKeeper session becomes invalid
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@978802 13f79535-47bb-0310-9956-ffa450edef68
2010-07-24 05:18:38 +00:00
Michael Stack
01a251b50a HBASE-2874 Unnecessary double-synchronization in ZooKeeperWrapper
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@978801 13f79535-47bb-0310-9956-ffa450edef68
2010-07-24 05:08:21 +00:00