Commit Graph

2681 Commits

Author SHA1 Message Date
Jonathan Gray a574082d85 HBASE-3136 Stale reads from ZK can break the atomic CAS operations we have in ZKAssign
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1026909 13f79535-47bb-0310-9956-ffa450edef68
2010-10-24 22:31:46 +00:00
Michael Stack 1d6743ae7f HBASE-3139 Server shutdown processor stuck because meta not online
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1026567 13f79535-47bb-0310-9956-ffa450edef68
2010-10-23 06:32:02 +00:00
Ryan Rawson 5deb69715c HBASE-2514 RegionServer should refuse to be assigned a region that use LZO when LZO isn't available
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1026538 13f79535-47bb-0310-9956-ffa450edef68
2010-10-23 00:39:14 +00:00
Michael Stack 89a5eb519a HBASE-2998 rolling-restart.sh shouldn't rely on zoo.cfg; some improvements to the rr script -- reapply rolling-restart.bin improvments
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1026532 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 23:47:24 +00:00
Michael Stack bd29da76b8 HBASE-2998 rolling-restart.sh shouldn't rely on zoo.cfg; some improvements to the rr script -- reverse mistaken commit
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1026531 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 23:46:48 +00:00
Michael Stack 402b33140d HBASE-2998 rolling-restart.sh shouldn't rely on zoo.cfg; some improvements to the rr script
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1026530 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 23:45:42 +00:00
Jean-Daniel Cryans 01aa76e5b0 HBASE-2984 [shell] Altering a family shouldn't reset to default unchanged
attributes
HBASE-3143  Adding the tests' hbase-site.xml to the jar breaks some clients


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1026526 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 23:28:07 +00:00
Todd Lipcon a0d2e6dcb9 HBASE-3145. importtsv fails when the line contains no data (Kazuki Ohta via Todd Lipcon)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1026483 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 20:24:59 +00:00
Michael Stack f36d48b045 HBASE-2998 rolling-restart.sh shouldn't rely on zoo.cfg
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1026470 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 19:54:21 +00:00
Michael Stack 4b3fc6b14b HBASE-3140 Rest schema modification throw null pointer exception
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1026154 13f79535-47bb-0310-9956-ffa450edef68
2010-10-21 21:57:14 +00:00
Michael Stack 3a7d12ce2c HBASE-2658 REST (stargate) TableRegionModel Regions need to be updated to work w/ new region naming convention from HBASE-2531
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1026131 13f79535-47bb-0310-9956-ffa450edef68
2010-10-21 20:35:57 +00:00
Jonathan Gray 5200b27780 HBASE-3132 Print TimestampRange and BloomFilters in HFile pretty print
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1025798 13f79535-47bb-0310-9956-ffa450edef68
2010-10-21 00:28:22 +00:00
Michael Stack 43dd80f935 Enable execute bit on rolling-restart.sh
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1025766 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 21:26:24 +00:00
Jonathan Gray 90420894be HBASE-3133 Only log compaction requests when a request is actually added to the queue
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1025647 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 17:25:11 +00:00
Michael Stack 6d2aaf8833 HBASE-3128 On assign, if ConnectException, reassign another server
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1024524 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 05:12:19 +00:00
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