Commit Graph

772 Commits

Author SHA1 Message Date
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 6ae1f385dc 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@700528 13f79535-47bb-0310-9956-ffa450edef68
2008-09-30 17:18:33 +00:00
Michael Stack 67c748bf1a Fix javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@700231 13f79535-47bb-0310-9956-ffa450edef68
2008-09-29 20:07:42 +00:00
Michael Stack c3542a31ed Fix javadoc for column family parameter in HCD
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@700228 13f79535-47bb-0310-9956-ffa450edef68
2008-09-29 19:58:50 +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 ed8a0c939f HBASE-875 Use MurmurHash instead of JenkinsHash
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@698268 13f79535-47bb-0310-9956-ffa450edef68
2008-09-23 18:23:48 +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 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 8f96de140a Add missing license
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@697264 13f79535-47bb-0310-9956-ffa450edef68
2008-09-19 22:01:38 +00:00
Michael Stack b92dcd42c6 Fix the version of hadoop 0.18 hbase works with in the hbase requirements section of 'Getting Started'.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@697153 13f79535-47bb-0310-9956-ffa450edef68
2008-09-19 17:02:23 +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 8aaf774c9d Remove tabs accidentally committed as part of HBASE-882
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@693988 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 21:17:56 +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
Jim Kellerman 7c0a0af77c HBASE-871 introduced javadoc error
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@693934 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 19:19:05 +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 9553b1c946 HBASE-872 Getting exceptions in shell when creating/disabling tablesk
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@692593 13f79535-47bb-0310-9956-ffa450edef68
2008-09-06 00:32:16 +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 3e7dd73cd1 Remove DEBUG messages
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@690650 13f79535-47bb-0310-9956-ffa450edef68
2008-08-31 07:12:58 +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 78eb75fdbb HBASE-834 'Major' compactions and upper bound on files we compact at any one time; more from Billy -- fix for upper bound not working
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@690635 13f79535-47bb-0310-9956-ffa450edef68
2008-08-31 04:31:08 +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 776b740aa4 HBASE-834 Removed redundant logging
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@690424 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 23:38:04 +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 93ab23183b Fix broken build -- build was broken by hbase-824
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@690370 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 19:19:16 +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 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 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 ed98d6bc25 HBASE-669 MultiRegion transactions with Optimistic Concurrency Control; disable test that doesn't pass yet
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@686663 13f79535-47bb-0310-9956-ffa450edef68
2008-08-18 00:16:25 +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 5580255c08 HBASE-822 Update thrift README and HBase.thrift to use thrift 20080411
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@686572 13f79535-47bb-0310-9956-ffa450edef68
2008-08-16 23:12:12 +00:00
Michael Stack fddd62e6c5 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@686569 13f79535-47bb-0310-9956-ffa450edef68
2008-08-16 22:10:13 +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 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 aabc02c44b HBASE-808,809 MAX_VERSIONS not respected, and Deletall doesn't and inserts; fix misapplication of patch
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@685458 13f79535-47bb-0310-9956-ffa450edef68
2008-08-13 06:22:49 +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 daccae3d26 HBASE-795 More Table operation in TableHandler for REST interface; forgot file
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@685351 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 22:31:51 +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 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 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 0696c139f5 HBASE-811 fix whitespaace
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@684937 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 21:24:04 +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
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 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 4c86428312 Fix mistake in last commit
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@681895 13f79535-47bb-0310-9956-ffa450edef68
2008-08-01 23:09:30 +00:00
Michael Stack 165e2ed915 Fix deadlock caused by HBASE-790 patch
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@681889 13f79535-47bb-0310-9956-ffa450edef68
2008-08-01 23:01:08 +00:00
Michael Stack 92bd62bf58 Fix overlogging; part of HBASE-792 patch
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@681833 13f79535-47bb-0310-9956-ffa450edef68
2008-08-01 21:23:02 +00:00
Michael Stack b3bdd512f3 Patches to alleviate HBASE-790 and HBASE-792
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@681822 13f79535-47bb-0310-9956-ffa450edef68
2008-08-01 20:59:52 +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 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 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 06c52615f8 HBASE-746 Batching row mutations via thrift
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@679585 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 22:29:31 +00:00
Michael Stack f08923b0d6 HBASE-746 Batching row mutations via thrift
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@679561 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 22:07:03 +00:00
Michael Stack 3b544ee93c HBASE-772 Up default lease period from 60 to 120 seconds
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@679560 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 22:01:05 +00:00
Michael Stack febd92015a Change message on compactions to be DEBUG level
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@679236 13f79535-47bb-0310-9956-ffa450edef68
2008-07-23 23:51:49 +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 0330ea17c1 HBASE-766 FileNotFoundException trying to load HStoreFile 'data'
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@679210 13f79535-47bb-0310-9956-ffa450edef68
2008-07-23 22:09:52 +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 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 440f7256eb HBASE-761 IOE: Stream closed exception all over logs
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@678918 13f79535-47bb-0310-9956-ffa450edef68
2008-07-22 21:48:03 +00:00
Michael Stack 80843cd04d HBASE-750 NPE caused by StoreFileScanner.updateReaders
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@678898 13f79535-47bb-0310-9956-ffa450edef68
2008-07-22 20:59:20 +00:00
Michael Stack 6591077efc Disabling test that is flakey up on hudson
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@678878 13f79535-47bb-0310-9956-ffa450edef68
2008-07-22 20:04:19 +00:00
Michael Stack be3f1a6ea3 HBASE-760 brittle/broken HCD create handling in HBase.rb
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@678866 13f79535-47bb-0310-9956-ffa450edef68
2008-07-22 19:22:21 +00:00
Michael Stack ec38a78ca8 Disable tests that are flakey up on hudson
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@678860 13f79535-47bb-0310-9956-ffa450edef68
2008-07-22 18:43:35 +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 a44cb5bef8 Part of HBASE-743 bin/hbase migrate upgrade fails when redo logs exists
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@678538 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 19:35:44 +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 a34a37985f 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@678454 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 15:47:35 +00:00
Michael Stack 296cb8ca75 HBASE-711 Complain if clock skew across the cluster is badly out of sync; Documentation
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@678223 13f79535-47bb-0310-9956-ffa450edef68
2008-07-19 21:38:13 +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
Jim Kellerman d6522ebe2d Fix javadoc error
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@677656 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 17:59:49 +00:00
Michael Stack f656ae1923 HBASE-62 Allow user add arbitrary key/value pairs to table and column descriptors; Remove an exception catch I'd left in place, remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@677603 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 15:00:36 +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
Michael Stack d136ccecaf HBASE-62 Allow user add arbitrary key/value pairs to table and column descriptors; part 1 -- simplify migration before changing it
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@677483 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 01:29:34 +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
Jim Kellerman 422c3ff605 HBASE-744 BloomFilter serialization/deserialization broken
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@677011 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 19:07:57 +00:00
Jim Kellerman d37bbd20d1 HBASE-744 BloomFilter serialization/deserialization broken
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@677008 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 19:01:55 +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
Michael Stack e545586c0d HBASE-739 HBaseAdmin.createTable() using old HTableDescription doesn't work; second attempt
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@676739 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 21:15:17 +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 5162324ef9 HBASE-696 Make bloomfilter true/false and self-sizing
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@676097 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 23:07:36 +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 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 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 4864fe13af HBASE-562 Move Exceptions to subpackages
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@673773 13f79535-47bb-0310-9956-ffa450edef68
2008-07-03 19:32:04 +00:00
Michael Stack 2dceb8340d HBASE-562 Move Exceptions to subpackages
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@673771 13f79535-47bb-0310-9956-ffa450edef68
2008-07-03 19:30:35 +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
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
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