Commit Graph

3175 Commits

Author SHA1 Message Date
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
Michael Stack 8d91604bc8 HBASE-1660 need a rolling restart script -- forgot to add scripts
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@988342 13f79535-47bb-0310-9956-ffa450edef68
2010-08-23 22:36:47 +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
Jean-Daniel Cryans 831afacddf HBASE-2924 TestLogRolling doesn't use the right HLog half the time
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@987310 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 20:57:05 +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 81df7e7598 Fix build, damn you hudson for not being unicode compatible!
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@985422 13f79535-47bb-0310-9956-ffa450edef68
2010-08-14 01:38:35 +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 b3baa8aca7 HBASE-1660: script to handle rolling restarts
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@985084 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 04:12:09 +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
Michael Stack 2569d61c80 Fix downloads page
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@983837 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 22:51:22 +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