Todd Lipcon
d4d7ceef68
HBASE-3115. HBaseClient wastes 1 TCP packet per RPC
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1024125 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 06:03:25 +00:00
Ryan Rawson
1eede65ae1
HBASE-2985 HRegionServer.multi() no longer calls HRegion.put(List) when possible
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1024074 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 01:01:52 +00:00
Michael Stack
113d533ad7
HBASE-2669 HCM.shutdownHook causes data loss with hbase.client.write.buffer != 0
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1024067 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 23:58:21 +00:00
Andrew Kyle Purtell
2fe608efd3
HBASE-3121 [rest] Do not perform cache control when returning results
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1024055 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 22:56:36 +00:00
Jonathan Gray
5f7c8ca1b2
HBASE-2700 Test of: Handle master failover for regions in transition
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1023953 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 19:08:50 +00:00
Todd Lipcon
2a6edb9848
HBASE-3101. bin assembly doesn't include -tests or -source jars
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1023937 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 18:30:00 +00:00
Michael Stack
53b0c0097a
HBASE-3097 Merge in hbase-1200 doc on bloomfilters into hbase book
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1023380 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 21:55:34 +00:00
Michael Stack
7d71883786
HBASE-3088 TestAvroServer and TestThriftServer broken because use same table in all tests and tests enable/disable/delete; adding mention to CHANGES.txt
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1023193 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 05:55:04 +00:00
Michael Stack
cd9a0cb473
HBASE-2968 No standard family filter provided
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1023190 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 05:53:13 +00:00
Michael Stack
a01b4c5576
HBASE-3110 TestReplicationSink failing in TRUNK up on Hudson; mentioning fixed issue in CHANGES.txt
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1023189 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 05:46:27 +00:00
Michael Stack
c8f2f45a99
HBASE-3098 TestMetaReaderEditor is broken in TRUNK; hangs; made mention in CHANGES.txt
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1023188 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 05:40:05 +00:00
Michael Stack
aab46757ec
HBASE-3081 Log Splitting & Replay: Distinguish between Network IOE and Parsing IOE
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1023186 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 05:35:27 +00:00
Michael Stack
63ba21eca5
HBASE-2933 Skip EOF Errors during Log Recovery
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1023183 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 05:27:57 +00:00
Michael Stack
dcbcd4f2d4
HBASE-3113 Don't reassign regions if cluster is being shutdown
...
M src/main/java/org/apache/hadoop/hbase/master/ServerManager.java
Bit of javadoc.
M src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
If bad server, pass in name of bad server when remaking assignment
plan -- i missed this important part on commit of part 2 of 3113.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1023179 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 05:07:50 +00:00
Jean-Daniel Cryans
a5a00687ef
HBASE-3041 [replication] ReplicationSink shouldn't kill the whole RS when
...
it fails to replicate
HBASE-3044 [replication] ReplicationSource won't cleanup logs if there's
nothing to replicate
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1022770 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 23:52:49 +00:00
Jean-Daniel Cryans
5ccf27683b
HBASE-3060 [replication] Reenable replication on trunk with unit tests
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1021447 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 18:00:48 +00:00
Michael Stack
83782f16d6
Note some resolved issues
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1006350 13f79535-47bb-0310-9956-ffa450edef68
2010-10-10 21:00:49 +00:00
Michael Stack
71d6b124dd
HBASE-3062 ZooKeeper KeeperException is a recoverable exception; we should retry a while on server startup at least.
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1006202 13f79535-47bb-0310-9956-ffa450edef68
2010-10-09 17:55:33 +00:00
Michael Stack
449fd9aa94
HBASE-3092 Replace deprecated 'new HBaseConfiguration(...)' calls
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1005936 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 18:03:03 +00:00
Michael Stack
8570a6af09
HBASE-3089 REST tests are broken locally and up in hudson
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1005660 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 22:54:28 +00:00
Andrew Kyle Purtell
a6afa7b49f
HBASE-2907 [rest/stargate] Improve error response when trying to create a scanner on a nonexistant table
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1005279 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 22:28:58 +00:00
Jonathan Gray
b2bff276ab
HBASE-3053 Add ability to have multiple Masters LocalHBaseCluster for test writing
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1005263 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 21:39:11 +00:00
Ryan Rawson
1e14da3d78
HBASE-3008 Memstore.updateColumnValue passes wrong flag to heapSizeChange (Causes memstore size to go negative)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1005261 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 21:27:16 +00:00
Andrew Kyle Purtell
38641ec196
HBASE-2906 [rest/stargate] URI decoding in RowResource
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1005175 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 17:21:32 +00:00
Ryan Rawson
723b6709fa
HBASE-3059 TestReadWriteConsistencyControl occasionally hangs (Hairong via Ryan)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1004867 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 00:59:07 +00:00
Ryan Rawson
1ef046250f
HBASE-3073 New APIs for Result, faster implementation for some calls
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1004866 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 00:44:21 +00:00
Michael Stack
70ced466fc
HBASE-2917 Reseek directly to next row
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1004339 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 17:59:22 +00:00
Michael Stack
5fe98f1184
HBASE-3043 'hbase-daemon.sh stop regionserver' should kill compactions that are in progress
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1004336 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 17:53:53 +00:00
Michael Stack
03873bbe19
HBASE-2996 Fix and clean up Maven
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1004093 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 03:19:26 +00:00
Ryan Rawson
aacffa11d0
HBASE-2753 Remove sorted() methods from Result now that Gets are Scans
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1003710 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 23:48:10 +00:00
Michael Stack
d62b494cb5
HBASE-3064 Long sleeping in HConnectionManager after thread is interrupted
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1003709 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 23:43:46 +00:00
Michael Stack
3161a555e1
HBASE-3070 Add to hbaseadmin means of shutting down a regionserver
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1003702 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 23:15:38 +00:00
Michael Stack
dd39498ce4
HBASE-3068 IllegalStateException when new server comes online, is given 200 regions to open and 200th region gets timed out of regions in transition
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1003699 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 23:02:18 +00:00
Ryan Rawson
e5c4776af9
HBASE-2825 Scans respect row locks
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1003698 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 22:46:15 +00:00
Michael Stack
7bb6f3839c
HBASE-3066 We don't put the port for hregionserver up into znode since new master
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1003644 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 20:44:36 +00:00
Michael Stack
94682d09d3
HBASE-3019 Make bulk assignment on cluster startup run faster
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1003330 13f79535-47bb-0310-9956-ffa450edef68
2010-09-30 23:12:56 +00:00
Jonathan Gray
69d1258e12
HBASE-3058 Fix REST tests on trunk
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1003256 13f79535-47bb-0310-9956-ffa450edef68
2010-09-30 20:58:07 +00:00
Jonathan Gray
8863ae5a0e
HBASE-3057 Race condition when closing regions that causes flakiness in TestRestartCluster
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1003204 13f79535-47bb-0310-9956-ffa450edef68
2010-09-30 18:53:20 +00:00
Jonathan Gray
d2ce2b36e0
HBASE-3056 Fix ordering in ZKWatcher constructor to prevent weird race condition
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1003196 13f79535-47bb-0310-9956-ffa450edef68
2010-09-30 18:22:28 +00:00
Michael Stack
7ca978123f
HBASE-3054 Remore TestEmptyMetaInfo; it doesn't make sense any more.
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1002941 13f79535-47bb-0310-9956-ffa450edef68
2010-09-30 03:42:58 +00:00
Michael Stack
58c4f2df98
HBASE-3047 If new master crashes, restart is messy
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1002880 13f79535-47bb-0310-9956-ffa450edef68
2010-09-29 22:37:50 +00:00
Michael Stack
d3a8c97ad8
HBASE-3038 WALReaderFSDataInputStream.getPos() fails if Filesize > MAX_INT
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1002027 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 05:55:51 +00:00
Michael Stack
f4ac670a42
HBASE-2646 Compaction requests should be prioritized to prevent blocking
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1002019 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 05:26:22 +00:00
Michael Stack
7faaf57d1b
HBASE-3030 The return code of many filesystem operations are not checked
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1001954 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 23:02:52 +00:00
Michael Stack
b11ac8d6f5
HBASE-3040 BlockIndex readIndex too slowly in heavy write scenario
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1001949 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 22:53:26 +00:00
Michael Stack
9069ed1ac6
HBASE-2995 Incorrect dependency on Log class from Jetty
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1001936 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 22:18:28 +00:00
Michael Stack
aff46efe9e
HBASE-3042 Use LO4J in SequenceFileLogReader
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1001928 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 22:09:51 +00:00
Michael Stack
823cfeac9c
HBASE-2641 Refactor HLog splitLog, hbase-2437 continued; break out split code as new classes
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1001924 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 22:02:23 +00:00
Michael Stack
10a84f3b88
HBASE-3039 Stuck in regionsInTransition because rebalance came in at same time as a split
...
M src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
Add region name to warning log message (w/o it message is no good).
M src/main/java/org/apache/hadoop/hbase/master/ServerManager.java
Add src of split message else need to deduce where it came from by looking
elsewhere.
M src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
Updated log messages to include region and where appropritate source
server name; debug hard w/o
Changed regionOnline and regionOffline to check for unexpected
states and log warnings rather than proceed regardless.
Added in fix for concurrent balance+split; split message now
updates regionsintransition where previous it did not.
Remove checkRegion method. Its a reimplementation of
what regionOnline and regionOffline do only less comprehensive
regards what gets updated (this.regions + this.servers rather
than this.regions, this.servers and regionsInTransition)
That they were less comprehensive is root of this bug.
M src/main/java/org/apache/hadoop/hbase/master/HMaster.java
Make the message about why we are not running balancer richer
(print out how many reigons in transition and more of the
regionsintrnasition list).
M src/main/java/org/apache/hadoop/hbase/executor/RegionTransitionData.java
Javadoc and minor formatting.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1001911 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 21:02:04 +00:00
Michael Stack
1339f395d6
HBASE-3037 When new master joins running cluster does "Received report from unknown server -- telling it to STOP_REGIONSERVER..."
...
M src/main/java/org/apache/hadoop/hbase/master/ServerManager.java
On regionServerReport, if we get a report from an 'unknown' regionserver,
we used to tell it stop itself. Now, if 'unknown' server AND
this master did not start the cluster, its joining the cluster, then
treat the report as a regionServerStart and register the incoming
server rather than tell it shutdown.
M src/main/java/org/apache/hadoop/hbase/master/HMaster.java
Pass the freshClusterStartup flag to ServerManager.
Add more executors for opening and closing. On cluster startup a
master shouldn't be bottleneck clearning the server opens.
Expose the run-balancer method so can make it available in
ServeAdmin.
M src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
Minor formatting and javadoc
M src/main/java/org/apache/hadoop/hbase/ipc/HBaseRPCProtocolVersion.java
Upped rpc version number because of new balancer addition (and because
we didn't do it when we put in new master).
M src/main/java/org/apache/hadoop/hbase/ipc/HMasterInterface.java
Added balance method.
M src/main/resources/hbase-default.xml
Change how ofter we check in from every 3 seconds to every 5 seconds.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1001140 13f79535-47bb-0310-9956-ffa450edef68
2010-09-25 06:24:42 +00:00