Commit Graph

859 Commits

Author SHA1 Message Date
Michael Stack 8b0ee762e2 HBASE-1234 Change HBase StoreKey format
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@764289 13f79535-47bb-0310-9956-ffa450edef68
2009-04-12 10:39:55 +00:00
Jim Kellerman ce165db2a7 HBASE-1202 getRow does not always work when specifying number of versions
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@764024 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10 19:57:50 +00:00
Andrew Kyle Purtell 90e8591cb4 HBASE-1309 HFile rejects key in Memcache with empty value
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@762889 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 18:22:59 +00:00
Andrew Kyle Purtell 88a42b8ce6 HBASE-1310 Off by one error in Bytes.vintToBytes
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@762163 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 21:30:09 +00:00
Michael Stack e2eacecb29 HBASE-1298 master.jsp & table.jsp do not URI Encode table or region names in links
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@761689 13f79535-47bb-0310-9956-ffa450edef68
2009-04-03 14:18:31 +00:00
Andrew Kyle Purtell 398b5f20ab HBASE-1205 RegionServers should find new master when a new master comes up
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@761498 13f79535-47bb-0310-9956-ffa450edef68
2009-04-03 01:24:45 +00:00
Michael Stack 90e58571e3 HBASE-1303 Secondary index configuration prevents HBase from starting
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@761189 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 07:28:25 +00:00
Andrew Kyle Purtell e1888e57f5 HBASE-1232 zookeeper client wont reconnect if there is a problem
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@759821 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 01:15:07 +00:00
Michael Stack c150f02537 HBASE-1150 HMsg carries safemode flag; remove
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@759676 13f79535-47bb-0310-9956-ffa450edef68
2009-03-29 13:10:49 +00:00
Andrew Kyle Purtell a232c6e8f6 HBASE-1293 hfile doesn't recycle decompressors
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@759410 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 00:38:38 +00:00
Andrew Kyle Purtell dd3a140107 HBASE-1186 Memory-aware maps with LRU eviction for cell cache
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@758496 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 01:47:24 +00:00
Andrew Kyle Purtell f73bd2ce23 HBASE-1290 table.jsp either 500s out or doesnt list the regions
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@758491 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 01:14:15 +00:00
Michael Stack 18f891cde5 HBASE-1289 Remove hbase.fully.distributed option and update docs
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@758471 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 00:02:33 +00:00
Michael Stack a84378ea29 HBASE-1285 Forcing compactions should be available via thrift
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@758467 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 23:47:36 +00:00
Michael Stack acedfb9154 HBASE-1145 Ensure that there is only 1 Master with Zookeeper (part of HA Master)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@758266 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 14:13:26 +00:00
Michael Stack 89c5b7c524 HBASE-1284 drop table drops all disabled tables
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@758227 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 11:30:01 +00:00
Michael Stack 99d68d7d45 HBASE-803 Atomic increment operations -- part 2 -- fix crash
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@758183 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 09:09:43 +00:00
Michael Stack 5a84e853cf HBASE-1283 thrift's package descrpition needs to update for start/stop procedure
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@757632 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 01:33:40 +00:00
Michael Stack c6173b6308 HBASE-1274 TestMergeTable is broken in Hudson
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@757536 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 20:36:52 +00:00
Michael Stack 948e551a16 HBASE-1273 ZooKeeper WARN spits out lots of useless messages
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@756793 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 22:42:25 +00:00
Michael Stack 67427e1d8c HBASE-1277, HBASE-1275 HStoreKey: Wrong comparator logic & TestTable.testCreateTable broken
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@756395 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 09:55:10 +00:00
Michael Stack 9704f6049c HBASE-1270 Fix TestInfoServers
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@756274 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 23:52:38 +00:00
Michael Stack bfda6ae20e HBASE-1262 Eclipse warnings, including performance related things like synthetic accessors
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@755878 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 09:03:08 +00:00
Michael Stack d8bf82b984 HBASE-1268 ZooKeeper config parsing can break HBase startup
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@755877 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 08:55:11 +00:00
Michael Stack 4f9c466426 HBASE-1267 binary keys broken in trunk (again). -- part 3
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@755875 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 08:52:18 +00:00
Michael Stack 35e12fb811 HBASE-1267 binary keys broken in trunk (again)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@755804 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 00:54:10 +00:00
Michael Stack c3a68eaf4c HBASE-1145 Ensure that there is only 1 Master with Zookeeper
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@755725 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 20:46:18 +00:00
Michael Stack 351e1ad689 HBASE-1244 ZooKeeperWrapper constants cleanup
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@755720 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 20:17:52 +00:00
Michael Stack 2aa378fba6 HBASE-1265 HLogEdit static constants should be final.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@755712 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 19:42:35 +00:00
Michael Stack ed32441b0c HBASE-1258,1259 ganglia metrics for 'requests' is confusing
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@753602 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 05:59:48 +00:00
Jim Kellerman e8520cf5d3 HBASE-1157, HBASE-1156 If we do not take start code as a part of region server recovery, we could inadvertantly try to reassign regions assigned to a restarted server with a different start code; Improve lease handling
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@753483 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 01:38:45 +00:00
Michael Stack d67d131f10 HBASE-1251 HConnectionManager.getConnection(HBaseConfiguration) returns same HConnection for different HBaseConfigurations
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@753308 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 16:07:35 +00:00
Michael Stack 7461f767a6 HBASE-1252 Make atomic increment perform a binary increment
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@752284 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 22:22:06 +00:00
Michael Stack eac35b0f2c HBASE-803 Atomic increment operations
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@751874 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 22:15:27 +00:00
Jim Kellerman 2ae864d629 HBASE-1169 When a shutdown is requested, stop scanning META regions immediately
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@751172 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 02:21:44 +00:00
Michael Stack c45dc36738 HBASE-1243 oldlogfile.dat is screwed, so is it's region
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@751076 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 21:30:40 +00:00
Michael Stack f315730de5 HBASE-1247 checkAndSave doesn't Write Ahead Log
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@751050 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 19:50:22 +00:00
Jean-Daniel Cryans 0aafa3ef8f HBASE-1238 Under upload, region servers are unable
to compact when loaded with hundreds of regions
This is a hack, compactions may run prematurely. 


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@751023 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 18:26:00 +00:00
Michael Stack 094a2030f0 HBASE-1245 hfile meta block handling bugs
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@750784 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 06:47:04 +00:00
Michael Stack 1d2810b167 HBASE-1239 input buffer reading in the REST interface does not correctly clear the character buffer each iteration
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@750782 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 06:40:25 +00:00
Michael Stack f4da3b9340 HBASE-1240 Would be nice if RowResult could be comparable
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@750778 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 06:29:21 +00:00
Michael Stack 353c716a54 HBASE-1231 Today, going from a RowResult to a BatchUpdate reqiures some data processing even though they are pretty much the same thing.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@750777 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 06:13:17 +00:00
Jean-Daniel Cryans 7dd31ec417 HBASE-1241 HBase additions to ZooKeeper part 1 (Nitay Joffe via JD)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@750751 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 02:20:55 +00:00
Jean-Daniel Cryans 19491b5a20 HBASE-1185 wrong request/sec in the gui reporting wrong
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@750463 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 14:09:29 +00:00
Michael Stack 1e3b2548b2 HBASE-1233 Transactional fixes: Overly conservative scan read-set, potential CME
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@749716 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 19:51:58 +00:00
Michael Stack 08693f66a8 HBASE-1217 Changed HColumnDescriptor so it now has blocksize, and compression
is not lzo, gz or none (rather than block, key or none).  Made changes to
shell so you can do this configuration therein.  Bloomfilter still not
hooked up.

HBASE-859 HStoreKey needs a reworking... binary keys work again.

HBASE-1211 NPE in retries exhausted exception


M src/test/org/apache/hadoop/hbase/TestHStoreKey.java
    Added tests comparing binary keys, plain, meta and root keys.
    Enabled the commented-out testHStoreKeyBorderCases.
M  src/test/org/apache/hadoop/hbase/HBaseTestCase.java
    Removed PUNCTUATION pollution of keys.
M src/test/org/apache/hadoop/hbase/regionserver/TestBloomFilters.java
    Use different compression type.
M src/test/org/apache/hadoop/hbase/regionserver/TestTimestamp.java
    Use new HCD constructor.
M src/test/org/apache/hadoop/hbase/regionserver/TestScanner.java
    Was using ROOT table but a plain hstorekey comparator; that won't
    work (have to be careful about which comparator is used on which
    table from here on out).
M src/test/org/apache/hadoop/hbase/regionserver/TestStoreFile.java
    getWriter now takes whether or not bloom filter, etc.
M  src/test/org/apache/hadoop/hbase/regionserver/TestCompaction.java
    Removed PUNCTUATION pollution.
M src/test/org/apache/hadoop/hbase/filter/TestStopRowFilter.java
M src/test/org/apache/hadoop/hbase/client/TestBatchUpdate.java
    Whitespace.
M src/test/org/apache/hadoop/hbase/io/hfile/TestHFile.java
    Pass compressor and whether bloomfilter.
M src/test/org/apache/hadoop/hbase/PerformanceEvaluation.java
    Added new seek+scan test.
M src/java/org/apache/hadoop/hbase/HColumnDescriptor.java
    Added in BLOCKSIZE, changed COMPRESSION arguments.
    Removed DEFAULT_MAPFILE_INDEX_INTERVAL.
    Upped the version from 6 to 7.
M src/java/org/apache/hadoop/hbase/HStoreKey.java
    New object and raw byte comparators, one for each context of
    plain, meta, and root.  Use same code.  Other utility such
    as static creates that take a ByteBuffer or a byte array of
    a serialized HStoreKey.  Old compareTo methods are deprecated
    since they can return wrong answer if binary keys.
    New getBytes without creating Streams.
    Removed the old BeforeThisStoreKey trick.
    Custom vint math methods that work with ByteBuffers and byte []
    instead of streams.
M src/java/org/apache/hadoop/hbase/thrift/ThriftUtilities.java
    Fixup for new compression.
M src/java/org/apache/hadoop/hbase/regionserver/Memcache.java
    Pass in comparator to use.
M src/java/org/apache/hadoop/hbase/regionserver/StoreScanner.java
M src/java/org/apache/hadoop/hbase/regionserver/StoreFileScanner.java
    Use right comparator comparing rows
M src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
M src/java/org/apache/hadoop/hbase/regionserver/HAbstractScanner.java
    Formatting.
M src/java/org/apache/hadoop/hbase/regionserver/HRegion.java
    Formatting.
    Might be issues here with key compares but no store in the
    context... leave it for now.
M src/java/org/apache/hadoop/hbase/regionserver/Store.java
    Use new comparators and hcd changes.
M src/java/org/apache/hadoop/hbase/regionserver/StoreFile.java
    Added override of HFile.Reader so could format the toString
    (so HFile doesn't have to know about HStoreKeys though thats
    what we put in there always -- let it just be about
    byte []).
M src/java/org/apache/hadoop/hbase/rest/parser/JsonRestParser.java
M src/java/org/apache/hadoop/hbase/rest/parser/XMLRestParser.java
M src/java/org/apache/hadoop/hbase/HTableDescriptor.java
    Fix up for new HCD.
M src/java/org/apache/hadoop/hbase/HRegionInfo.java
M src/java/org/apache/hadoop/hbase/master/MetaRegion.java
    Use Bytes.compareTo.
M src/java/org/apache/hadoop/hbase/io/HalfHFileReader.java
    (isTop): Added.
M src/java/org/apache/hadoop/hbase/io/RowResult.java
    Formatting.
M src/java/org/apache/hadoop/hbase/io/hfile/Compression.java
    Make getCompressionAlgorithmByName public.
M src/java/org/apache/hadoop/hbase/io/hfile/HFile.java
    Add in writer constructor that takes compression and bloom filter.
    Fix some of the comparator use.
M src/java/org/apache/hadoop/hbase/io/HbaseMapWritable.java
    Remove commented out code
M src/java/org/apache/hadoop/hbase/io/Cell.java
    Formatting.
M src/java/org/apache/hadoop/hbase/io/HBaseMapFile.java
    Use new comparator names.
A src/java/org/apache/hadoop/hbase/util/TestBytes.java
    Small bytes test.
M src/java/org/apache/hadoop/hbase/util/Bytes.java
    Some overrides to help when source is ByteBuffer.
    Added in some vint math utility.
M src/java/org/apache/hadoop/hbase/client/HTable.java
    Formatting.
M src/java/org/apache/hadoop/hbase/client/MetaScanner.java
    Use Bytes.compareTO.
M src/java/org/apache/hadoop/hbase/client/HConnectionManager.java
    Use right comparator.
M src/java/org/apache/hadoop/hbase/client/UnmodifyableHColumnDescriptor.java
    Make it match HCD.
M src/java/org/apache/hadoop/hbase/client/RetriesExhaustedException.java
    Fix NPE
M src/java/org/apache/hadoop/hbase/client/ScannerCallable.java
    Formatting.
M bin/HBase.rb
    Support for new HCD.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@749546 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 06:48:33 +00:00
Jim Kellerman 8206da62c0 HBASE-1230 Document installation of HBase on Windows
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@749424 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 19:52:21 +00:00
Michael Stack 2ec433e990 HBASE-1188 Memory size of Java Objects - Make cacheable objects implement HeapSize
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@748259 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 18:21:49 +00:00
Michael Stack e52b1ac411 HBASE-1189 Changing the map type used internally for HbaseMapWritable
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@748256 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 18:17:46 +00:00
Michael Stack 5a9bdffadb HBASE-1221 When using ant -projecthelp to build HBase not all the important options show up.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@748241 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 17:58:31 +00:00