Commit Graph

2546 Commits

Author SHA1 Message Date
Jonathan Gray 1351769c16 HBASE-3180: Review periodic master logging, especially ServerManager once a minute
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1029949 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 04:16:56 +00:00
Andrew Kyle Purtell b77e6f4319 HBASE-3120 [rest] Content transcoding; catch TNFE in scanTransformAttrs
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1029948 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 04:11:04 +00:00
Jonathan Gray b9e98b72a3 HBASE-3185 User-triggered compactions are triggering splits
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1029939 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 02:07:20 +00:00
Jonathan Gray 8387a5b18f HBASE-3181 Review, document, and fix up Regions-in-Transition timeout logic
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1029938 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 02:04:09 +00:00
Jean-Daniel Cryans 18a78fef4d HBASE-3179 Enable ReplicationLogsCleaner only if replication is,
and fix its test


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1029904 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 00:21:30 +00:00
Andrew Kyle Purtell a2de4f359a HBASE-3120 [rest] Content transcoding
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1029899 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 00:00:32 +00:00
Jonathan Gray a74fa20066 HBASE-3154 HBase RPC should support timeout (Hairong via jgray)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1029776 13f79535-47bb-0310-9956-ffa450edef68
2010-11-01 18:01:57 +00:00
Jonathan Gray 2fbceee800 HBASE-3183 fixup of TestHeapSize
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1029566 13f79535-47bb-0310-9956-ffa450edef68
2010-11-01 06:48:33 +00:00
Jonathan Gray ff7b723c57 HBASE-3176 Remove compile warnings in HRegionServer
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1029178 13f79535-47bb-0310-9956-ffa450edef68
2010-10-30 20:11:39 +00:00
Michael Stack 72fc484a8f HBASE-2006 Documentation of hbase-site.xml parameters
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1029175 13f79535-47bb-0310-9956-ffa450edef68
2010-10-30 19:59:41 +00:00
Jonathan Gray 590ada408a HBASE-2253 Show Block cache hit ratio for requests where cacheBlocks=true
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1029123 13f79535-47bb-0310-9956-ffa450edef68
2010-10-30 17:20:45 +00:00
Jonathan Gray b6604764b5 HBASE-3164 Handle case where we open META, ROOT has been closed but znode location not deleted yet, and try to update META location in ROOT
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1029120 13f79535-47bb-0310-9956-ffa450edef68
2010-10-30 17:04:06 +00:00
Jonathan Gray f14f3b216c HBASE-3163 If we timeout PENDING_CLOSE and send another closeRegion RPC, need to handle NSRE from RS (comes as a RemoteException)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1029119 13f79535-47bb-0310-9956-ffa450edef68
2010-10-30 17:02:18 +00:00
Jonathan Gray 5abb3867c0 HBASE-3162 Add TimeRange support into Increment to optimize for counters that are partitioned on time
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1029118 13f79535-47bb-0310-9956-ffa450edef68
2010-10-30 16:58:44 +00:00
Jonathan Gray 8f3c1a5bc4 HBSAE-3174 Add ability for Get operations to enable/disable use of block caching
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1029115 13f79535-47bb-0310-9956-ffa450edef68
2010-10-30 16:51:30 +00:00
Jonathan Gray 8379057874 HBASE-3172 Reverse order of AssignmentManager and MetaNodeTracker in ZooKeeperWatcher
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1028911 13f79535-47bb-0310-9956-ffa450edef68
2010-10-29 21:32:11 +00:00
Michael Stack 022f70b722 HBASE-3169 NPE when master joins running cluster if a RIT references a RS no longer present
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1028872 13f79535-47bb-0310-9956-ffa450edef68
2010-10-29 18:34:32 +00:00
Michael Stack 7b4eb5b505 HBASE-3160 Use more intelligent priorities for PriorityCompactionQueue
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1028622 13f79535-47bb-0310-9956-ffa450edef68
2010-10-29 06:08:44 +00:00
Michael Stack 0944bd9fb0 HBASE-3102 Enhance HBase rMetrics for Long-running Stats
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1028615 13f79535-47bb-0310-9956-ffa450edef68
2010-10-29 04:48:10 +00:00
Jean-Daniel Cryans d2cdee5141 HBASE-3013 Tool to verify data in two clusters
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1028558 13f79535-47bb-0310-9956-ffa450edef68
2010-10-29 00:09:56 +00:00
Michael Stack 6ed7225290 HBASE-3167 HBase Export: Add ability to export specific Column Family; Turn Block Cache off during export; improve usage doc
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1028546 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 23:40:47 +00:00
Michael Stack ddbc879f93 Added javadoc on how Scan caching value interacts with HTable setting
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1028527 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 22:52:44 +00:00
Jonathan Gray 3523b66eec HBASE-3159 Double play of OpenedRegionHandler for a single region and assorted fixes around this + TestRollingRestart added
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1028497 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 21:31:58 +00:00
Jean-Daniel Cryans 3c1c948f45 HBASE-3012 TOF doesn't take zk client port for remote clusters
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1028132 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 23:17:30 +00:00
Michael Stack d95e8f964d HBASE-3155 HFile.appendMetaBlock() uses wrong comparator
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1027959 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 13:44:30 +00:00
Michael Stack f9fda11ec0 HBASE-3158 Bloom File Writes Broken if keySize is large
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1027810 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 04:15:26 +00:00
Jonathan Gray 97f7976755 HBASE-2946 Increment multiple columns in a row at once
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1027681 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 18:50:13 +00:00
Michael Stack 3846a9c7e4 HBASE-3147 Regions stuck in transition after rolling restart, perpetual timeout handling but nothing happens
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1027661 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 17:27:55 +00:00
Michael Stack b22ba3afd3 HBASE-3147 Regions stuck in transition after rolling restart, perpetual timeout handling but nothing happens
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1027646 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 16:52:31 +00:00
Ryan Rawson a702d2253c HBASE-2753 Remove sorted() methods from Result now that Gets are Scans
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1027293 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 22:56:47 +00:00
Jonathan Gray d92252312c HBASE-3082 For ICV gets, first look in MemStore before reading StoreFiles (Prakash via jgray)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1026910 13f79535-47bb-0310-9956-ffa450edef68
2010-10-24 22:36:27 +00:00
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 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
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
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 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
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 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 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 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 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 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 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 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
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
Michael Stack c80154014b Temporarily changing rpc version back to 25... TestTableMapReduce is failing because client is 26 but master is version 25?
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1021236 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 03:37:35 +00:00
Michael Stack d3f3ccee7a Fix NPE in TestCatalogTracker up on hudson; removed toString on HConnection
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1006344 13f79535-47bb-0310-9956-ffa450edef68
2010-10-10 19:36:31 +00:00
Michael Stack 924f28e5c3 HBASE-3098 TestMetaReaderEditor is broken in TRUNK; hangs; part2 of the patch
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1006252 13f79535-47bb-0310-9956-ffa450edef68
2010-10-10 06:04:59 +00:00
Michael Stack 52bbd22187 HBASE-3100 TestMergeTable failing in TRUNK
M src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
  Some fixup to support stepped start up of mini cluster; allow
  starting dfs cluster, then later put an hbase mini cluster on top.
  (startMiniHBaseCluster, createRootDir): Added. 
D src/test/java/org/apache/hadoop/hbase/AbstractMergeTestBase.java
  Removed messy subclass of HBaseClusterTestCase used building
  up some specific loaded regions.  Replaced with utility added
  to HBaseTestingUtility and by methods added to specific test.
D src/test/java/org/apache/hadoop/hbase/util/TestMergeMeta.java
  Deleted test that did nothing -- test merging of .META. -- but
  the superclass was making user regions, not multiple instances
  of .META. -- which we don't support anyways currently.
M src/test/java/org/apache/hadoop/hbase/util/TestMergeTable.java
  Rewritten to use HBaseTestingUtility.  Also added assertions that
  it actually did successful merge (Were none previous).
M src/main/java/org/apache/hadoop/hbase/catalog/CatalogTracker.java
  Added a new constructor.  Are the others redundant given I just
  added implementation of Abortable to HConnection interface (the
  implmementation of HConnection used implement it -- I've just
  moved it up into the Interface itself).
M src/main/java/org/apache/hadoop/hbase/util/HMerge.java
  Bit of minor cleanup refactoring.
M src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java
  The HConnection Interface now implements Abortable.
M src/main/java/org/apache/hadoop/hbase/client/HConnection.java
  Extend Abortable (The implementation was implementing Abortable
  anyways).


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1006219 13f79535-47bb-0310-9956-ffa450edef68
2010-10-09 19:23:36 +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 b7f3cfbf05 HBASE-3098 TestMetaReaderEditor is broken in TRUNK; hangs
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1006107 13f79535-47bb-0310-9956-ffa450edef68
2010-10-09 03:46:52 +00:00
Michael Stack 9b166c9e33 HBASE-3089 REST tests are broken locally and up in hudson; some minor changes that should have been included on last commit
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1006065 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 22:50:40 +00:00
Michael Stack d46e5634a3 HBASE-3094 Fixes for miscellaneous broken tests
M src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
  Added passing a Configuration to createTable.
M src/test/java/org/apache/hadoop/hbase/HBaseClusterTestCase.java
  Make a new configuration each time we create a cluster else this
  old testing utility fails when we do restart in middle of a test
  suite using this old stuff.
M src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegion.java
  Fixed imports.
M src/test/java/org/apache/hadoop/hbase/MiniHBaseCluster.java
  Added catch for other than IOE... shutdown if anything thrown.
M src/test/java/org/apache/hadoop/hbase/master/TestCatalogJanitor.java
  This test was for sure horked.  Fixed it so we were testing
  the javadoc description of how its supposed to work.
M src/test/java/org/apache/hadoop/hbase/master/TestDeadServer.java
  Another test that just wasn't working -- couldn't have worked on
  commit.
M src/test/java/org/apache/hadoop/hbase/master/TestLoadBalancer.java
  Must have resolvable host (How did this test ever work)?
M src/test/java/org/apache/hadoop/hbase/client/TestGetRowVersions.java
   Fixup to make this test pass.  New Configuration after cluster restart.
M src/test/java/org/apache/hadoop/hbase/client/TestScannerTimeout.java
  Fixup to make this test pass.  The low scanner timeout was stopping
  this test from even starting up.
M src/test/java/org/apache/hadoop/hbase/client/TestFromClientSide.java
  Use new method from HTU.
M src/main/java/org/apache/hadoop/hbase/regionserver/SplitTransaction.java
  If passed server is null, we are in test mode.
M src/main/java/org/apache/hadoop/hbase/catalog/CatalogTracker.java
  Catch other dropped connection exception types when trying to prove
  we have a good root/meta address.


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1005990 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 19:45:11 +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 ff2d19229f HBASE-3074 Zookeeper test failing on hudson
HConnections go stale if miniCluster is shutdown on them.  Make it
so we make new HConnections on other side of a new cluster spin up.
Was cause for failing of last few tests.

M src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
  So if you shutdown a cluster and you have HConnections that were
  made using the HTUs Configuration, they'll all be stale --
  session expired -- and won't be of any use connecting to new cluster
  that comes up... now that HConnection is first class dependent on
  its own ZooKeeperWatcher instance.
  So, I went through this class and fixed it up so we use new
  Configurations when could be called either side of a mini cluster
  restart.  Added note to getConfiguration to be careful what you
  do with it because Configuration makes for an HConnection.
M src/test/java/org/apache/hadoop/hbase/TestZooKeeper.java
  Don't use same Configuration everywhere.
M src/test/java/org/apache/hadoop/hbase/master/TestRestartCluster.java
  Make new Configuration when we make new Cluster so we get fresh
  HConnection -- not one w/ stale data, disconnected.
M src/main/java/org/apache/hadoop/hbase/master/ServerManager.java
  Check that new server that comes in on a regionServerReport
  doesn't have same port and host as one we have already registered
  as we do in reportForDuty call (This is preemtive bug fix).
M src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java
  Save of an identifier for HCM and use it in log messages, particularly
  when we close -- helps debugging.
M src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
  getConfiguration added.


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1005714 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 06:04:35 +00:00
Michael Stack c4d59d99dd HBASE-3074 Zookeeper test failing on hudson
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1005691 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 01:13:55 +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
Michael Stack 58423039df HBASE-3088 TestAvroServer and TestThriftServer broken because use same table in all tests and tests enable/disable/delete
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1005552 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 18:13:04 +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
Michael Stack 3745672d94 Yet more debug for baffling zk test failure up on hudson
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1005238 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 20:32:30 +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 de39f4328d HBASE-3073 Build fix
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1004890 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 04:00:33 +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 66a4faa7b0 HBASE-3085 TestSchemaResource broken on TRUNK up on HUDSON
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1004860 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 00:02:22 +00:00
Michael Stack 83470f981a HBASE-3080 TestAdmin hanging on hudson
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1004525 13f79535-47bb-0310-9956-ffa450edef68
2010-10-05 05:03:22 +00:00
Michael Stack a246cbbd6c Adding even more logging to figure why we're reading old root region location though its been updated in zk -- for failing TestZooKeeper
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1004479 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 23:03:21 +00:00
Michael Stack 77dc443fc1 Adding even more logging to figure why we're reading old root region location though its been updated in zk -- for failing TestZooKeeper
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1004464 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 22:39:33 +00:00
Michael Stack 83802d7f17 Adding even more logging to figure why we're reading old root region location though its been updated in zk -- for failing TestZooKeeper
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1004462 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 22:27:40 +00:00
Michael Stack ea1268b468 HBASE-2646 Compaction requests should be prioritized to prevent blocking; applied addendum 2464-fix-race-condition-r1004349.txt
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1004371 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 19:25:42 +00:00
Michael Stack 18d7fff188 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@1004340 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 17:59:38 +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
Michael Stack fdecc9dd9b Commit extra logging to help diagnoze zk test failure on hudson
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1004019 13f79535-47bb-0310-9956-ffa450edef68
2010-10-03 18:13:53 +00:00
Michael Stack b70e4b83c1 HBASE-3063 TestThriftServer failing in TRUNK; trying this patch to see if it helps
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1003921 13f79535-47bb-0310-9956-ffa450edef68
2010-10-03 05:06:06 +00:00
Michael Stack 8ff999cf9a HBASE-3074 Zookeeper test failing on hudson; xtra debugging to help figure whats happening up on hudson
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1003919 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 23:48:00 +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 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 4d25275040 HBASE-3038 WALReaderFSDataInputStream.getPos() fails if Filesize > MAX_INT; addendum
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1002348 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 20:38:12 +00:00
Michael Stack 1334d5187b HBASE-3040 BlockIndex readIndex too slowly in heavy write scenario; add in fix to address kannan review
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1002310 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 18:29:53 +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 8032206236 HBASE-2646 Compaction requests should be prioritized to prevent blocking; remove of hbase-3038 added by mistake
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1002020 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 05:29:29 +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 5affba7171 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@1001969 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 23:52:46 +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
Jonathan Gray 4f545ea09c Attempting to fix TestHeapSize on Hudson (align array heapsize)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1001944 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 22:43:59 +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
Michael Stack e58ebc4830 HBASE-3036 avro tests failing up on hudson (pass locally) -- trying something, passing Configuration to HBaseImpl
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1001062 13f79535-47bb-0310-9956-ffa450edef68
2010-09-24 20:40:41 +00:00
Jean-Daniel Cryans d4e9b8f4d9 HBASE-3033 [replication] ReplicationSink.replicateEntries improvements
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1001061 13f79535-47bb-0310-9956-ffa450edef68
2010-09-24 20:37:44 +00:00
Jean-Daniel Cryans b05d9ac937 HBASE-2992 [replication] MalformedObjectNameException in ReplicationMetrics
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1001016 13f79535-47bb-0310-9956-ffa450edef68
2010-09-24 18:34:42 +00:00
Jean-Daniel Cryans da611388b4 HBASE-2989 [replication] RSM won't cleanup after locking if 0 peers
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1001014 13f79535-47bb-0310-9956-ffa450edef68
2010-09-24 18:32:26 +00:00
Michael Stack d988546130 Fix broke TestHLogSplit test
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1000965 13f79535-47bb-0310-9956-ffa450edef68
2010-09-24 16:59:17 +00:00
Michael Stack 9ea9cba5b2 HBASE-3028 No basescanner means no GC'ing of split, offlined parent regions
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1000715 13f79535-47bb-0310-9956-ffa450edef68
2010-09-24 05:46:41 +00:00
Todd Lipcon 2ecdd83e0d HBASE-3002. Fix zookeepers.sh to work properly with strange JVM options
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1000698 13f79535-47bb-0310-9956-ffa450edef68
2010-09-24 04:10:55 +00:00
Michael Stack a85ee11f3b HBASE-2889 Tool to look at HLogs -- parse and tail -f; fix for suppression of EOFEs by Nicolas
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1000697 13f79535-47bb-0310-9956-ffa450edef68
2010-09-24 04:00:48 +00:00
Ryan Rawson 0f3c62e19b HBASE-2450 For single row reads of specific columns, seek to the first column in HFiles rather than start of (Pranav via Ryan, some Ryan)
HBASE-2916  Reseek directly to next column
HBASE-2959  Scanning always starts at the beginning of a row



git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1000276 13f79535-47bb-0310-9956-ffa450edef68
2010-09-22 23:51:55 +00:00
Ryan Rawson 2806d60cab HBASE-3003 ClassSize constants dont use 'final'
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1000275 13f79535-47bb-0310-9956-ffa450edef68
2010-09-22 23:49:49 +00:00
Michael Stack 17da1d0369 HBASE-3001 Ship dependency jars to the cluster for all jobs
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1000261 13f79535-47bb-0310-9956-ffa450edef68
2010-09-22 22:16:23 +00:00
Michael Stack a46c74894f HBASE-3026 Fixup of missing daughters on split is too aggressive
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1000133 13f79535-47bb-0310-9956-ffa450edef68
2010-09-22 18:42:41 +00:00
Michael Stack af3bf8cad0 HBASE-3024 NPE processing server crash in MetaEditor.addDaughter
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@999672 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 22:24:05 +00:00
Michael Stack 5fa3d69f66 HBASE-3023 NPE processing server crash in MetaReader. getServerUserRegions
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@999664 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 22:00:12 +00:00
Michael Stack ffedf2c58e HBASE-3022 Change format of enum messages in o.a.h.h.executor package
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@999660 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 21:44:21 +00:00
Michael Stack 14d8fb2ab7 HBASE-3018 Bulk assignment on startup runs serially through the cluster servers assigning in bulk to one at a time
M src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
  Removed reentrant lock that spanned moving region into
  regionsintransition and the getting of lock on state object.  It
  was a bad idea.  I found it actually deadlocked.  It shouldn't be needed.
  The call to assign will fail if the state instance is not of the right
  'state' type.
  Run a thread per server parcelling out region assignments so we assign
  across the cluster concurrently rather than in series as we were doing.


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@999237 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 06:36:22 +00:00
Michael Stack 34f17faa5d HBASE-3017 More log pruning
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@999154 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 22:43:25 +00:00
Michael Stack 4f0d6bc6be HBASE-3017 More log pruning
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@999150 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 22:31:19 +00:00
Michael Stack 0cdd2c5eb7 HBASE-3017 More log pruning
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@999143 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 22:25:54 +00:00
Michael Stack a3856ca945 HBASE-3017 More log pruning
M conf/log4j.properties
  Make ZKW log at INFO-level
M src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
  Log message cleanup.
M src/main/java/org/apache/hadoop/hbase/master/HMaster.java
  Remove excessive hostname+port qualifier on master for zk messages
M src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java
  Log message cleanup
M src/main/java/org/apache/hadoop/hbase/master/ServerManager.java
  Format the ServerMonitor message.
M src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
  Remove excessive hostname on zk message id; just add port
M src/main/java/org/apache/hadoop/hbase/zookeeper/ZKAssign.java
  Cleanup of messages.


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@999057 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 19:04:41 +00:00
Michael Stack 7daffb3a42 HBASE-3015 recovered.edits files not deleted if it only contain edits that have already been flushed; hurts perf for all future opens of the region
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@999046 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 18:43:13 +00:00
Michael Stack 467a0e726d HBASE-3016 Refactor zk logging in trunk; do less and and identifier to log messages to help debugging
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@998555 13f79535-47bb-0310-9956-ffa450edef68
2010-09-18 21:56:37 +00:00
Michael Stack 46c53f1460 Fix failing avro test
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@998504 13f79535-47bb-0310-9956-ffa450edef68
2010-09-18 18:06:22 +00:00
Michael Stack d153ec95da HBASE-3010 Can't start/stop/start... cluster using new master
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@998380 13f79535-47bb-0310-9956-ffa450edef68
2010-09-18 00:51:05 +00:00
Michael Stack e532293310 HBASE-3006 Reading compressed HFile blocks causes way too many DFS RPC calls severly impacting performance--Now add fix I intended, a spelling mistake in HFile
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@997975 13f79535-47bb-0310-9956-ffa450edef68
2010-09-17 04:21:28 +00:00
Michael Stack 96f8cbe9e2 HBASE-3006 Reading compressed HFile blocks causes way too many DFS RPC calls severly impacting performance--Revert mistaken over commit
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@997974 13f79535-47bb-0310-9956-ffa450edef68
2010-09-17 04:20:55 +00:00
Michael Stack cac06d4573 HBASE-3006 Reading compressed HFile blocks causes way too many DFS RPC calls severly impacting performance
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@997973 13f79535-47bb-0310-9956-ffa450edef68
2010-09-17 04:18:33 +00:00
Michael Stack 763865630c HBASE-3006 Reading compressed HFile blocks causes way too many DFS RPC calls severly impacting performance
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@997968 13f79535-47bb-0310-9956-ffa450edef68
2010-09-17 03:56:16 +00:00
Michael Stack 5145547154 HBASE-2899 hfile.min.blocksize.size ignored/documentation wrong
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@997544 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 23:57:15 +00:00
Ryan Rawson 5b600805b5 HBASE-2782 QOS for META table access
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@997541 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 23:44:08 +00:00
Ryan Rawson 55633e79f1 HBASE-2997 Performance fixes - profiler driven (build/test fix)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@997533 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 22:50:49 +00:00
Ryan Rawson 009f461738 HBASE-2997 Performance fixes - profiler driven
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@997519 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 21:48:04 +00:00
Ryan Rawson 5581a249e8 HBASE-2941 port HADOOP-6713 - threading scalability for RPC reads - to HBase
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@997512 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 21:26:40 +00:00
Michael Stack eecc426f78 Fix NPE in LoadBalancer that I added with my commit of HBASE-2979
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@997510 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 21:24:47 +00:00
Michael Stack fb42084ba9 Fix TestHeapSize broke by HBASE-2988
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@997483 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 20:23:31 +00:00
Michael Stack 5d8b73585f HBASE-2979 Fix failing TestMultParrallel in hudson build
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@997437 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 18:10:43 +00:00
Michael Stack 787d807b37 HBASE-2986 multi writable can npe causing client hang
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@997353 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 14:40:00 +00:00
Andrew Kyle Purtell 762e374861 HBASE-2988 Support alternate compression for major compactions
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@997168 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 02:01:56 +00:00
Todd Lipcon 02cd4a9b01 HBASE-2980. Refactor region server command line to a new class
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@996633 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 18:37:11 +00:00
Michael Stack 1d58b8a3bf HBASE-2870 Add Backup CLI Option to HMaster; repair of damage done to this patch by 2692 master rewrite
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@996204 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 19:48:02 +00:00
Michael Stack 32800d3be6 HBASE-2978 LoadBalancer IndexOutOfBoundsException
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@995679 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 06:01:30 +00:00
Todd Lipcon 94b78b4997 HBASE-2977. Refactor master command line to a new class
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@995674 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 05:48:39 +00:00
Michael Stack 9453a813d0 HBASE-2961 Close zookeeper when done with it (HCM, Master, and RS)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@995612 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 00:03:57 +00:00
Todd Lipcon 72f2c22bfc HBASE-2975. DFSClient names in master and RS should be unique
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@995495 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 17:05:36 +00:00
Michael Stack bae69e07c4 Running HFile tool passing fully-qualified filename I get 'IllegalArgumentException: Wrong FS'
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@995486 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 16:41:02 +00:00
Michael Stack 84763cdd0a HBASE-2974 LoadBalancer ArithmeticException: / by zero
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@995318 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 05:43:13 +00:00
Michael Stack 2210cf908b HBASE-2973 NPE in LogCleaner
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@995281 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 23:34:10 +00:00
Michael Stack e144e8f32d HBASE-2969 missing sync in HTablePool.getTable()
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@995273 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 22:41:27 +00:00
Michael Stack cf43037b3b HBASE-2967 Failed split: IOE 'File is Corrupt' -- sync length not being written out to SequenceFile
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@995256 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 21:15:22 +00:00
Michael Stack 74066765bb HBASE-2889 Tool to look at HLogs -- parse and tail -f; added part 1, some fixup of hlog main
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@995222 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 19:43:27 +00:00
Andrew Kyle Purtell 6e2d002734 HBASE-2942 Custom filters should not require registration in HBaseObjectWritable
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@995220 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 19:42:32 +00:00
Michael Stack 3b16358da3 HBASE-2889 Tool to look at HLogs -- parse and tail -f; added part 1, some fixup of hlog main
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@995182 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 18:33:51 +00:00
Jonathan Gray 4481fafee4 HBASE-1485 Wrong or indeterminate behavior when there are duplicate versions of a column (pranav via jgray)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@995163 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 17:22:31 +00:00
Michael Stack b89eb144d1 HBASE-2964 Deadlock when RS tries to RPC to itself inside SplitTransaction
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@995151 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 16:57:52 +00:00
Michael Stack d98956f9cd HBASE-2962 Add missing methods to HTableInterface (and HTable)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@993548 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 22:20:40 +00:00
Michael Stack f0f9240de4 HBASE-2925 LRU of HConnectionManager.HBASE_INSTANCES breaks if HBaseConfiguration is changed
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@993078 13f79535-47bb-0310-9956-ffa450edef68
2010-09-06 15:50:46 +00:00
Michael Stack 9f12e0d060 HBASE-1845 MultiGet, MultiDelete, and MultiPut - batched to the appropriate region servers; commit again -- was removed by hbase-2692 commit
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@992530 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 03:57:21 +00:00
Michael Stack 61f9214268 HBASE-2955 hbase-2692 broke replication -- committed HCM change by mistake
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@992426 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 19:20:09 +00:00
Michael Stack 6f4e9c7117 HBASE-2955 hbase-2692 broke replication -- disabling replication tests till this issue is addressed
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@992425 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 19:18:39 +00:00
Michael Stack 39e213e62d HBASE-2643 Figure how to deal with eof splitting logs
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@992215 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 05:57:02 +00:00
Michael Stack 95a9c26c77 HBASE-2943 major_compact (and other admin commands) broken for .META. -- Bug spotted by jgray after commit
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@992131 13f79535-47bb-0310-9956-ffa450edef68
2010-09-02 22:18:54 +00:00
Michael Stack e3d0498438 HBASE-2943 major_compact (and other admin commands) broken for .META.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@992110 13f79535-47bb-0310-9956-ffa450edef68
2010-09-02 20:39:41 +00:00
Michael Stack 1574bac2f1 HBASE-2799 'Append not enabled' warning should not show if hbase root dir isn't on DFS
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@992027 13f79535-47bb-0310-9956-ffa450edef68
2010-09-02 17:31:48 +00:00
Michael Stack 081f97077b HBASE-2918 SequenceFileLogWriter doesnt make it clear if there is no append by config or by missing lib/feature
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@991741 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 22:34:12 +00:00
Michael Stack 1e70bfbb00 HBASE-2857 HBaseAdmin.tableExists() should not require a full meta scan
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@991734 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 22:14:40 +00:00
Michael Stack 6d747b7f38 HBASE-2953 Edit of hbase-default.xml removing stale configs.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@991700 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 20:51:50 +00:00
Michael Stack 177abe115f HBASE-2948 bin/hbase shell broken
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@991584 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 16:10:14 +00:00
Jonathan Gray 04afcd034c HBASE-2944 cannot alter bloomfilter setting for a column family from hbase shell (kannan via jgray)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@991408 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 00:31:37 +00:00
Michael Stack f521309532 HBASE-2692 Master rewrite and cleanup for 0.90
Patch brought over from 0.90_master_rewrite branch.

Replication test is broke as are some of the rest tests.
Others should be passing.

Some of the changes made in this fat patch:

+ In HLogKey, we now use encoded region name instead of full region name.
+ On split, daughters are opened on the parent's regionserver; let the new balancer
sort them out later when it cuts in.
+ Added move region from one server to another as well as enable/disable balancer.
+ All .META. and -ROOT- edits go via new *Editor and *Reader classes -- no more
do we have 5 different ways of reading and editing .META.
+ Rather than 3 different listeners to hlog each w/ own way of listening, instead
we only have WALObserver now.
+ New Server Interface that has whats common to HMaster and RegionServer. Also
new Services Interface.  This should make test writing cleaner making it so
less need of full cluster context testing anything -- e.g. the new
Interfaces are good w/ Mockito.
+ New balacner that runs on a period and takes into consideration all load
across cluster.
+ Table online/offline is now a flag in ZK; the offline flag on a region is
just used splitting from here on out.
+ Moved fixup of failed add of daughter edits to .META. into shutdown server
recover code (It used to be in basescanner).
+ The heartbeat now sends master the regionserver load and is used sending
shutdown message from master to regionserver ONLY; all other messages are
via zk (HMsg is pretty bare now).
+ No more Worker in RS and ToDoQueue in master.  Both in master and regionserver
we use handlers instead run out of Executors.
+ Client can not send split, flush, compact direct to RS; no longer does
it go via master.
+ Server shutdown runs differently now. All are watching a flag in zk.
When RS notices its gone, it closes all user-space regions. If thats all
it was carrying, then it goes down.  Otherwise, waits on master to send
the shutdown msg via heartbeat.



git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@991397 13f79535-47bb-0310-9956-ffa450edef68
2010-08-31 23:51:44 +00:00
Ryan Rawson 8586a6238a HBASE-1845 MultiGet, MultiDelete, and MultiPut - batched to the
appropriate region servers (Marc Limotte via Ryan)


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@991289 13f79535-47bb-0310-9956-ffa450edef68
2010-08-31 18:53:32 +00:00
Jean-Daniel Cryans 7abfcbc22c HBASE-2920 HTable.checkAndPut/Delete doesn't handle null values
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@989296 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 18:58:43 +00:00
Jean-Daniel Cryans bdc56078d4 HBASE-2915 Deadlock between HRegion.ICV and HRegion.close
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@988343 13f79535-47bb-0310-9956-ffa450edef68
2010-08-23 22:47:36 +00:00
Michael Stack 88eb9c5281 HBASE-2931 Do not throw RuntimeExceptions in RPC/HbaseObjectWritable code, ensure we log and rethrow as IOE
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@987952 13f79535-47bb-0310-9956-ffa450edef68
2010-08-22 22:20:16 +00:00
Jean-Daniel Cryans 461c835fc9 HBASE-2922 HLog preparation and cleanup are done under the updateLock,
major slowdown


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@987675 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 23:44:23 +00:00
Jonathan Gray 5e9f6d1528 HBASE-2928 Fault in logic in BinaryPrefixComparator leads to ArrayIndexOutOfBoundsException (pranav via jgray)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@986969 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 22:27:58 +00:00
Jean-Daniel Cryans 0e481c64e8 HBASE-2927 BaseScanner gets stale HRegionInfo in some race cases
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@986887 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 19:40:49 +00:00
Jean-Daniel Cryans 625a079b73 HBASE-2923 Deadlock between HRegion.internalFlushCache and close
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@986448 13f79535-47bb-0310-9956-ffa450edef68
2010-08-17 18:44:35 +00:00
Michael Stack 4dbf0c9b69 HBASE-2919 initTableReducerJob: Unused method parameter.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@986058 13f79535-47bb-0310-9956-ffa450edef68
2010-08-16 17:21:17 +00:00
Ryan Rawson 4784ec1b57 HBASE-1517 Implement inexpensive seek operations in HFile (Pranav via Ryan)
HBASE-2903  ColumnPrefix filtering (Pranav via Ryan)
HBASE-2904  Smart seeking using filters (Pranav via Ryan)



git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@985412 13f79535-47bb-0310-9956-ffa450edef68
2010-08-14 00:30:20 +00:00
Jean-Daniel Cryans d80de85a69 HBASE-2909 SoftValueSortedMap is broken, can generate NPEs
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@985383 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 22:09:42 +00:00
Michael Stack 92ffa8580c HBASE-2868 Do some small cleanups in org.apache.hadoop.hbase.regionserver.wal
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@984433 13f79535-47bb-0310-9956-ffa450edef68
2010-08-11 15:03:21 +00:00
Michael Stack 8b5d7dbb1c HBASE-2908 Wrong order of null-check [in TIF]
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@984423 13f79535-47bb-0310-9956-ffa450edef68
2010-08-11 14:43:15 +00:00
Michael Stack e30ddb01aa HBASE-2870: Add Backup CLI Option to HMaster
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@984116 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 16:54:40 +00:00
Andrew Kyle Purtell a95f1ed4f6 HBASE-2905 NPE when inserting mass data via REST interface
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@983699 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 15:55:19 +00:00
Andrew Kyle Purtell af09891840 HBASE-2897 RowResultGenerator should handle NoSuchColumnFamilyException; add hunk missed from last commit
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@983667 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 14:56:38 +00:00
Andrew Kyle Purtell 0530905854 HBASE-2897 RowResultGenerator should handle NoSuchColumnFamilyException
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@983493 13f79535-47bb-0310-9956-ffa450edef68
2010-08-08 23:29:53 +00:00
Michael Stack f4ed3cd699 HBASE-2844 Capping the number of regions
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@983442 13f79535-47bb-0310-9956-ffa450edef68
2010-08-08 15:59:46 +00:00
Michael Stack 25ffbc5f11 HBASE-2823 Entire Row Deletes not stored in Row+Col Bloom
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@982472 13f79535-47bb-0310-9956-ffa450edef68
2010-08-05 05:16:10 +00:00
Michael Stack 37af9aab2e HBASE-2901 HBASE-2461 broke build
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@982461 13f79535-47bb-0310-9956-ffa450edef68
2010-08-05 03:58:32 +00:00
Michael Stack 094197a180 HBASE-2461 Split doesn't handle IOExceptions when creating new region reference files; forgot to svn add new files
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@982122 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 05:08:38 +00:00
Michael Stack f7b8d9cf7a HBASE-2461 Split doesn't handle IOExceptions when creating new region reference files
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@982089 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 00:00:51 +00:00
Jean-Daniel Cryans 77aef8f799 HBASE-2892 Replication metrics aren't updated
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@980993 13f79535-47bb-0310-9956-ffa450edef68
2010-07-30 23:37:19 +00:00
Michael Stack b3db1e976e HBASE-2792 Create a better way to chain log cleaners
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@980901 13f79535-47bb-0310-9956-ffa450edef68
2010-07-30 18:10:04 +00:00
Michael Stack 2d214ccc52 HBASE-2755 Duplicate assignment of a region after region server recovery
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@980649 13f79535-47bb-0310-9956-ffa450edef68
2010-07-30 04:57:44 +00:00
Michael Stack 26ebe0c583 HBASE-2890 init per-method RPC metrics on startup
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@980638 13f79535-47bb-0310-9956-ffa450edef68
2010-07-30 03:22:08 +00:00
Todd Lipcon 852f3cf9a0 HBASE-2820 hbck throws an error if HBase root dir isn't on the default FS
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@980264 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 23:14:12 +00:00
Michael Stack 8f5e996795 HBASE-2886 Add search box to site
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@980135 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 17:33:53 +00:00
Michael Stack 5215e49df0 HBASE-1729 Move cache stats out of RS log and into metrics
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@979834 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 19:59:01 +00:00
Jean-Daniel Cryans ea63f24c5d HBASE-2838 Replication metrics
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@979532 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 04:58:31 +00:00
Jonathan Gray 90908553e9 HBASE-2852 Bloom filter NPE (pranav via jgray)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@979491 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 01:31:04 +00:00
Andrew Kyle Purtell 95612cd281 HBASE-1537 Intra-row scanning; Query matcher will be confused if intra-row scanning
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@978980 13f79535-47bb-0310-9956-ffa450edef68
2010-07-25 04:32:45 +00:00
Michael Stack e60312c1bd HBASE-2815 not able to run the test suite in background because TestShell gets suspended on tty output
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@978973 13f79535-47bb-0310-9956-ffa450edef68
2010-07-25 03:48:58 +00:00
Michael Stack 04bf6f48e4 HBASE-2876 HBase hbck: false positive error reported for parent regions that are in offline state in meta after a split
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@978971 13f79535-47bb-0310-9956-ffa450edef68
2010-07-25 03:45:26 +00:00
Michael Stack e258c33f78 HBASE-2849 HBase clients cannot recover when their ZooKeeper session becomes invalid
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@978802 13f79535-47bb-0310-9956-ffa450edef68
2010-07-24 05:18:38 +00:00
Michael Stack 01a251b50a HBASE-2874 Unnecessary double-synchronization in ZooKeeperWrapper
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@978801 13f79535-47bb-0310-9956-ffa450edef68
2010-07-24 05:08:21 +00:00
Michael Stack b64c40daff HBASE-2869 Regularize how we log sequenceids -- sometimes its myseqid, other times its sequence id, etc. -- Found another case where we had seqid instead of sequenceid
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@978799 13f79535-47bb-0310-9956-ffa450edef68
2010-07-24 05:01:34 +00:00
Michael Stack 8400698734 HBASE-2873 Minor clean up in basescanner; fix a log and make deletes of region processing run in order -- continued... removing redundancy in logs -- no need to log encoded name anymore .. its part of region name
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@978798 13f79535-47bb-0310-9956-ffa450edef68
2010-07-24 04:56:58 +00:00
Michael Stack 234c458727 HBASE-2873 Minor clean up in basescanner; fix a log and make deletes of region processing run in order
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@978797 13f79535-47bb-0310-9956-ffa450edef68
2010-07-24 04:50:34 +00:00
Michael Stack 237fbbc817 HBASE-2830 NotServingRegionException shouldn't log a stack trace
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@978796 13f79535-47bb-0310-9956-ffa450edef68
2010-07-24 04:43:03 +00:00
Michael Stack 13cd010140 HBASE-2873 Minor clean up in basescanner; fix a log and make deletes of region processing run in order
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@967301 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 23:12:53 +00:00
Jean-Daniel Cryans 1415130b41 HBASE-2866 Region permanently offlined
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@967290 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 22:44:21 +00:00
Michael Stack 6dddd674cf HBASE-2869 Regularize how we log sequenceids -- sometimes its myseqid, other times its sequence id, etc.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@966907 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 23:51:27 +00:00
Ryan Rawson 65b09b7cd5 HBASE-2863 HBASE-2553 removed an important edge case
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@966906 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 23:49:28 +00:00
Michael Stack 07d085c2e5 HBASE-2865 Cleanup of LRU logging; its hard to read, uses custom MB'maker, repeats info, too many numbers after the point, etc.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@966877 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 22:15:07 +00:00
Michael Stack 4321ef5546 HBASE-2862 Name DFSClient for Improved Debugging
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@966874 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 21:58:44 +00:00
Michael Stack 9bb7a8ae65 HBASE-2865 Cleanup of LRU logging; its hard to read, uses custom MB'maker, repeats info, too many numbers after the point, etc.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@966840 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 20:17:24 +00:00
Jean-Daniel Cryans baf6eb43ff HBASE-2858 TestReplication.queueFailover fails half the time
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@966468 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 00:16:16 +00:00
Michael Stack b6282f5508 HBASE-1511 Pseudo distributed mode in LocalHBaseCluster
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@965672 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 22:59:51 +00:00
Michael Stack 3ada3242b4 HBASE-2846 Make rest server be same as thrift and avro servers
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@965160 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 05:24:17 +00:00
Michael Stack 4c16c452e6 HBASE-2845 Small edit of shell main help page cutting down some on white space and text
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@965158 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 05:15:43 +00:00
Ryan Rawson 7557b73e90 HBASE-2840 Remove the final remnants of the old Get code - the query matchers and other helper classes
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@964981 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 23:29:19 +00:00
Michael Stack 8164552e35 Fixup of 'Getting Started' to point at CHANGES.txt of 0.20-append to get list of patches
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@964978 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 23:22:04 +00:00
Ryan Rawson 2fd862b403 HBASE-2553 Revisit IncrementColumnValue implementation in 0.22
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@964973 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 23:08:57 +00:00
Michael Stack 4158a4e4a3 HBASE-2727 Splits writing one file only is untenable; need dir of recovered edits ordered by sequenceid
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@964965 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 22:28:21 +00:00
Ryan Rawson e4ee10d24f HBASE-2803 Remove remaining Get code from Store.java,etc
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@964645 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 23:49:59 +00:00
Ryan Rawson dac26ea612 HBASE-2517 Didn't adjust heapSize() in memstore with addition of 2 new references
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@964627 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 22:15:46 +00:00
Jonathan Gray 9a4a3f512c HBASE-2517 During reads when passed the specified time range, seek to next column (Pranav via jgray)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@964496 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 17:15:14 +00:00
Jean-Daniel Cryans e58e1f82fb HBASE-2808 Document the implementation of replication
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@964220 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14 22:11:47 +00:00
Jean-Daniel Cryans e9eebe3a1f HBASE-2781 fixup
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@963951 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14 05:29:32 +00:00
Jean-Daniel Cryans 643ae0c985 HBASE-2781 ZKW.createUnassignedRegion doesn't make sure existing znode is
in the right state (Karthik Ranganathan via JD)


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@963910 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14 00:07:03 +00:00
Ryan Rawson d89cb8d0c5 HBASE-2265 HFile and Memstore should maintain minimum and maximum timestamps
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@963903 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 23:17:59 +00:00
Ryan Rawson 3c080bb8cc HBASE-2265 HFile and Memstore should maintain minimum and maximum timestamps
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@963862 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 21:01:11 +00:00
Michael Stack c45b3bc413 HBASE-2828 HTable unnecessarily coupled with HMaster
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@963826 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 19:21:36 +00:00
Ryan Rawson c36ed07685 HBASE-2793 Add ability to extract a specified list of versions of a column in a single roundtrip
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@962700 13f79535-47bb-0310-9956-ffa450edef68
2010-07-09 21:36:40 +00:00
Ryan Rawson b5a5aa6381 HBASE-2797 Another NPE in ReadWriteConsistencyControl
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@961549 13f79535-47bb-0310-9956-ffa450edef68
2010-07-08 01:22:08 +00:00
Jonathan Gray c2c41f0439 HBASE-2806 (small compile fix via jgray)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@960664 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 19:34:51 +00:00
Michael Stack 2993d97c97 HBASE-2806 DNS hiccups cause uncaught NPE in HServerAddress#getBindAddress
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@960650 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 17:47:10 +00:00
Jean-Daniel Cryans 03933720fa HBASE-2223 Handle 10min+ network partitions between clusters
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@959479 13f79535-47bb-0310-9956-ffa450edef68
2010-07-01 00:25:50 +00:00
Ryan Rawson 35616d9205 HBASE-2501 Refactor StoreFile Code
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@958468 13f79535-47bb-0310-9956-ffa450edef68
2010-06-28 06:02:49 +00:00
Michael Stack 7353c3dc0a HBASE-2707 Can't recover from a dead ROOT server if any exceptions happens during log splitting
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@958153 13f79535-47bb-0310-9956-ffa450edef68
2010-06-26 00:05:17 +00:00
Todd Lipcon 655f156494 Add missing Apache licenses to some source files
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@957575 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24 15:03:42 +00:00
Michael Stack dbc9c82055 Quick edit of 'Getting Started' for development release 0.89.x
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@957417 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24 05:07:17 +00:00
Michael Stack 05598d5ae3 HBASE-2774 Spin in ReadWriteConsistencyControl eating CPU (load > 40) and no progress running YCSB on clean cluster startup
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@957412 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24 04:42:17 +00:00
Michael Stack 878f8e5fa3 HBASE-2774 Spin in ReadWriteConsistencyControl eating CPU (load > 40) and no progress running YCSB on clean cluster startup
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@957411 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24 04:35:22 +00:00
Jean-Daniel Cryans 049120cdde HBASE-2772 Scan doesn't recover from region server failure
HBASE-2775  Update of hadoop jar in HBASE-2771 broke TestMultiClusters


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@957333 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 20:33:48 +00:00
Todd Lipcon c4654b285a HBASE-2729. Interrupted or failed memstore flushes should not corrupt the region
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@957307 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 19:04:40 +00:00
Michael Stack 51de1e3aa9 HBASE-2617 Load balancer falls into pathological state if one server under average - slop; endless churn; did not apply to trunk
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@957131 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 07:41:28 +00:00
Jonathan Gray 77fcd6cb63 HBASE-2758 META region stuck in RS2ZK_REGION_OPENED state (Karthik Ranganathan via jgray)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@957099 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 03:31:19 +00:00
Michael Stack 97657cccd2 HBASE-2763 Cross-port HADOOP-6833 IPC parameter leak bug
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@957058 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 22:11:17 +00:00
Todd Lipcon 76c2563c67 HBASE-2769. Fix typo in warning message for HBaseConfiguration
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@957051 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 21:59:58 +00:00
Michael Stack 80ab0f9703 HBASE-7 Provide a HBase checker and repair tool similar to fsck
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@957040 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 21:42:13 +00:00
Todd Lipcon 6aa3261fc5 HBASE-2762. Add warning to master if running without append enabled
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@957029 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 20:56:18 +00:00
Jean-Daniel Cryans ada9be3cf2 HBASE-2741 HBaseExecutorService needs to be multi-cluster friendly
(Karthik Ranganathan via JD)


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@956968 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 18:24:12 +00:00
Todd Lipcon 981573c9e1 HBASE-2764. Force all Chore tasks to have a thread name
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@956766 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 03:57:12 +00:00
Michael Stack 75caa88aec HBASE-1025 Reconstruction log playback has no bounds on memory used
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@956753 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 00:57:46 +00:00
Michael Stack 52ae2e469b HBASE-1025 Reconstruction log playback has no bounds on memory used
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@956706 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 21:33:17 +00:00
Todd Lipcon d59d054fc9 HBASE-2760. Fix MetaScanner TableNotFoundException when scanning starting at the first row in a table.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@956689 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 20:52:31 +00:00
Todd Lipcon ebbdb536c7 HBASE-2656. HMaster.getRegionTableClosest should not return null for closed regions
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@956685 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 20:36:39 +00:00
Jean-Daniel Cryans dccbca8561 HBASE-2756 MetaScanner.metaScan doesn't take configurations
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@956643 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 17:16:02 +00:00
Jean-Daniel Cryans ebb698fd09 HBASE-2737 CME in ZKW introduced in HBASE-2694 (Karthik Ranganathan via JD)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@956314 13f79535-47bb-0310-9956-ffa450edef68
2010-06-20 01:01:11 +00:00
Michael Stack 9e73f76604 HBASE-2752 Don't retry forever when waiting on too many store files
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@956183 13f79535-47bb-0310-9956-ffa450edef68
2010-06-19 05:39:47 +00:00
Jean-Daniel Cryans 13cf63cac5 HBASE-2683 Make it obvious in the documentation that ZooKeeper needs
permanent storage


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@956135 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 21:29:34 +00:00
Ryan Rawson 0beea3751b HBASE-2740 NPE in ReadWriteConsistencyControl
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@955784 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 23:20:40 +00:00
Michael Stack 7aedf3a36f HBASE-2725 Shutdown hook management is gone in trunk; restore
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@955427 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 23:32:00 +00:00
Michael Stack bbe4d7981f HBASE-2725 Shutdown hook management is gone in trunk; restore
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@955426 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 23:31:36 +00:00
Jean-Daniel Cryans 3fc4397289 HBASE-2735 Make HBASE-2694 replication-friendly
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@955418 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 22:45:24 +00:00
Todd Lipcon 609ce409a0 HBASE-2733. Replacement of LATEST_TIMESTAMP with real timestamp was broken by HBASE-2353
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@955077 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 22:44:07 +00:00
Todd Lipcon fef909299a HBASE-2670. Provide atomicity for readers even when new insert has same timestamp as current row.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@955076 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 22:37:56 +00:00
Todd Lipcon 43b0753558 HBASE-2726. Region Server should never abort without an informative log message
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@954705 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 05:04:42 +00:00
Todd Lipcon 18a53dfd6b HBASE-2353. Batch puts should sync HLog as few times as possible
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@954285 13f79535-47bb-0310-9956-ffa450edef68
2010-06-13 18:54:25 +00:00
Michael Stack d92c49629d HBASE-2468 Improvements to prewarm META cache on client
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@954268 13f79535-47bb-0310-9956-ffa450edef68
2010-06-13 17:20:58 +00:00
Ryan Rawson 84378fa8bf HBASE-2400 new connector for Avro RPC access to HBase cluster
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@954175 13f79535-47bb-0310-9956-ffa450edef68
2010-06-13 06:53:50 +00:00
Jonathan Gray b1ef73ff1f HBASE-2694 Move RS to Master region open/close messaging into ZooKeeper
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@953920 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 01:17:45 +00:00
Jean-Daniel Cryans df71c57269 HBASE-2712 Cached region location that went stale won't recover if
asking for first row


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@953859 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 20:08:21 +00:00
Michael Stack 53b3274251 HBASE-2208 TableServers # processBatchOfRows - converts from List to [ ] - Expensive copy
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@953802 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 18:09:48 +00:00
Michael Stack 4193875580 HBASE-2618 Don't inherit from HConstants
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@953790 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 17:49:55 +00:00
Todd Lipcon 296b055f97 HBASE-2710. Shell should have default terminal width when detection fails
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@953529 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 01:27:06 +00:00
Michael Stack bdcc7f126a HBASE-2703 ui not working in distributed context
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@953495 13f79535-47bb-0310-9956-ffa450edef68
2010-06-10 23:21:45 +00:00
Jean-Daniel Cryans d3fb45f189 HBASE-2691 LeaseStillHeldException totally ignored by RS, wrongly named
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@952869 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 00:10:29 +00:00
Ryan Rawson fc52e8d359 HBASE-2616 TestHRegion.testWritesWhileGetting flaky on trunk
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@952796 13f79535-47bb-0310-9956-ffa450edef68
2010-06-08 20:11:50 +00:00
Ryan Rawson a01c22af11 HBASE-2578 Add ability for tests to override server-side timestamp setting (currentTimeMillis)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@952479 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 23:06:24 +00:00
Andrew Kyle Purtell 3181d96ec8 HBASE-2397 Bytes.toStringBinary escapes printable chars
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@951840 13f79535-47bb-0310-9956-ffa450edef68
2010-06-06 08:38:42 +00:00
Michael Stack 493ccf01e8 HBASE-2615 M/R on bulk imported tables
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@951742 13f79535-47bb-0310-9956-ffa450edef68
2010-06-05 16:44:21 +00:00
Andrew Kyle Purtell d380a628bf HBASE-1537 Intra-row scanning; apply limit over multiple families
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@951682 13f79535-47bb-0310-9956-ffa450edef68
2010-06-05 08:54:32 +00:00
Michael Stack 650b6cea53 HBASE-2667 TestHLog.testSplit failing in trunk
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@951657 13f79535-47bb-0310-9956-ffa450edef68
2010-06-05 05:53:03 +00:00
Michael Stack 64c6a071d7 HBASE-2614 killing server in TestMasterTransitions causes NPEs and test deadlock
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@951652 13f79535-47bb-0310-9956-ffa450edef68
2010-06-05 05:22:33 +00:00
Michael Stack 0abcfa0ed7 HBASE-2667 TestHLog.testSplit failing in trunk
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@951471 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 16:08:41 +00:00
Michael Stack e91448f040 HBASE-2662 TestScannerResource.testScannerResource broke in trunk
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@951192 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 22:52:42 +00:00
Todd Lipcon c6cfd1b9a6 HBASE-2651. Allow alternate column separators to be specified for ImportTsv
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@951136 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 19:58:20 +00:00
Michael Stack e9b68fdce6 HBASE-2579 Add atomic checkAndDelete support; fix broke build -- i forgot to change one of the prepareDelete calls
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@950813 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 23:03:39 +00:00
Michael Stack 94c6f4c1b8 HBASE-2579 Add atomic checkAndDelete support
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@950743 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 20:05:27 +00:00
Michael Stack 0a7e9913a6 HBASE-2657 TestTableResource is broken in trunk
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@950714 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 18:47:58 +00:00
Todd Lipcon 5e56bdea4e HBASE-2560. Fix IllegalArgumentException when manually splitting table from web UI
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@950700 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 18:12:11 +00:00
Todd Lipcon f9a10488c0 HBASE-1923. Bulk incremental load into an existing table
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@950321 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 00:40:48 +00:00
Todd Lipcon fc0d79bdfd HBASE-2588. Add easier way to ship HBase dependencies to MR cluster with Job
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@950318 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 00:29:47 +00:00
Todd Lipcon 8e870fa13e HBASE-2635. ImmutableBytesWritable ignores offset in several cases
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@950242 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 20:42:10 +00:00
Michael Stack dacf350835 HBASE-2437 Refactor HLog splitLog
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@950174 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 18:01:53 +00:00
Michael Stack 677738d3ed HBASE-2531 32-bit encoding of regionnames waaaaaaayyyyy too susceptible to hash clashes
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@949919 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 03:50:57 +00:00
Todd Lipcon 12855081cc HBASE-2632. Shell should autodetect terminal width
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@949803 13f79535-47bb-0310-9956-ffa450edef68
2010-05-31 16:49:50 +00:00
Todd Lipcon 57740b8e12 HBASE-2371. Fix 'list' command in shell
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@949549 13f79535-47bb-0310-9956-ffa450edef68
2010-05-30 18:03:46 +00:00
Todd Lipcon c8f365c85b HBASE-2630. HFile should use toStringBinary when printing keys
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@949547 13f79535-47bb-0310-9956-ffa450edef68
2010-05-30 17:54:19 +00:00
Michael Stack e9da90e109 HBASE-2352 Small values for hbase.client.retries.number and ipc.client.connect.max.retries breaks long ops in hbase shell
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@949521 13f79535-47bb-0310-9956-ffa450edef68
2010-05-30 14:36:12 +00:00
Michael Stack 6cdd1822b6 HBASE-2599 BaseScanner says "Current assignment of X is not valid" over and over for same region
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@949327 13f79535-47bb-0310-9956-ffa450edef68
2010-05-29 00:40:54 +00:00
Todd Lipcon 4d3d22e521 HBASE-2621. Fix bad link to HFile documentation in javadoc
Contributed by Jeff Hammerbacher


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@949251 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 18:22:27 +00:00
Michael Stack 90a56da42e HBASE-2619 HBase shell 'alter' command cannot set table properties to False
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@949026 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 22:24:03 +00:00
Jean-Daniel Cryans 982a15f227 HBASE-2613 Remove the code around MSG_CALL_SERVER_STARTUP
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@948632 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 23:09:09 +00:00
Michael Stack 54b2cf6806 HBASE-2610 ValueFilter copy pasted javadoc from QualifierFilter
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@948365 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 08:49:04 +00:00
Andrew Kyle Purtell bb8e346466 HBASE-2586 Move hbase webapps to a hbase-webapps dir
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@948298 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 02:56:08 +00:00
Michael Stack d7276f47fd HBASE-2516 Ugly IOE when region is being closed; rather, should NSRE
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@947675 13f79535-47bb-0310-9956-ffa450edef68
2010-05-24 15:43:46 +00:00
Michael Stack c7ed31b969 HBASE-2519 StoreFileScanner.seek swallows IOEs
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@947511 13f79535-47bb-0310-9956-ffa450edef68
2010-05-23 22:21:48 +00:00
Michael Stack f896891125 HBASE-2598 Move NINES and ZEROS to client package and change visibility to default
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@947349 13f79535-47bb-0310-9956-ffa450edef68
2010-05-22 23:38:16 +00:00
Jean-Daniel Cryans 4ae7a64206 HBASE-2580 Make the hlog file names unique
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@947127 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 18:49:17 +00:00
Michael Stack 49aee06f93 HBASE-2577 Remove 'core' maven module; move core up a level
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@946530 13f79535-47bb-0310-9956-ffa450edef68
2010-05-20 05:24:32 +00:00