Commit Graph

2866 Commits

Author SHA1 Message Date
Jean-Daniel Cryans a7d61ec5b5 HBASE-2201 JRuby shell for replication
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1024470 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 00:21:08 +00:00
Jonathan Gray 368e9c4d19 Add log line to backup masters saying they are such (jgray)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1024451 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 22:52:00 +00:00
Jean-Daniel Cryans 315d5da29b HBASE-2156 finally fixing the test
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1024425 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 21:48:35 +00:00
Michael Stack 95c46c0e74 HBASE-3031 CopyTable MR job named 'Copy Table' in Driver
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1024333 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 17:36:54 +00:00
Michael Stack b825581bc4 HBASE-3076 Allow to disable automatic shipping of dependency jars for mapreduce jobs
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1024317 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 16:44:06 +00:00
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
Michael Stack 98dc0f7b8a Some doc on how splitting works from the doc attached to hbase-1744
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1024110 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 04:57:24 +00:00
Michael Stack 1b5666c84b HBASE-2669 (and hbase-3127) HCM.shutdownHook causes data loss with hbase.client.write.buffer != 0 -- fixed up TestHTablePool.. it was passing a Configuration of 'null'? for all tests
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1024104 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 04:05:23 +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 1850bf1cd2 HBASE-3097 Merge in hbase-1200 doc on bloomfilters into hbase book
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1023382 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 22:00:55 +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 f586cbeb57 HBASE-2968 No standard family filter provided
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1023192 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 05:53:32 +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 0f27ee880c HBASE-3114 Test up on hudson are leaking zookeeper ensemble
Trying this patch to see if it cures hudson of leakage

M src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
  Add a passedZkCluster flag.  If we didn't start the zk cluster,
  don't shut it down on way out.
M src/test/java/org/apache/hadoop/hbase/TestHBaseTestingUtility.java
  Add a test that starts up three clusters in a vm all sharing single
  zk, each to its own chroot location.  Add to tables in each and
  very the add by doing same as the old TestMultiClusters used)
M src/test/java/org/apache/hadoop/hbase/replication/TestReplication.java
  Reenable shutdown of started clusters.  Hopefully this clears
  the leaking of zk ensembles up on hudson.
M src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperWatcher.java
  Testing, it looks like legitimately the callback for session connected
  can be invoked before construction of zookeeperwatcher finishes.  In
  particular the zookeeper data member can be null.  Hang around for a
  second of so before throwing an exception (Make the exception
  indicate the particular zkw by adding to the error message stack
  trace made at zkw construction -- helps with debugging this stuff)



git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1023181 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 05:14:15 +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
Michael Stack 509beae1e2 HBASE-3113 Don't reassign regions if cluster is being shutdown; part 2 -- fix wrongly named exception and let out IOEs when opening regions on RS
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1023115 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 21:22:38 +00:00
Michael Stack 349b7a74c8 HBASE-3104 Disable TestMultiClusters; it doesn't really test anything and HBaseTestingUtility needs more work for this to pass anyways -- just remove this class altogether
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1023109 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 20:52:20 +00:00
Michael Stack e20615b917 HBASE-3113 Don't reassign regions if cluster is being shutdown; part 2
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1023107 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 20:46:13 +00:00
Michael Stack ef94177cd9 Remove debugging IOE throw
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1023102 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 20:36:23 +00:00
Michael Stack 954efa6e76 HBASE-3111 TestTableMapReduce broken up on hudson
M src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java
  Changed mentions of 'quorum' to 'ensemble'.
M src/main/java/org/apache/hadoop/hbase/mapreduce/IdentityTableReducer.java
M src/main/java/org/apache/hadoop/hbase/mapreduce/TableInputFormat.java
  Minor formatting.
M src/main/java/org/apache/hadoop/hbase/mapreduce/TableInputFormatBase.java
  Removed unused imports and minor formatting.
M src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java
  Documented what the quorumAddress parameter is for.
  Removed an unnecessary looking HBaseConfiguration.addHbaseResources(conf);
  (and adjusted documentation of job to say no hbase config set by the
  reduce setup method).
M src/main/java/org/apache/hadoop/hbase/mapreduce/TableOutputFormat.java
  Made this class implment Configurable.  Moved creation of table from
  RecordWrite constructor based off passed TaskAttemptContext instead
  into the new setConf method.  Added table and conf data members.


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1022825 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 05:33:11 +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
Michael Stack bcaa2dea49 HBASE-3113 Don't reassign regions if cluster is being shutdown
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1022760 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 23:10:09 +00:00
Michael Stack da3cc25adb Commenting out the disable/enable/disable swerve in this test for now until we address hbase-3112
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1022645 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 18:47:57 +00:00
Michael Stack cd2bfd5b6a HBASE-3111 TestTableMapReduce broken up on hudson; Attempted fix
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1022381 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 05:58:54 +00:00
Michael Stack 3d75d323e5 HBASE-3110 TestReplicationSink failing in TRUNK up on Hudson; trying to see if this fixes this test
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1022372 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 04:11:55 +00:00
Michael Stack b15d5425b9 Needed to change the zk port elsewhere too to make default 21818 rather than 21810; and still further places
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1022300 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 21:36:51 +00:00
Michael Stack 1973b02b94 Needed to change the zk port elsewhere too to make default 21818 rather than 21810
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1022276 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 20:06:29 +00:00
Michael Stack 7c8411d06a Upping pom memory and changing zk default port to help debug; on first, no harm in letting heap grow and on second, there seems to be errant zk cluster running on hudson ... trying to see if tests generate it when run clean
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1022263 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 19:45:43 +00:00
Michael Stack 0fcd520eb3 HBASE-3100 add timeout to TestMergeTable and try another config to prevent splits
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1022189 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 17:04:53 +00:00
Michael Stack 25ae7a7b20 HBASE-3100 stop splitting in TestMergeTable, and add debug
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1022003 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 05:39:11 +00:00
Michael Stack 8dc8fea2f3 HBASE-3105 Scan.toString fails to escape binary start/stop rows
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1021912 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 20:18:12 +00:00
Michael Stack c189e8e967 Get more detail on undeclared exception thrown...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1021911 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 20:15:50 +00:00
Michael Stack 9c67949638 HBASE-3104 Disable TestMultiClusters; it doesn't really test anything and HBaseTestingUtility needs more work for this to pass anyways
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1021860 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 17:55:11 +00:00
Michael Stack c32f663c07 Change test max run time from 3600 to 900 seconds, up memory for forked tests, also enable assertions
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1021796 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 15:18:16 +00:00
Michael Stack e695ef3cd0 More fixup for hbase merge tool -- test for master being offline
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1021791 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 15:06:15 +00:00
Michael Stack d405dbeca6 Add shutdown of clusters -- not shutting down was causing subsequent TestMergeTool to fail because there was running zk
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1021789 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 15:01:48 +00:00
Michael Stack fc32ccdb2b Better message on assertion failure (looking at logs, this test should have passed)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1021774 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 13:47:57 +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 999cb8af7c If waiting on a balance, after each unsuccessful attempt, call balancer in case it hasn't been run (Fail on hudson of build #1532 looks to be a postponed balance and then wait on a balance that would never come
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1021385 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 15:30:58 +00:00
Michael Stack 50430b219c Remove mistaken import
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1021307 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 11:18:46 +00:00
Michael Stack fb3e4766d2 Logging to see if can figure why the TestTableInputFormatScan failures up on hudson
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1021237 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 03:38:26 +00:00