Commit Graph

936 Commits

Author SHA1 Message Date
Michael Stack 9b4ca73d59 HBASE-947 [Optimization] Major compaction should remove deletes as well as the deleted cell
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@718430 13f79535-47bb-0310-9956-ffa450edef68
2008-11-17 23:08:56 +00:00
Michael Stack 6aec3c3e37 HBASE-1003 If cell exceeds TTL but not VERSIONs, will not be removed during major compaction
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@718370 13f79535-47bb-0310-9956-ffa450edef68
2008-11-17 20:37:34 +00:00
Andrew Kyle Purtell fc56f9ca0d HBASE-883 Secondary indexes
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@718317 13f79535-47bb-0310-9956-ffa450edef68
2008-11-17 18:34:07 +00:00
Michael Stack f759be8c0d HBASE-991 Update the mapred package document examples so they work with TRUNK/0.19.0.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@718159 13f79535-47bb-0310-9956-ffa450edef68
2008-11-17 02:28:30 +00:00
Michael Stack 79be2d87f7 HBASE-938 major compaction period is not checked periodically
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@714200 13f79535-47bb-0310-9956-ffa450edef68
2008-11-15 00:36:27 +00:00
Michael Stack b5bdaf2c1f HBASE-999 Up versions on historian and keep history of deleted regions for a while rather than delete immediately
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@714193 13f79535-47bb-0310-9956-ffa450edef68
2008-11-14 23:46:53 +00:00
Michael Stack 8e24a9fa03 HBASE-998 Narrow getClosestRowBefore by passing column family
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@713886 13f79535-47bb-0310-9956-ffa450edef68
2008-11-14 00:43:48 +00:00
Michael Stack 67fc6fdb02 HBASE-996 Migration script to up the versions in catalog tables
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@713502 13f79535-47bb-0310-9956-ffa450edef68
2008-11-12 20:44:06 +00:00
Jim Kellerman 01f09c1036 HBASE-602 HBase Crash when network card has a IPv6 address
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@713488 13f79535-47bb-0310-9956-ffa450edef68
2008-11-12 20:11:31 +00:00
Jim Kellerman b396f6b5f6 HBASE-994 IPC interfaces with different versions can cause problems
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@713217 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 23:09:23 +00:00
Michael Stack cbb74b4630 HBASE-992 Up the versions kept by catalog tables; currently 1. Make it 10?
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@713191 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 22:06:21 +00:00
Michael Stack 2966b330ae HBASE-993 Turn of logging of every catalog table row entry on every scan
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@713189 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 21:56:55 +00:00
Michael Stack 2492b8b659 HBASE-987 We need a Hbase Partitioner for TableMapReduceUtil.initTableReduceJob MR Jobs
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@712956 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 06:22:58 +00:00
Michael Stack 4171e16016 HBASE-990 NoSuchElementException in flushSomeRegions
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@712944 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 05:31:12 +00:00
Jim Kellerman 1a0fc48508 HBASE-964, HBASE-678 provide for safe-mode without locking up HBase "waiting for root region"
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@712722 13f79535-47bb-0310-9956-ffa450edef68
2008-11-10 19:03:01 +00:00
Michael Stack d71535eca7 HBASE-983 Declare Perl namespace in Hbase.thrift
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@712721 13f79535-47bb-0310-9956-ffa450edef68
2008-11-10 18:57:42 +00:00
Michael Stack 5ec924f50b HBASE-722 Shutdown and Compactions
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@712720 13f79535-47bb-0310-9956-ffa450edef68
2008-11-10 18:56:05 +00:00
Jean-Daniel Cryans d2e77503f8 HBASE-964 Startup stuck "waiting for root region"
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@712586 13f79535-47bb-0310-9956-ffa450edef68
2008-11-10 00:10:19 +00:00
Jim Kellerman bf53013be5 HBASE-951 Either shut down master or let it finish cleanup
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@712203 13f79535-47bb-0310-9956-ffa450edef68
2008-11-07 17:24:41 +00:00
Michael Stack 8fd65c9fbf HBASE-961 Delete multiple columns by regular expression
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@712068 13f79535-47bb-0310-9956-ffa450edef68
2008-11-07 06:02:59 +00:00
Michael Stack e3659aa246 HBASE-985 fix javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@712057 13f79535-47bb-0310-9956-ffa450edef68
2008-11-07 04:51:42 +00:00
Jim Kellerman f78f944026 HBASE-984 Fix javadoc warnings
This is probably the first of several patches to fix javadoc warnings. Jira issue will remain open until we create the release candidate.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@712055 13f79535-47bb-0310-9956-ffa450edef68
2008-11-07 04:44:36 +00:00
Michael Stack 8a7a750b2e HBASE-982 Deleting a column in MapReduce fails
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@711420 13f79535-47bb-0310-9956-ffa450edef68
2008-11-04 21:39:53 +00:00
Michael Stack 062e954a03 HBASE-980 Undo core of HBASE-975, caching of start and end row
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@711207 13f79535-47bb-0310-9956-ffa450edef68
2008-11-04 08:28:49 +00:00
Michael Stack d6997a949f HBASE-975 Improve MapFile performance for start and end key
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@711155 13f79535-47bb-0310-9956-ffa450edef68
2008-11-04 01:28:53 +00:00
Jim Kellerman 97fbf7da76 HBASE-964 Startup stuck "waiting for root region"
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@711149 13f79535-47bb-0310-9956-ffa450edef68
2008-11-04 00:58:28 +00:00
Michael Stack f806f7fdea HBASE-979 REST web app is not started automatically
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@710110 13f79535-47bb-0310-9956-ffa450edef68
2008-11-03 17:37:20 +00:00
Jim Kellerman 59a2ad7eac HBASE-978 Remove BloomFilterDescriptor. It is no longer used.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@709855 13f79535-47bb-0310-9956-ffa450edef68
2008-11-02 08:56:44 +00:00
Jim Kellerman 7a5768ca85 HBASE-81 When a scanner lease times out, throw a more "user friendly" exception
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@709852 13f79535-47bb-0310-9956-ffa450edef68
2008-11-02 08:36:37 +00:00
Michael Stack 5418547132 HBASE-977 Arcane HStoreKey comparator bug
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@709825 13f79535-47bb-0310-9956-ffa450edef68
2008-11-02 01:15:00 +00:00
Michael Stack 1044185b77 HBASE-976 HADOOP 0.19.0 RC0 is broke; replace with HEAD of branch-0.19
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@709593 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 23:02:02 +00:00
Michael Stack ad3c964f42 HBASE-969 Won't when storefile > 2G.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@709519 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 18:16:23 +00:00
Jean-Daniel Cryans 9dbddf3da4 HBASE-785 Remove InfoServer, use HADOOP-3824 StatusHttpServer
instead (requires hadoop 0.19)


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@709322 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 01:38:50 +00:00
Jean-Daniel Cryans e352c5dfe1 HBASE-963 Fix the retries in HTable.flushCommit
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@709320 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 01:31:16 +00:00
Michael Stack 8cfa1ce45b HBASE-973 [doc] In getting started, make it clear that hbase needs to create its directory in hdfs
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@709270 13f79535-47bb-0310-9956-ffa450edef68
2008-10-30 22:38:14 +00:00
Michael Stack 5a0a0df8bb HBASE-839 Update hadoop libs in hbase; move hbase TRUNK on to an hadoop 0.19.0 RC
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@709203 13f79535-47bb-0310-9956-ffa450edef68
2008-10-30 16:43:07 +00:00
Jean-Daniel Cryans ac1074b8ce HBASE-971 Fix the failing tests on Hudson
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@709170 13f79535-47bb-0310-9956-ffa450edef68
2008-10-30 14:28:49 +00:00
Michael Stack a191bfb60a HBASE-949 Add an HBase Manual
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@709033 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 22:28:29 +00:00
Michael Stack e95b049d33 HBASE-625 Metrics support for cluster load history: emissions and graphs
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@709008 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 21:06:29 +00:00
Jean-Daniel Cryans 4807901194 HBASE-966 HBASE-748 misses some writes
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@709001 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 20:29:00 +00:00
Michael Stack f4d3ce3f65 HBASE-970 Update the copy/rename scripts to go against change API
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@708979 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 18:45:36 +00:00
Michael Stack 3b803714c5 HBASE-817 Hbase/Shell Truncate
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@708966 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 18:01:35 +00:00
Michael Stack 8083c6a0b2 HBASE-960 REST interface: more generic column family configure and also get Rows using offset and limit
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@708949 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 17:41:42 +00:00
Michael Stack a48210751c HBASE-636 java6 as a requirement
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@708727 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 23:42:16 +00:00
Michael Stack ae27a2bc3f Back-out HBASE-968 ... already fixed-- thanks to Doğacan Güney
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@708644 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 19:32:54 +00:00
Michael Stack cb41078c8d HBASE-936 REST Interface: enable to get numbers of rows from scanner interface
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@708631 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 18:51:46 +00:00
Michael Stack c18a713726 HBASE-968 ArrayIndexOutOfBoundsException from Cell iterator()
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@708610 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 17:01:48 +00:00
Michael Stack fa829b301e HBASE-959 Be able to get multiple RowResult at one time from client side
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@708435 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 05:03:13 +00:00
Michael Stack 918c3a4e7a HBASE-967 [Optimization] Cache cell maximum length (HCD.getMaxValueLength); its used checking batch size
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@708377 13f79535-47bb-0310-9956-ffa450edef68
2008-10-27 23:25:11 +00:00
Jim Kellerman cf7ae9adcb HBASE-728, HBASE-956, HBASE-955 Address thread naming, which threads are Chores, vs Threads, make HLog manager the write ahead log and not extend it to provided optional HLog sync operations.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@708322 13f79535-47bb-0310-9956-ffa450edef68
2008-10-27 21:25:35 +00:00
Michael Stack 7e1d49358d HBASE-953 Enable BLOCKCACHE by default [WAS -> Reevaluate HBASE-288 block caching work....?]
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@708253 13f79535-47bb-0310-9956-ffa450edef68
2008-10-27 18:02:55 +00:00
Michael Stack 2ee2b85eac HBASE-957 PerformanceEvaluation tests if table exists by comparing descriptors
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@707792 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 23:48:59 +00:00
Jean-Daniel Cryans ce3e6ccdff HBASE-940 Make the TableOutputFormat batching-aware
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@707784 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 23:24:09 +00:00
Jim Kellerman ae1653c001 HBASE-954 Don't reassign root region until ProcessServerShutdown has split the former region server's log
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@707710 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 18:42:56 +00:00
Michael Stack 9b91e0bfe4 HBASE-937 Thrift getRow does not support specifying columns
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@707685 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 17:03:24 +00:00
Michael Stack 8b6b089f45 HBASE-942, HBASE-943 Add convenience methods to RowFilterSet, to ColumnValueFilter: add filterIfColumnMissing property, add
SubString operator

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@707547 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 05:19:24 +00:00
Jim Kellerman a28c5c7ba8 HBASE-952 Deadlock in HRegion.batchUpdate
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@707457 13f79535-47bb-0310-9956-ffa450edef68
2008-10-23 19:43:56 +00:00
Jim Kellerman d5e81859e1 HBASE-728 Support for HLog appends
- Passes all unit tests.
- Runs Performance evaluation random write in 8min, 43sec on 4 node cluster. I believe this is a new speed record.
- Eliminates time-based log rolling and cache-flushing (because of append support)


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@707247 13f79535-47bb-0310-9956-ffa450edef68
2008-10-23 02:30:35 +00:00
Jean-Daniel Cryans d0ce40d1ec HBASE-950 HTable.commit no longer works with existing RowLocks though it's still in API
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@707225 13f79535-47bb-0310-9956-ffa450edef68
2008-10-22 23:48:12 +00:00
Michael Stack 4357226cd4 HBASE-946 Row with 55k deletes timesout scanner lease
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@707159 13f79535-47bb-0310-9956-ffa450edef68
2008-10-22 18:57:39 +00:00
Andrew Kyle Purtell 0eb54f38b7 HBASE-902 Add force compaction and force split operations to UI and Admin
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@706755 13f79535-47bb-0310-9956-ffa450edef68
2008-10-21 20:23:23 +00:00
Michael Stack b5200e0ea6 HBASE-945 Be consistent in use of qualified/unqualified mapfile paths
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@706681 13f79535-47bb-0310-9956-ffa450edef68
2008-10-21 16:39:10 +00:00
Michael Stack fd5543190c HBASE-939 NPE in HStoreKey
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@706348 13f79535-47bb-0310-9956-ffa450edef68
2008-10-20 17:43:54 +00:00
Jim Kellerman 5e3815484c HBASE-919 Master and Region Server need to provide root region location if they are using HTable
With J-D's one line patch, test cases now appear to work and PerformanceEvaluation works as before.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@706112 13f79535-47bb-0310-9956-ffa450edef68
2008-10-20 03:06:54 +00:00
Jean-Daniel Cryans a3b452e9b0 HBASE-748 Add an efficient way to batch update many rows
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@705770 13f79535-47bb-0310-9956-ffa450edef68
2008-10-17 22:03:29 +00:00
Jim Kellerman f5ded90780 HBASE-919 Master and Region Server need to provide root region location if they are using HTable
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@705338 13f79535-47bb-0310-9956-ffa450edef68
2008-10-16 19:45:17 +00:00
Jim Kellerman a171d57765 HBASE-926 If no master, regionservers should hang out rather than fail on connection and shut themselves down
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@705333 13f79535-47bb-0310-9956-ffa450edef68
2008-10-16 19:28:17 +00:00
Michael Stack f69423a1d9 HBASE-930 RegionServer stuck: HLog: Could not append. Requesting close of log java.io.IOException: Could not get block locations. Aborting...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@705064 13f79535-47bb-0310-9956-ffa450edef68
2008-10-15 21:44:26 +00:00
Michael Stack 5b2e15021c HBASE-929 clarify that ttl in HColumnDescriptor is seconds
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@704967 13f79535-47bb-0310-9956-ffa450edef68
2008-10-15 17:35:18 +00:00
Michael Stack db217e6a15 HBASE-920 Make region balancing sloppier
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@704781 13f79535-47bb-0310-9956-ffa450edef68
2008-10-15 05:18:31 +00:00
Jim Kellerman 50a795c543 HBASE-924 Update hadoop in lib on 0.18 hbase branch to 0.18.1
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@704745 13f79535-47bb-0310-9956-ffa450edef68
2008-10-15 00:07:46 +00:00
Michael Stack fb1659cf07 HBASE-926 NPE throwing RetriesExhaustedException
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@704642 13f79535-47bb-0310-9956-ffa450edef68
2008-10-14 19:45:29 +00:00
Michael Stack 767f6057ff HBASE-925 HRS NPE on way out if no master to connect to
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@704597 13f79535-47bb-0310-9956-ffa450edef68
2008-10-14 18:26:57 +00:00
Jim Kellerman 031c18faff HBASE-921 Commit comment was put under incompatible changes rather than Bug fixes.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@704445 13f79535-47bb-0310-9956-ffa450edef68
2008-10-14 10:38:34 +00:00
Jim Kellerman 0e1e284dc2 HBASE-921 region close and open processed out of order; makes for disagreement between master and regionserver on region state
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@704444 13f79535-47bb-0310-9956-ffa450edef68
2008-10-14 10:34:20 +00:00
Jim Kellerman 2a4f9bfa2a HBASE-918 Region balancing during startup makes cluster unstable
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@703711 13f79535-47bb-0310-9956-ffa450edef68
2008-10-11 19:04:09 +00:00
Michael Stack 89fd7417f7 HBASE-914 MSG_REPORT_CLOSE has a byte array for a message
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@703032 13f79535-47bb-0310-9956-ffa450edef68
2008-10-09 00:34:07 +00:00
Michael Stack 609ff27c83 HBASE-913 Classes using log4j directly
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@703031 13f79535-47bb-0310-9956-ffa450edef68
2008-10-09 00:23:22 +00:00
Michael Stack 99c892f030 HBASE-837 Add unit tests for ThriftServer.HBaseHandler
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@703029 13f79535-47bb-0310-9956-ffa450edef68
2008-10-09 00:09:58 +00:00
Michael Stack 8932609a36 HBASE-844 Can't pass script to hbase shell
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@703027 13f79535-47bb-0310-9956-ffa450edef68
2008-10-09 00:03:50 +00:00
Michael Stack 252e017903 HBASE-852 Cannot scan all families in a row with a LIMIT, STARTROW, etc.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@703025 13f79535-47bb-0310-9956-ffa450edef68
2008-10-08 23:45:30 +00:00
Michael Stack 0a3560ccea HBASE-853 [shell] Cannot describe meta tables
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@703024 13f79535-47bb-0310-9956-ffa450edef68
2008-10-08 23:41:17 +00:00
Michael Stack c75ea989d6 HBASE-576 Investigate IPC performance
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@703013 13f79535-47bb-0310-9956-ffa450edef68
2008-10-08 22:49:50 +00:00
Jean-Daniel Cryans 70dac88e1f HBASE-912 PE is broken when other tables exist
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@701497 13f79535-47bb-0310-9956-ffa450edef68
2008-10-03 19:20:50 +00:00
Michael Stack b45191d2d9 HBASE-908 Add approximate counting to CountingBloomFilter
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@700631 13f79535-47bb-0310-9956-ffa450edef68
2008-09-30 23:34:05 +00:00
Jean-Daniel Cryans 5ae403ea35 HBASE-901 Add a limit to key length, check key and value length on client side
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@700529 13f79535-47bb-0310-9956-ffa450edef68
2008-09-30 17:20:04 +00:00
Michael Stack a2ebc570cf HBASE-906 [shell] Truncates output
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@699746 13f79535-47bb-0310-9956-ffa450edef68
2008-09-27 21:58:38 +00:00
Jim Kellerman 4f99f3a9e8 HBASE-905 Remove V5 migration classes from 0.19.0 (Jean-Daniel Cryans via Jim Kellerman)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@699527 13f79535-47bb-0310-9956-ffa450edef68
2008-09-26 22:55:46 +00:00
Michael Stack 97867f9a95 HBASE-898 RowResult.containsKey(String) doesn't work
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@698378 13f79535-47bb-0310-9956-ffa450edef68
2008-09-23 22:36:07 +00:00
Michael Stack 804155c541 HBASE-875 Use MurmurHash instead of JenkinsHash
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@698265 13f79535-47bb-0310-9956-ffa450edef68
2008-09-23 18:10:06 +00:00
Jean-Daniel Cryans d65e0b2bd6 HBASE-887 Fix a hotspot in scanners
M    conf/hbase-default.xml
Added a new config hbase.client.scanner.caching, fixed triplification
M    src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
Implements new next(long, int) method for batching
M    src/java/org/apache/hadoop/hbase/ipc/HRegionInterface.java
Defines that new next(long, int) method
M    src/java/org/apache/hadoop/hbase/client/HTable.java
Adds new property that is passed to scanners. ClientScanner now handles caching of rows
M    src/java/org/apache/hadoop/hbase/client/MetaScanner.java
Small changes related to ScannerCallable
M    src/java/org/apache/hadoop/hbase/client/HConnectionManager.java
Same sort of small changes
M    src/java/org/apache/hadoop/hbase/client/ScannerCallable.java
Now modified because of new methods in HRS, will be able to handle caching
M    src/java/org/apache/hadoop/hbase/client/transactional/TransactionalTable.java
Passes caching to its super class


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@698198 13f79535-47bb-0310-9956-ffa450edef68
2008-09-23 14:51:22 +00:00
Michael Stack 0b96e8d5ec HBASE-884 Double and float converters for Bytes class
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@698090 13f79535-47bb-0310-9956-ffa450edef68
2008-09-23 05:09:14 +00:00
Michael Stack 2dbdd19ccc HBASE-885 TableMap and TableReduce should be interfaces
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@698089 13f79535-47bb-0310-9956-ffa450edef68
2008-09-23 05:04:12 +00:00
Michael Stack aa419f96dd HBASE-886, HBASE-895 Sort the tables in the web UI [shell] 'list' command should emit a sorted list of tables
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@698088 13f79535-47bb-0310-9956-ffa450edef68
2008-09-23 04:04:50 +00:00
Jim Kellerman c912849278 HBASE-892 Cell iteration is broken (Doğacan Güney via Jim Kellerman)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@698016 13f79535-47bb-0310-9956-ffa450edef68
2008-09-22 22:00:31 +00:00
Michael Stack ebe81b974f HBASE-894 [shell] Should be able to copy-paste table description to create new table
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@698011 13f79535-47bb-0310-9956-ffa450edef68
2008-09-22 21:53:38 +00:00
Michael Stack 5982c95d8e HBASE-891 HRS.validateValuesLength throws IOE, gets caught in the retries
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@698008 13f79535-47bb-0310-9956-ffa450edef68
2008-09-22 21:47:59 +00:00
Michael Stack b174254d9e HBASE-890 alter table operation and also related changes in REST interface
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@698001 13f79535-47bb-0310-9956-ffa450edef68
2008-09-22 21:16:21 +00:00
Michael Stack 42ad910d1e Add release date
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@697626 13f79535-47bb-0310-9956-ffa450edef68
2008-09-21 21:48:56 +00:00
Jean-Daniel Cryans 42b368a2c5 HBASE-822 Added all other languages examples (only Python went in last commit of 822)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@694454 13f79535-47bb-0310-9956-ffa450edef68
2008-09-11 20:12:52 +00:00
Jim Kellerman 62c4e4b5b4 HBASE-882 The BatchUpdate class provides, put(col, cell) and delete(col) but no get() (Ryan Smith via Stack and Jim Kellerman)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@694352 13f79535-47bb-0310-9956-ffa450edef68
2008-09-11 17:04:39 +00:00
Michael Stack 748b21e94a HBASE-882 The BatchUpdate class provides, put(col, cell) and delete(col) but no get().
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@693987 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 21:13:21 +00:00
Jean-Daniel Cryans 16a2c45780 HBASE-881 Fixed bug when Master tries to reassign split or offline regions from a dead server
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@693935 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 19:20:17 +00:00
Michael Stack 6b32dfcf0e HBASE-877 HCM is unable to find table with multiple regions which contains binary
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@693910 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 17:47:20 +00:00
Jim Kellerman e93249b444 HBASE-465 Fix javadoc for all public declarations
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@693597 13f79535-47bb-0310-9956-ffa450edef68
2008-09-09 20:36:49 +00:00
Michael Stack 3b540886df HBASE-868 and HBASE-871 Incrementing binary rows cause strange behavior once table splits AND Major compaction periodicity should be specifyable at the column family level, not cluster wide
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@692963 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 00:14:10 +00:00
Jim Kellerman 2e13c047ab HBASE-874 deleting a table kills client rpc; no subsequent communication if shell or thrift server, etc. (Jonathan Gray via Jim Kellerman)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@692596 13f79535-47bb-0310-9956-ffa450edef68
2008-09-06 00:50:58 +00:00
Michael Stack fe19bdd5b2 HBASE-872 Getting exceptions in shell when creating/disabling tables
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@692585 13f79535-47bb-0310-9956-ffa450edef68
2008-09-05 23:57:40 +00:00
Jim Kellerman 1bc2142c54 HBASE-865 Fix javadoc warnings (Rong-En Fan via Jim Kellerman)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@692273 13f79535-47bb-0310-9956-ffa450edef68
2008-09-04 22:11:18 +00:00
Michael Stack d49952f979 HBASE-864 Deadlock in regionserver
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@691710 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 18:17:19 +00:00
Michael Stack 65852deff9 HBASE-860 IndexTableReduce doesnt write the column name as the lucene index field properly
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@691069 13f79535-47bb-0310-9956-ffa450edef68
2008-09-01 21:46:46 +00:00
Michael Stack f9e04bcf5d HBASE-832 Problem with row keys beginnig with characters < than ',' and the region location cache
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@690639 13f79535-47bb-0310-9956-ffa450edef68
2008-08-31 05:12:55 +00:00
Michael Stack 0030252119 HBASE-840 More options on the row query in REST interface
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@690637 13f79535-47bb-0310-9956-ffa450edef68
2008-08-31 04:48:57 +00:00
Michael Stack 15406ddda7 HBASE-855 compaction can return less versions then we should in some cases
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@690630 13f79535-47bb-0310-9956-ffa450edef68
2008-08-31 03:35:33 +00:00
Jim Kellerman bc577ede4a HBASE-854 hbase-841 broke build on hudson? - makes sure that proxies are closed. (Andrew Purtell via Jim Kellerman)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@690437 13f79535-47bb-0310-9956-ffa450edef68
2008-08-30 01:32:09 +00:00
Michael Stack 1371c33e8d HBASE-836 Update thrift examples to work with changed IDL (HBASE-697)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@690429 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 23:58:10 +00:00
Michael Stack 99f695beda HBASE-834 'Major' compactions and upper bound on files we compact at any one time
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@690423 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 23:36:02 +00:00
Michael Stack d1adcf1629 HBASE-826 delete table followed by recreation results in honked table
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@690101 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 05:09:21 +00:00
Jim Kellerman 7632f2b763 HBASE-768 This message 'java.io.IOException: Install 0.1.x of hbase and run its migration first' is useless (Jean-Daniel Cryans via Jim Kellerman)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@690023 13f79535-47bb-0310-9956-ffa450edef68
2008-08-28 22:06:11 +00:00
Jim Kellerman f14cf6362a HBASE-762 deleteFamily takes timestamp, should only take row and family. Javadoc describes both cases but only implements the timestamp case. (Jean-Daniel Cryans via Jim Kellerman) Committed as part of HBASE-842
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@690021 13f79535-47bb-0310-9956-ffa450edef68
2008-08-28 21:51:47 +00:00
Jim Kellerman 1491efc79b HBASE-842 Remove methods that have Text as a parameter and were deprecated in 0.2.1 (Jean-Daniel Cryans via Jim Kellerman)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@689938 13f79535-47bb-0310-9956-ffa450edef68
2008-08-28 19:27:44 +00:00
Jim Kellerman a1f8ee8ac1 HBASE-552 Bloom filter bugs (Andrzej Bialecki via Jim Kellerman)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@689920 13f79535-47bb-0310-9956-ffa450edef68
2008-08-28 18:20:15 +00:00
Michael Stack bd74b7d721 HBASE-849 Speed improvement in JenkinsHash
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@689888 13f79535-47bb-0310-9956-ffa450edef68
2008-08-28 16:49:51 +00:00
Jim Kellerman f277d7d3b0 HBASE-841 Consolidate multiple overloaded methods in HRegionInterface, HRegionServer (Jean-Daniel Cryans via Jim Kellerman)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@689162 13f79535-47bb-0310-9956-ffa450edef68
2008-08-26 18:20:25 +00:00
Jim Kellerman 90685d499c HBASE-843 Deleting and recreating a table in a single process does not work (Jonathan Gray via Jim Kellerman)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@688830 13f79535-47bb-0310-9956-ffa450edef68
2008-08-25 19:13:29 +00:00
Jim Kellerman c6616d527a HBASE-784 Base hbase-0.3.0 on hadoop-0.18
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@687881 13f79535-47bb-0310-9956-ffa450edef68
2008-08-21 22:27:26 +00:00
Jim Kellerman 3e28fa30b7 HBASE-810 Prevent temporary deadlocks when, during a scan with write operations, the region splits (Jean-Daniel Cryans via Jim Kellerman)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@687869 13f79535-47bb-0310-9956-ffa450edef68
2008-08-21 21:39:40 +00:00
Michael Stack b377aff078 Force a build; no changes
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@686662 13f79535-47bb-0310-9956-ffa450edef68
2008-08-18 00:08:53 +00:00
Michael Stack 6cb9d9ff7f HBASE-795 More Table operation in TableHandler for REST interface
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@686657 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 22:53:25 +00:00
Michael Stack 462fe1e5dc HBASE-669 MultiRegion transactions with Optimistic Concurrency Control
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@686650 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 22:03:42 +00:00
Michael Stack e93a9b25b6 Force build on hudson -- no changes
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@686590 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 07:14:52 +00:00
Michael Stack b32989b25c HBASE-822 Update thrift README and HBase.thrift to use thrift 20080411
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@686570 13f79535-47bb-0310-9956-ffa450edef68
2008-08-16 22:12:27 +00:00
Michael Stack e30ed932bb HBASE-697 thrift idl needs update/edit to match new 0.2 API (and to fix bugs)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@686568 13f79535-47bb-0310-9956-ffa450edef68
2008-08-16 22:04:16 +00:00
Michael Stack 9460067fd8 HBASE-833 Doing an insert with an unknown family throws a NPE in HRS
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@686322 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 19:02:50 +00:00
Michael Stack 1fb69ec11a HBASE-830 Debugging HCM.locateRegionInMeta is painful
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@686308 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 18:27:37 +00:00
Jim Kellerman 554f25b7ab HBASE-831 committing BatchUpdate with no row should complain (Andrew Purtell via Jim Kellerman) (add attribution)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@685996 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 19:06:20 +00:00
Jim Kellerman 282810c65e HBASE-831 committing BatchUpdate with no row should complain
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@685984 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 18:21:53 +00:00
Michael Stack 78b53558b8 HBASE-808,809 MAX_VERSIONS not respected, and Deletall doesn't and inserts after delete don't work as expected
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@685432 13f79535-47bb-0310-9956-ffa450edef68
2008-08-13 04:15:58 +00:00
Jim Kellerman 20165cc25c HBASE-798 Add missing classes: UnknownRowLockException and RowLock which were present in previous versions of the patches for this issue, but not in the version that was committed. Also fix a number of compilation problems that were introduced by patch.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@685421 13f79535-47bb-0310-9956-ffa450edef68
2008-08-13 02:33:09 +00:00
Michael Stack e1f22ab399 HBASE-825 master logs showing byte[] in place of string on logging
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@685397 13f79535-47bb-0310-9956-ffa450edef68
2008-08-13 00:20:34 +00:00
Jim Kellerman e1ab934e5d HBASE-798 Provide Client API to explicitly lock and unlock rows (Jonathan Gray via Jim Kellerman)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@685391 13f79535-47bb-0310-9956-ffa450edef68
2008-08-13 00:07:29 +00:00
Michael Stack 991dd0ee76 HBASE-824 Bug in Hlog we print array of byes for region name
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@685341 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 22:11:52 +00:00
Michael Stack 0ce4989273 HBASE-795 More Table operation in TableHandler for REST interface
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@685340 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 22:08:04 +00:00
Michael Stack 76fa8fdeed HBASE-806 Change HbaseMapWritable and RowResult to implement SortedMap instead of Map
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@685272 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 19:16:24 +00:00
Michael Stack 7a8522af1c HBASE-787 Postgresql to HBase table replication
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@685259 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 18:44:50 +00:00
Michael Stack 077778ea7b HBASE-787 Postgresql to HBase table replication
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@685258 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 18:43:38 +00:00
Michael Stack 802571af28 HBASE-813 Add a row counter in the new shell
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@685257 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 18:30:33 +00:00
Michael Stack c41834a778 HBASE-821 UnknownScanner happens too often
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@685236 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 17:30:10 +00:00
Michael Stack 14160de524 HBASE-820 Need mainline to flush when 'Blocking updates' goes up.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@685234 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 17:23:11 +00:00
Michael Stack 7a33adc974 HBASE-818 Deadlock running 'flushSomeRegions'
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@685217 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 16:21:44 +00:00
Michael Stack a28a8219cb HBASE-812 Compaction needs little better skip algo
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@685030 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 04:14:24 +00:00
Jim Kellerman 3d6b96aa48 HBASE-819 Remove DOS-style ^M carriage returns from all code where found (Jonathan Gray via Jim Kellerman)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@685009 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 00:55:22 +00:00
Michael Stack 6cab23c4a0 HBASE-729 lient region/metadata cache should have a public method for invalidating entries
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@684951 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 21:56:30 +00:00
Jim Kellerman 0c3bd478b3 HBASE-811 HTD is not fully copyable (Andrew Purtell via Jim Kellerman)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@684911 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 20:45:35 +00:00
Jim Kellerman 8763e9e92c HBASE-805 Fix whitespace diffs in HRegionServer
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@684845 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 17:57:53 +00:00
Michael Stack f34578157c HBASE-816 TableMap should survive USE
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@684843 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 17:55:41 +00:00
Jim Kellerman fa86731a5b HBASE-805 Remove unnecessary getRow overloads in HRS (Jonathan Gray via Jim Kellerman)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@684054 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 18:55:46 +00:00
Jean-Daniel Cryans 8124fa7f7c Added a check in HBase.rb to make sure table is disabled when drop.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@684053 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 18:53:30 +00:00
Michael Stack 4aaf44274d Add new section for 0.3.0
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@684045 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 18:42:08 +00:00
Michael Stack 8274198b4f Add release date
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@684040 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 18:37:30 +00:00
Michael Stack 4f57d5b496 HBASE-796 Deprecates Text/String methods from HTable and modifies all classes that used Text/String methods so that they use byte[] instead
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@682953 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 21:27:40 +00:00
Michael Stack 942c54cf56 HBASE-790 During import, single region blocks requests for >10 minutes, thread dumps, throws out pending requests, and continues
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@682874 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 19:05:48 +00:00
Michael Stack 13d0f9c527 HBASE-789 add clover coverage report targets
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@682496 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 20:31:13 +00:00
Michael Stack e30059125f HBASE-793 HTable.getStartKeys() ignores table names when matching columns
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@682444 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 17:27:29 +00:00
Michael Stack 70e8c417d0 HBASE-751 dfs exception and regionserver stuck during heavy write load
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@681612 13f79535-47bb-0310-9956-ffa450edef68
2008-08-01 06:40:18 +00:00
Michael Stack 5710476a73 HBASE-791 RowCount doesn't work
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@681590 13f79535-47bb-0310-9956-ffa450edef68
2008-08-01 02:39:22 +00:00
Jim Kellerman 344b6b774b HBASE-788 Div by zero in Master.jsp (Clint Morgan via Jim Kellerman)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@681525 13f79535-47bb-0310-9956-ffa450edef68
2008-07-31 22:40:04 +00:00
Michael Stack 809180eef2 HBASE-783 For single row, single family retrieval, getRow() works half as fast as getScanner().next()
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@680910 13f79535-47bb-0310-9956-ffa450edef68
2008-07-30 04:37:06 +00:00
Jim Kellerman 410a8266c0 HBASE-511 add attribution
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@680903 13f79535-47bb-0310-9956-ffa450edef68
2008-07-30 01:47:29 +00:00
Jim Kellerman e4449cfc8f HBASE-511 Do exponential backoff in clients on NSRE, WRE, ISE, etc.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@680902 13f79535-47bb-0310-9956-ffa450edef68
2008-07-30 01:45:44 +00:00
Jim Kellerman 0a9f7e62f6 HBASE-771 Names legal in 0.1 are not in 0.2; breaks migration
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@680453 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 19:26:30 +00:00
Jim Kellerman 37b6f7e42e HBASE-424 Should be able to enable/disable .META. table
Fixed enable table so that it no longer waits for the META table to become available when enabling the META table.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@680422 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 17:57:11 +00:00
Michael Stack 5af2380bac HBASE-779 Test changing hbase.hregion.memcache.block.multiplier to 2
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@680218 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 01:12:35 +00:00
Michael Stack a68ef955d1 HBASE-780 Can't scan '.META.' from new shell
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@680215 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 00:23:15 +00:00
Michael Stack bc76ab38a5 HBASE-772 Up default lease period from 60 to 120 seconds
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@679559 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 21:58:50 +00:00
Michael Stack f8c8835c7d HBASE-770 Update HBaseRPC to match hadoop 0.17 RPC
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@679212 13f79535-47bb-0310-9956-ffa450edef68
2008-07-23 22:13:23 +00:00
Michael Stack de63d26e1b HBASE-766 FileNotFoundException trying to load HStoreFile 'data'
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@679211 13f79535-47bb-0310-9956-ffa450edef68
2008-07-23 22:10:15 +00:00
Michael Stack f84b20bdf5 HBASE-769 TestMasterAdmin fails throwing RegionOfflineException when we're expecting IllegalStateException
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@679200 13f79535-47bb-0310-9956-ffa450edef68
2008-07-23 21:10:10 +00:00
Michael Stack 47904a8905 HBASE-750 NPE caused by StoreFileScanner.updateReaders
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@679162 13f79535-47bb-0310-9956-ffa450edef68
2008-07-23 19:31:47 +00:00
Michael Stack 16de09b3ad HBASE-764 The name of column request has padding zero using REST interface
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@679145 13f79535-47bb-0310-9956-ffa450edef68
2008-07-23 17:48:47 +00:00
Michael Stack 92f0ed2a2a HBASE-763 ClassCastException from RowResult.get(String)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@679107 13f79535-47bb-0310-9956-ffa450edef68
2008-07-23 15:06:03 +00:00
Michael Stack 43f0fce561 HBASE-761 IOE: Stream closed exception all over logs
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@678919 13f79535-47bb-0310-9956-ffa450edef68
2008-07-22 21:48:30 +00:00
Michael Stack f904e49822 Preperation for 0.2.0 RC 1.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@678802 13f79535-47bb-0310-9956-ffa450edef68
2008-07-22 16:56:36 +00:00
Michael Stack d02ab894e9 HBASE-745 scaling of one regionserver, improving memory and cpu usage
HBASE-757 TestMetaUtils failing on hudson



git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@678650 13f79535-47bb-0310-9956-ffa450edef68
2008-07-22 05:49:36 +00:00
Michael Stack 27f37b6365 HBASE-743 bin/hbase migrate upgrade fails when redo logs exists
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@678581 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 21:54:44 +00:00
Michael Stack 3d8fc40fbb HBASE-758 Throwing IOE read-only when should be throwing NSRE
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@678578 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 21:34:57 +00:00
Michael Stack 06e8679aea HBASE-720 clean up inconsistencies around deletes
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@678553 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 20:37:10 +00:00
Michael Stack 4f88dbf419 HBASE-757 REST mangles table names
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@678537 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 19:28:44 +00:00
Michael Stack 95d82f3790 HBASE-756 In HBase shell, the put command doesn't process the timestamp
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@678455 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 15:48:44 +00:00
Michael Stack c04a282e7c HBASE-754 The JRuby shell documentation is wrong in "get" and "put"
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@678235 13f79535-47bb-0310-9956-ffa450edef68
2008-07-19 22:25:46 +00:00
Jim Kellerman f3b2cef9e0 HBASE-679 Regionserver addresses are still not right in the new tables page
Passed all regression tests and PerformanceEvaluation running with multiple region servers. table.jsp now displays the correct information

HRegionInfo:
- removed getTableNameFromRegionName and parseMetaRegionRow we have the information in the meta table, just use it.

HServerInfo:
- I had originally made some changes here but removed them. The only remaining changes are javadoc

MetaScanner:
- build region name using ZEROES instead of NINES. When you scan you need a row name that sorts before the first row rather than after the last row.
- scan using COLUMN_FAMILY_ARRAY instead of COL_REGIONINFO_ARRAY. This way you also get the server name and start code
- change api for MetaScannerVisitor so that processRow only gets the RowResult. If you have the RowResult you have everything you need.

HConnectionManager:
- change listTables' MetaScannerVisitor to conform to new processRow api

HTable:
- change getStartKeys' MetaScannerVisitor to conform to new processRow api
- getRegionsInfo: use new processRow api, and get the server address out of the RowResult, rather than relying on the one that is cached in HConnectionManager

ScannerCallable:
- make constructor public, add javadoc

HMaster
- change createTable to get the HRegionInfo out of the RowResult and compare table name from HRegionInfo with that in the HRegionInfo of the table being created, instead of parsing the table name out of the row

TestHTable
- modify test's MetaScannerVisitor to conform to the new processRow api

TestHRegionInfo
- remove testParse as parse method no longer exists

table.jsp
- change catch of IOException to catch Exception and print stack trace. At least you'll be able to see why the server crashes if it does.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@678208 13f79535-47bb-0310-9956-ffa450edef68
2008-07-19 19:18:15 +00:00
Jim Kellerman 5fe3fb7d0b HBASE-733 Enhance Cell so that it can contain multiple values at multiple timestamps
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@677982 13f79535-47bb-0310-9956-ffa450edef68
2008-07-18 17:58:20 +00:00
Jim Kellerman d5f2595cee HBASE-424 Should be able to enable/disable .META. table
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@677684 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 18:54:25 +00:00
Michael Stack 6279d759c0 HBASE-62 Allow user add arbitrary key/value pairs to table and column descriptors, and HBASE-34, 42, 43, and 700
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@677517 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 07:17:26 +00:00
Jim Kellerman c989dba9cd HBASE-747 Add a simple way to do batch updates of many rows (Jean-Daniel Cryans via JimK)
- add attribution


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@677433 13f79535-47bb-0310-9956-ffa450edef68
2008-07-16 21:13:57 +00:00
Jim Kellerman fbd80780bf HBASE-747 Add a simple way to do batch updates of many rows
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@677431 13f79535-47bb-0310-9956-ffa450edef68
2008-07-16 21:11:19 +00:00
Jim Kellerman 90c9f71aa1 HBASE-737 Scanner: every cell in a row has the same timestamp
Changed InternalScanner API:

from
{code}
boolean next(HStoreKey, SortedMap<byte[], byte>)
{code}
to
{code}
boolean next(HStoreKey, SortedMap<byte[], Cell>)
{code}

Files changed as a result of API change:

HMerge.java, ColumnValueFilter, PageRowFilter, RegExpRowFilter, RowFilterInterface, RowFilterSet, StopRowFilter, WhileMatchRowFilter, HAbstractScanner, HRegion$HScanner, HRegionServer, HStoreScanner, InternalScanner, Memcache, StoreFileScanner, MetaUtils, HBaseTestCase, TestScannerAPI, TimestampTestBase, TestRegExpRowFilter, TestRowFilterAfterWrite, TestRowFilterOnMultipleFamilies, TestRowFilterSet, TestGet2, TestHMemcache, TestHRegion, TestScanner, TestSplit

Update comments in Flusher

HRegion.internalFlushCache, HStore.flushCache, HStore.internalFlushCache now returns true only if a flush was completed and a compaction is needed.

HRegion.internalFlushCache now includes region name in DroppedSnapshotException

When creating a reader during compaction, don't bother with bloom filter since we won't use it.

StoreFileScanner locks the store for read while it is in the constructor. It also does not load the bloom filter when it opens readers on the store files.

TestScannerTimes - new regression test for HBASE-737


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@677113 13f79535-47bb-0310-9956-ffa450edef68
2008-07-16 00:03:26 +00:00
Michael Stack 34f05ef4ae HBASE-742 Column length limit is not enforced
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@676748 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 21:38:45 +00:00
Jim Kellerman 8c2399fee8 HBASE-744 BloomFilter serialization/deserialization broken
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@676728 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 20:46:55 +00:00
Michael Stack e60307ea31 HBASE-739 HBaseAdmin.createTable() using old HTableDescription doesn't work
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@676092 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 22:18:43 +00:00
Michael Stack e6e11eae01 HBASE-738 overview.html in need of updating
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@676090 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 21:43:23 +00:00
Jim Kellerman 36f0d36de9 HBASE-696 Make bloomfilter true/false and self-sizing
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@676088 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 21:41:44 +00:00
Michael Stack e652891ce1 HBASE-742 Rename getMetainfo in HTable as getTableDescriptor
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@676031 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 17:24:39 +00:00
Michael Stack e60a8373d5 HBASE-740 ThriftServer getting table names incorrectly
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@676024 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 16:41:51 +00:00
Michael Stack ffa8d836cd HBASE-730 On startup, rinse STARTCODE and SERVER from .META.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@675659 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 17:44:47 +00:00
Michael Stack 1f13177b07 HBASE-735 hbase shell doesn't trap CTRL-C signal
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@675658 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 17:39:43 +00:00
Michael Stack f3549073a7 HBASE-736 Should have HTable.deleteAll(String row) and HTable.deleteAll(Text row)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@675647 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 16:56:34 +00:00
Michael Stack 3862e988c6 HBASE-734 scan '.META.', {LIMIT => 10} crashes
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@675377 13f79535-47bb-0310-9956-ffa450edef68
2008-07-09 22:54:44 +00:00
Michael Stack 975af636e8 HBASE-731 delete, deletefc in HBase shell do not work correctly
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@675348 13f79535-47bb-0310-9956-ffa450edef68
2008-07-09 21:39:45 +00:00
Michael Stack b022dd6a56 HBASE-727 Client caught in an infinite loop when trying to connect to cached server locations
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@675048 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 23:20:02 +00:00
Michael Stack 6fe7bfb481 HBASE-706 On OOME, regionserver sticks around and doesn't go down with cluster
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@674958 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 21:10:33 +00:00
Michael Stack 9d87dd9088 HBASE-721 Add a meta refresh tag to the Web ui for master and region server
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@674889 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 17:17:23 +00:00
Michael Stack e157ffc9c6 HBASE-631 HTable.getRow() for only a column family
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@674724 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 05:24:36 +00:00
Michael Stack 20f56cc97d HBASE-726 Unit tests won't run because of a typo
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@674644 13f79535-47bb-0310-9956-ffa450edef68
2008-07-07 21:19:18 +00:00
Jim Kellerman 1f93bb5708 HBASE-674 Memcache size unreliable
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@674108 13f79535-47bb-0310-9956-ffa450edef68
2008-07-04 19:15:16 +00:00
Michael Stack d77d0432c1 HBASE-562 Move Exceptions to subpackages
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@673774 13f79535-47bb-0310-9956-ffa450edef68
2008-07-03 19:34:54 +00:00
Michael Stack 0423f172b5 HBASE-703 Invalid regions listed by regionserver.jsp
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@673770 13f79535-47bb-0310-9956-ffa450edef68
2008-07-03 19:27:09 +00:00
Michael Stack 94eba4e517 HBASE-710 Find out why users have network problems in HBase and not in Hadoop
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@673748 13f79535-47bb-0310-9956-ffa450edef68
2008-07-03 18:12:06 +00:00
Jim Kellerman 3224f18ba7 HBASE-712 midKey found compacting is the first, not necessarily the optimal
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@673524 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 22:13:41 +00:00
Jim Kellerman 48b561e734 Make changes.txt accurately reflect changes in trunk.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@673503 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 21:23:15 +00:00
Michael Stack 070112eef2 HBASE-717 alter table broke with new shell returns InvalidColumnNameException
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@673000 13f79535-47bb-0310-9956-ffa450edef68
2008-07-01 05:13:45 +00:00
Michael Stack 3d579b7beb HBASE-718 hbase shell help info
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@672988 13f79535-47bb-0310-9956-ffa450edef68
2008-07-01 04:15:50 +00:00
Jim Kellerman ee0ec62045 HBASE-715 Base HBase 0.2 on Hadoop 0.17.1
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@672457 13f79535-47bb-0310-9956-ffa450edef68
2008-06-28 02:36:24 +00:00
Jim Kellerman 1901b25365 HBASE-716 TestGet2.testGetClosestBefore fails with hadoop-0.17.1
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@672456 13f79535-47bb-0310-9956-ffa450edef68
2008-06-28 02:32:28 +00:00
Jim Kellerman acac3a8a95 HBASE-627 Disable table doesn't work reliably
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@672423 13f79535-47bb-0310-9956-ffa450edef68
2008-06-27 23:13:26 +00:00
Michael Stack bcbcbc79f4 HBASE-714 Showing bytes in log when should be string (2)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@671951 13f79535-47bb-0310-9956-ffa450edef68
2008-06-26 17:06:31 +00:00
Michael Stack b33ad41da3 HBASE-709 Deadlock while rolling WAL-log while finishing flush
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@671711 13f79535-47bb-0310-9956-ffa450edef68
2008-06-26 03:29:02 +00:00
Michael Stack e00d548bcc HBASE-704 update new shell docs and commands on help menu
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@671614 13f79535-47bb-0310-9956-ffa450edef68
2008-06-25 17:49:40 +00:00
Michael Stack d09a697620 HBASE-702 deleteall doesn't
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@670701 13f79535-47bb-0310-9956-ffa450edef68
2008-06-23 18:19:54 +00:00
Michael Stack 3af4f2f2f5 HBASE-701 Showing bytes in log when should be String
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@670651 13f79535-47bb-0310-9956-ffa450edef68
2008-06-23 15:18:16 +00:00
Jim Kellerman 80fa33698f HBASE-613 Timestamp-anchored scanning fails to find all records
HBASE-681 NPE in Memcache

HAbstractScanner
- remove HAbstactScanner.iterator() - iterator is not a method on InternalScanner

HRegion
- make getScanner more efficient by iterating only once to find the stores we need to scan
- only pass columns relevant to a store to a HStoreScanner
- remove HScanner.iterator() - iterator is not a method on InternalScanner

Memcache, MemcacheScanner
- Fix NPE in Memcache
- never return HConstants.LATEST_TIMESTAMP as the timestamp value for a row. Instead use the largest timestamp from the cells being returned. This allows a scanner to determine a timestamp that can be used to fetch the same data again should new versions be inserted later.

StoreFileScanner
- getNextViableRow would find a row that matched the row key, but did not consider the requested timestamp. Now if the row it finds has a timestamp greater than the one desired it advances to determine if a row with a timestamp less than or equal to the requested one exists since timestamps are sorted descending.
- removed an unnecessary else

testScanMultipleVersions
- Test program that fails on current trunk but passes when this patch is applied.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@670124 13f79535-47bb-0310-9956-ffa450edef68
2008-06-21 02:52:35 +00:00
Bryan Duxbury d5b1dfe30c HBASE-615 Region balancer oscillates during cluster startup
-Change HServerLoad's getLoad method to ignore the number of requests, thus causing RegionManager to assign based merely on number of regions per server

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@669533 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 16:30:24 +00:00
Michael Stack 94956b1e25 HBASE-672 Sort regions in the regionserver UI -- was committed a while ago
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@669394 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 06:03:41 +00:00
Michael Stack b3437875a6 HBASE-699 Fix TestMigrate up on Hudson
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@669392 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 05:55:09 +00:00
Michael Stack b01f2f1c87 Forgot to accredit HBASE-683 to Rong-En
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@669378 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 03:51:22 +00:00
Michael Stack 2f98213248 HBASE-683 can not get svn revision # at build time if locale is not english
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@669376 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 03:42:45 +00:00
Michael Stack bb637b6cc5 HBASE-652 dropping table fails silently if table isn't disabled
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@669336 13f79535-47bb-0310-9956-ffa450edef68
2008-06-18 23:52:48 +00:00
Michael Stack 1342ed9b5c HBASE-487 New shell....
Add in special handling of .META. table that we used have in HQL
(so it prints out the HRegionInfo pretty).  Also allow making a scanner
without specifying columns.

M  src/java/org/apache/hadoop/hbase/HTableDescriptor.java
   Allow getMetadata work if HTable is set against meta tables.
   Was failing on isLegalTableName if name was one of the catalog table names.
   Needed by shell.
M src/java/org/apache/hadoop/hbase/client/HTable.java
  Comment.
M  bin/hbase
  Remove commented out line.
M  bin/HBase.rb
  Allow passing just a table name to scanner; let it figure out all families
  Added in the special handling of .META. table cells that we used have in HQL
  so we can see start/end row, etc.  Added in extra testing.
M  bin/Formatter.rb
  Allow setting width of emitted table in console formatter
M  bin/hirb.rb
  Allow setting width of emitted table in console formatter
  Improved scanner help.:


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@669318 13f79535-47bb-0310-9956-ffa450edef68
2008-06-18 22:24:34 +00:00
Bryan Duxbury de39e81f3a HBASE-694 HStore.rowAtOrBeforeFromMapFile() fails to locate the row if # of mapfiles >= 2
-Added new test to TestGet2 to highlight multi-storefile getClosestBefore issue
-Removed erroneous return that caused 2nd and subsequent mapfiles to be skipped
-Split HStore#rowKeyAtOrBeforeFromMapfile into two sub-methods for readability

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@669211 13f79535-47bb-0310-9956-ffa450edef68
2008-06-18 16:28:23 +00:00
Michael Stack 542bff9b3b HBASE-691 get* and getScanner are different in how they treat column parameter
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@668830 13f79535-47bb-0310-9956-ffa450edef68
2008-06-17 21:07:50 +00:00
Jim Kellerman 132a644260 HBASE-686 MemcacheScanner didn't return the first row(if it exists), because HScannerInterface's output incorrect (LN via Jim Kellerman)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@668822 13f79535-47bb-0310-9956-ffa450edef68
2008-06-17 20:49:10 +00:00
Michael Stack 1bc0a2a0a3 HBASE-682 unnecessary iteration in HMemcache.internalGet? got much better reading performance after break it.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@667631 13f79535-47bb-0310-9956-ffa450edef68
2008-06-13 19:53:23 +00:00
Michael Stack 4a04330d7f HBASE-682 Regularize toString
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@667295 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 23:53:56 +00:00
Michael Stack d2c38ff650 HBASE-680 config parameter hbase.io.index.interval should be hbase.index.interval, accroding to HBaseMapFile.HbaseWriter
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@667159 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 16:59:31 +00:00
Michael Stack 90719ebd62 HBASE-677 Make HTable, HRegion, HRegionServer, HStore, and HColumnDescriptor subclassable
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@666395 13f79535-47bb-0310-9956-ffa450edef68
2008-06-10 23:52:50 +00:00
Michael Stack a6457d7c04 HBASE-676 Bytes.getInt returns a long
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@666260 13f79535-47bb-0310-9956-ffa450edef68
2008-06-10 18:29:48 +00:00
Michael Stack c32f6e31bd HBASE-662 UI in table.jsp gives META locations, not the table's regions location
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@665994 13f79535-47bb-0310-9956-ffa450edef68
2008-06-10 07:46:14 +00:00
Michael Stack b5ae8db868 HBASE-665 server side scanner doesn't honor stop row
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@665928 13f79535-47bb-0310-9956-ffa450edef68
2008-06-09 22:45:24 +00:00
Michael Stack 2e0e750630 HBASE-672 Sort regions in the regionserver UI
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@664289 13f79535-47bb-0310-9956-ffa450edef68
2008-06-07 06:24:14 +00:00
Michael Stack ae83b2d6d5 HBASE-671 New UI page displaying all regions in a table should be sorted
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@664179 13f79535-47bb-0310-9956-ffa450edef68
2008-06-06 22:56:17 +00:00
Michael Stack a55aa0c517 HBASE-670 Historian deadlocks if regionserver is at global memory boundary and is hosting .META.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@664105 13f79535-47bb-0310-9956-ffa450edef68
2008-06-06 19:52:24 +00:00
Michael Stack be8ef48869 HBASE-668 HBASE-533 broke build
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@663764 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 22:22:13 +00:00
Jim Kellerman 1a7c2fc882 HBASE-666 UnmodifyableHRegionInfo gives the wrong encoded name
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@663350 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 19:24:40 +00:00
Michael Stack 3dec8def1c HBASE-533 Region Historian
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@663314 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 17:18:21 +00:00
Jim Kellerman f7dc508514 HBASE-639 Add HBaseAdmin.getTableDescriptor function
HBASE-632   HTable.getMetadata is very inefficient
HBASE-654   API HTable.getMetadata().addFamily shouldn't be exposed to user


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@662975 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 04:54:47 +00:00
Jim Kellerman fc7351288a HBASE-655 Need programmatic way to add column family: need programmatic way to enable/disable table
Added HTable.isTableOnline and HTable.isTableOffline

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@662905 13f79535-47bb-0310-9956-ffa450edef68
2008-06-03 22:16:43 +00:00
Jim Kellerman 2a543ce103 HBASE-663 Incorrect sequence number for cache flush
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@662865 13f79535-47bb-0310-9956-ffa450edef68
2008-06-03 19:27:30 +00:00
Michael Stack eb13bf8b42 HBASE-660 [Migration] addColumn/deleteColumn functionality in MetaUtils
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@662612 13f79535-47bb-0310-9956-ffa450edef68
2008-06-03 00:34:10 +00:00
Michael Stack 359fdf6238 HBASE-659 HLog#cacheFlushLock not cleared; hangs a region
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@662146 13f79535-47bb-0310-9956-ffa450edef68
2008-06-01 04:42:11 +00:00
Michael Stack f328681e00 HBASE-649 API polluted with default and protected access data members and methods
HBASE-650 Add String versions of get, scanner, put in HTable
HBASE-656 Do not retry exceptions such as unknown scanner or illegal argument
A  src/java/org/apache/hadoop/hbase/ColumnNameParseException.java
A  src/java/org/apache/hadoop/hbase/LeaseException.java
    Added.  Thrown instead of IllegalArgumentExceptions
M  src/java/org/apache/hadoop/hbase/Leases.java
    Use new LeaseException in place of IllegalArgument
M  src/java/org/apache/hadoop/hbase/HStoreKey.java
    Use new ColumnNameParse in place of IllegalArgument
M  src/java/org/apache/hadoop/hbase/master/ServerManager.java
    Log at debug if LeaseException (Not important if it happens).
A  src/java/org/apache/hadoop/hbase/DoNotRetryIOException.java
    An IOE that shouldn't be retried.
M  src/java/org/apache/hadoop/hbase/InvalidColumnNameException.java
M  src/java/org/apache/hadoop/hbase/UnknownScannerException.java
    Inherit from DoNotRetryIOException else we keep trying.
M  src/java/org/apache/hadoop/hbase/util/Bytes.java
    (toByteArrays): Added one to handle [] String.
M  src/java/org/apache/hadoop/hbase/client/HTable.java
    Make String overrides of all methods.  Made data members
    private (turns out a bunch arent' even used).  Stopped it
    inheriting from HConstants so we don't have big dump of
    all HConstants as first thing in javadoc.
M  src/java/org/apache/hadoop/hbase/client/HConnectionManager.java
    If instance of DoNotRetryIOException, let the exception out.
M  src/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
    Make String overrides of all methods.  Stopped it
    inheriting from HConstants so we don't have big dump of
    all HConstants as first thing in javadoc.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@661541 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 00:51:43 +00:00
Michael Stack f8c4649209 HBASE-651 table.commit should throw NoSuchColumnFamilyException if column family doesn't exist
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@661512 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 22:35:36 +00:00
Michael Stack f4d0096a06 HBASE-640 TestMigrate failing on hudson
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@661211 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 04:54:27 +00:00
Michael Stack 8d0665881e HBASE-648 If mapfile index is empty, run repair
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@661089 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 21:17:31 +00:00
Michael Stack 6061624031 HBASE-646 EOFException opening HStoreFile info file (spin on HBASE-645 and 550)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@661040 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 18:38:46 +00:00
Michael Stack 8b292ae202 HBASE-645 and HBASE-642 Splitting log in a hostile environment -- bad hdfs -- we drop write-ahead-log edits
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@660727 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 21:42:14 +00:00
Michael Stack 6829ba8a01 HBASE-641 Improve master split logging
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@660686 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 20:26:44 +00:00
Michael Stack c37590cd99 HBASE-644 DroppedSnapshotException but RegionServer doesn't restart
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@660366 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 04:17:52 +00:00
Michael Stack cb9d586513 HBASE-487 Replace hql w/ a hbase-friendly jirb or jython shell, Part 1: Purge hql, added raw jirb
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@659445 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 06:21:16 +00:00
Michael Stack f63ecc9a06 HBASE-638 Purge \r from src
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@659249 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 20:49:25 +00:00
Jim Kellerman 192e438289 HBASE-589 Remove references to deprecated methods in Hadoop once hadoop-0.17.0 is released
HBASE-579 Add hadoop 0.17.0


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@659245 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 20:32:25 +00:00
Michael Stack 64a2a3e505 HBASE-583 RangeRowFilter, allow to choose rows based on a (lexicographic) comparison to column's values
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@659164 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 17:17:07 +00:00
Michael Stack a000a20845 HBASE-504 Allow HMsg's carry a payload: e.g. exception that happened
over on the remote side.

M  src/test/org/apache/hadoop/hbase/TestSerialization.java
    Add test that HMsg with region and message serializes.
M  src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
    HMsg types have been enumified.  Also use some of the new
    static messages.  On split and close because of error,
    add message to the HMsg we pass back to the master.
M  src/java/org/apache/hadoop/hbase/HServerInfo.java
    (compareTo): Added.
M  src/java/org/apache/hadoop/hbase/HRegionInfo.java
    Allow null in compareTo.
M src/java/org/apache/hadoop/hbase/master/ServerManager.java
    Use the new HMsg.isType figuring message type.
    Redo message logging.  Use convenience HMsg statics.
M  src/java/org/apache/hadoop/hbase/master/RegionManager.java
    Pass back overloaded message if region shutdown because of balancing.
M  src/java/org/apache/hadoop/hbase/HServerAddress.java
    Make it so that two addresses equate even if one has hostname
    and the other IP.
M  src/java/org/apache/hadoop/hbase/ipc/HMasterRegionInterface.java
    Up the protocol version for regionserver reporting master messages.
M  src/java/org/apache/hadoop/hbase/HMsg.java
    Enumify the messge types.
    Define a few static HMsgs for convenience.
    Allow optional message. Improved toString.
    (isType, equals, hashCode): Added.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@658465 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 22:29:36 +00:00
Michael Stack bf4536f713 HBASE-621 Make MAX_VERSIONS work like TTL: In scans and gets, check MAX_VERSIONs setting and return that many only rather than wait on compaction
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@658419 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 20:40:47 +00:00
Michael Stack 7bbe456b0f HBASE-23 UI listing regions should be sorted by address and show additional region state
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@658356 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 17:29:33 +00:00
Michael Stack fc80b823c4 HBASE-626 Use Visitor pattern in MetaRegion to reduce code clones in HTable and HConnectionManager
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@658337 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 16:54:29 +00:00
Michael Stack 9cb0f8bdfb HBASE-630 Default hbase.rootdir is garbage
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@658098 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 04:30:18 +00:00
Michael Stack 274ed7384b HBASE-623 migration script for hbase-82
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@658016 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19 22:46:50 +00:00
Jim Kellerman db289cb669 HBASE-629 Split reports incorrect elapsed time
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@657226 13f79535-47bb-0310-9956-ffa450edef68
2008-05-16 21:45:11 +00:00
Michael Stack 680343c2b2 HBASE-82 row keys should be array of bytes
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@656868 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 22:10:47 +00:00
Michael Stack bcdb066cae Another nothing change to provoke a build
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@656514 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 05:43:28 +00:00
Michael Stack 7ddd733236 HBASE-569 DemoClient.php
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@656511 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 05:26:47 +00:00
Michael Stack 100a1616d4 Nothing change to force build on hudson to see if ant changes will make it build again
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@656506 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 05:02:02 +00:00
Michael Stack 302997693a Add note about the 0.1.2 release
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@656500 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 03:56:43 +00:00
Jim Kellerman 595b75b105 HBASE-538 Improve exceptions that come out on client-side
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@656341 13f79535-47bb-0310-9956-ffa450edef68
2008-05-14 18:07:03 +00:00
Jim Kellerman 8d5e1e7025 HBASE-624 Master will shut down if number of active region servers is zero even if shutdown was not requested
M HMaster

- Moved HMaster.quiescedMetaServers to ServerManager.quiescedServers and changed name since only servers serving user regions get quiesced.
- Removed HMaster.tableInCreation - not used

M ServerManager

- Don't check if quiescedServers.get() >= serversToServerInfo.size() unless master.shutdownRequested is true.

M HRegionServer

- Change order of checks in main loop of HRegionServer.run, so that booleans are checked before we check the number of messages to process
- Don't break out of main loop if restart or stop requested - stop is checked at top of loop and we need to continue rather than break out of main loop if restart was requested



git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@655962 13f79535-47bb-0310-9956-ffa450edef68
2008-05-13 18:25:31 +00:00
Jim Kellerman 4e03053213 HBASE-622 Remove StaticTestEnvironment and put a log4j.properties in src/test
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@655650 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 21:22:38 +00:00
Jim Kellerman 8544e3d1f3 HBASE-614 Retiring regions is not used; exploit or remove
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@654653 13f79535-47bb-0310-9956-ffa450edef68
2008-05-08 23:41:47 +00:00
Michael Stack 7eddf55102 HBASE-620 testmergetool failing in branch and trunk since hbase-618 went in
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@654327 13f79535-47bb-0310-9956-ffa450edef68
2008-05-07 23:33:33 +00:00
Jim Kellerman 5a8da86833 HBASE-611 regionserver should do basic health check before reporting alls-well to the master
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@654301 13f79535-47bb-0310-9956-ffa450edef68
2008-05-07 22:08:21 +00:00
Jim Kellerman 4aa78f4f28 HBASE-453 undeclared throwable exception from HTable.get
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@654256 13f79535-47bb-0310-9956-ffa450edef68
2008-05-07 20:19:53 +00:00
Jim Kellerman eaa03f245b HBASE-600 Filters have excessive DEBUG logging
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@654229 13f79535-47bb-0310-9956-ffa450edef68
2008-05-07 19:35:47 +00:00
Jim Kellerman b3f4ddc1bc HBASE-478 offlining of table does not run reliably
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@654193 13f79535-47bb-0310-9956-ffa450edef68
2008-05-07 17:56:06 +00:00
Michael Stack cfefc60bac HBASE-619 Fix 'logs' link in UI
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@654184 13f79535-47bb-0310-9956-ffa450edef68
2008-05-07 17:31:29 +00:00
Michael Stack 20ee89aa4c HBASE-618 We always compact if 2 files, regardless of the compaction threshold setting
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@654169 13f79535-47bb-0310-9956-ffa450edef68
2008-05-07 16:58:10 +00:00
Michael Stack 2eef957d36 HBASE-47 option to set TTL for columns in hbase
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@653986 13f79535-47bb-0310-9956-ffa450edef68
2008-05-07 04:17:09 +00:00
Jim Kellerman 8df7f79781 HBASE-405 TIF and TOF use log4j directly rather than apache commons-logging
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@653941 13f79535-47bb-0310-9956-ffa450edef68
2008-05-06 22:18:24 +00:00
Jim Kellerman ab778e22e4 HBASE-607 MultiRegionTable.makeMultiRegionTable is not deterministic enough for regression tests
M MultiRegionTable

  Make deterministic by creating the regions directly and not rely on
  the asychronous nature of cache flushes, compactions and splits. The
  regions are small, but the point of this class is to generate a
  table with multiple regions so we can test map / reduce, region
  onlining / offlining, etc.

  Removed PUNCTUATION from row keys. Not sure why it was there in the
  first place, other than perhaps to verify that a row key can have
  punctuation in it provided it is not the first character. This will
  become moot when row keys change from Text to byte[] anyways.

  Incorporate repeated code
{code}
    region.close();
    region.getLog().closeAndDelete();
{code}
  into private method closeRegionAndDeleteLog

M TestSplit

  extends HBaseClusterTestCase instead of MultiRegionTable. It didn't
  use the output of MultiRegionTable, so all that work was just wasted
  by this test.

M TestTableIndex, TestTableMapReduce

  The only two tests that currently use MultiRegionTable. Minor
  modifications needed because MultiRegionTable now handles starting
  and stopping of the mini-DFS cluster. With the new MultiRegionTable
  class, if these tests fail now it will be because something they are
  testing has regressed and not because MultiRegionTable failed.



git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@652587 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 17:37:24 +00:00
Michael Stack c70e4fa984 HBASE-609 Master doesn't see regionserver edits because of clock skew
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@652436 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 06:05:58 +00:00
Michael Stack 0c08836299 HBASE-608 HRegionServer::getThisIP() checks hadoop config var for dns interface name
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@652428 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 04:22:56 +00:00
Michael Stack 9cd46728ff HBASE-604 Don't allow CLASSPATH from environment pollute the hbase CLASSPATH
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@652189 13f79535-47bb-0310-9956-ffa450edef68
2008-04-29 23:29:17 +00:00