Commit Graph

10204 Commits

Author SHA1 Message Date
Andrew Purtell e156ed619c HBASE-12975 Supportable SplitTransaction and RegionMergeTransaction interfaces 2015-03-31 16:02:38 -07:00
tedyu 452ce33ef5 HBASE-13369 Addendum deletes the table at the end of test 2015-03-31 15:42:38 -07:00
tedyu 64941c6151 HBASE-13369 Expose scanNext stats to region server level 2015-03-31 15:25:36 -07:00
tedyu 619d34487e HBASE-13213 Split out locality metrics among primary and secondary region 2015-03-31 15:16:08 -07:00
Andrew Purtell f1f4b66183 HBASE-12972 Region, a supportable public/evolving subset of HRegion 2015-03-30 18:01:11 -07:00
Elliott Clark 55a5a3be33 HBASE-13364 Make error prone off by default 2015-03-30 16:03:53 -07:00
stack 3815a33e34 HBASE-13361 Remove or undeprecate {get|set}ScannerCaching in HTable (Lars Francke) 2015-03-30 08:16:23 -07:00
Lars George 7f8745453e HBASE-10728 get_counter value is never used. 2015-03-30 10:21:53 +02:00
tedyu bfb04d26a7 HBASE-12993 Use HBase 1.0 interfaces in hbase-thrift (Solomon Duskis) 2015-03-29 06:45:49 -07:00
Josh Elser ced0e324a1 HBASE-13262 Observe ScanResponse.moreResults in ClientScanner.
The RS already returns to the client whether or not it has additional
results to be returned in a subsequent call to scan(), but the ClientScanner
did not use or adhere to this value. Subsequently, this can lead to
bugs around moving to the next region too early. A new method was added
to ClientScanner in the name of testability.

Encapsulate server-state into RegionServerCallable to avoid
modifying parameterization of callable impls.

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2015-03-28 18:56:52 -07:00
tedyu a6ff17b958 HBASE-13357 If maxTables/maxRegions exceeds quota in a namespace, throw QuotaExceededException (Ashish Singhi) 2015-03-28 14:01:06 -07:00
Elliott Clark 0967c6af29 HBASE-13355 QA bot reports checking javac twice 2015-03-28 10:22:55 -07:00
tedyu bd837d47f7 HBASE-12413 Mismatch in the equals and hashcode methods of KeyValue (Jingcheng Du and Gariel Reid) 2015-03-28 06:31:28 -07:00
Jonathan Lawlor 5038fc76c9 Amend HBASE-13303 Fix size calculation of results on the region server
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2015-03-27 22:11:30 -07:00
Enis Soztutar 0a500e5d30 HBASE-13328 LoadIncrementalHFile.doBulkLoad(Path,HTable) should handle managed connections 2015-03-27 14:49:58 -07:00
Josh Elser 98b1e72d1c HBASE-13222 Add isBalancerEnabled method to Master and Admin.
Include some basic tests for the method on a testing cluster.
Also update master page to show an alert when balancer is disabled.

Signed-off-by: Enis Soztutar <enis@apache.org>
2015-03-27 14:28:03 -07:00
Elliott Clark a4a235b8d1 HBASE-13170 Allow block cache to be external
Summary: Add MemcachedBlockCache

Test Plan: Tested locally with PE and running memcached.

Subscribers: rajesh.nishtala, ndimiduk

Differential Revision: https://reviews.facebook.net/D34635
2015-03-27 13:15:27 -07:00
Sameet Agarwal ba6345f7d1 HBASE-13316 Reduce the downtime on planned moves of regions
Summary:
The current behavior of a region move shuts down a region and then starts is up in another regionserver. This causes increased latency and possibly timeouts till the new region's cache is fully warmed up. We can make a region move less disruptive by warming the cache in the destination region server before shutting dow the old region.

See https://issues.apache.org/jira/browse/HBASE-13316

Test Plan:
1. Unit Tests
2. Added test for concurrent moves and warmups
3. Manually tested reads/writes happening with concurrent moves

Subscribers: tedyu

Differential Revision: https://reviews.facebook.net/D35967

Signed-off-by: Elliott Clark <eclark@apache.org>
2015-03-27 11:48:01 -07:00
Elliott Clark 5d2c33158c HBASE-13342 Fix incorrect interface annotations 2015-03-27 00:19:15 -07:00
Andrew Purtell b6b1e3b86e HBASE-13332 Fix the usage of doAs/runAs in Visibility Controller tests (Srikanth Srungarapu) 2015-03-26 21:54:29 -07:00
zhangduo a78effcdc6 HBASE-13295 TestInfoServers hung 2015-03-27 11:58:17 +08:00
tedyu 306c44156a HBASE-13327 Addendum replaced the nested try with a cast of getAdmin() to HBaseAdmin and a call to the original compact/majorCompact method (Solomon) 2015-03-26 18:01:21 -07:00
nke 18256fc954 HBASE-8725 Add total time RPC call metrics
Signed-off-by: Elliott Clark <eclark@apache.org>
2015-03-26 11:11:53 -07:00
Andrey Stepachev 69f6a2e7b4 HBASE-13334 FindBugs should create precise report for new bugs introduced (addendum) 2015-03-26 08:18:15 +00:00
Andrey Stepachev a85c1d9d30 Revert "HBASE-13326 Disabled table can't be enabled after HBase is restarted (addendum)"
This reverts commit bfeb067e3a.
2015-03-26 08:17:33 +00:00
Andrey Stepachev bfeb067e3a HBASE-13326 Disabled table can't be enabled after HBase is restarted (addendum) 2015-03-26 08:13:42 +00:00
Andrey Stepachev 948a6a63e8 HBASE-13334 FindBugs should create precise report for new bugs introduced 2015-03-26 00:27:14 +00:00
Elliott Clark 97bfc2ded7 HBASE-13265 Make thrift2 usable from c++ 2015-03-25 17:17:40 -07:00
Andrey Stepachev e26c4e4e67 HBASE-5238 Add a log4j category for all edits to META/ROOT 2015-03-25 23:03:18 +00:00
Elliott Clark 134b95579c HBASE-13325 Protocol Buffers 2.5 no longer available for download on code.google.com 2015-03-25 14:05:34 -07:00
Gary Helmling 2e31e834a6 Fix company name for garyh 2015-03-25 13:56:54 -07:00
stack 50daed268e HBASE-13298 Clarify if Table.{set|get}WriteBufferSize() is deprecated or not 2015-03-25 13:10:04 -07:00
Andrew Purtell 5a58116bb5 HBASE-13294 Fix the critical ancient loopholes in security testing infrastructure (Srikanth Srungarapu) 2015-03-25 11:21:28 -07:00
Matteo Bertozzi 5e1fc2587c HBASE-13311 TestQuotaThrottle flaky on slow machine 2015-03-25 18:19:53 +00:00
stack 04740703e9 HBASE-13248 Make HConnectionImplementation top-level class; ADDENDUM -- missing file 2015-03-25 11:11:38 -07:00
Ashish Singhi b5c4d9a04f HBASE-13305 Get(Get get) is not copying the row key
Signed-off-by: stack <stack@apache.org>
2015-03-25 07:39:05 -07:00
stack 8579c6dd49 HBASE-13248 Make HConnectionImplementation top-level class 2015-03-25 07:25:44 -07:00
Elliott Clark e78aeb24e0 HBASE-13331 Exceptions from DFS client can cause CatalogJanitor to delete referenced files
Summary:
CatalogJanitor#checkDaughterInFs assumes that there are no references
whenever HRegionFileSystem.openRegionFromFileSystem throws IOException.
Well Hadoop and HBase throw IOExceptions whenever someone looks in their general direction.

This patch explicitly checks if the directory exists. If it doesn't then it allows references to be
deleted. All other exceptions cause CatalogJanitor to assume there are references

Test Plan: Unit tests.

Differential Revision: https://reviews.facebook.net/D35829
2015-03-24 19:52:10 -07:00
tedyu 227ace9100 HBASE-13327 Use Admin in ConnectionCache (Solomon Duskis) 2015-03-24 18:13:51 -07:00
Mikhail Antonov 8cb4f89c01 HBASE-13273 Make Result.EMPTY_RESULT read-only; currently it can be modified
Signed-off-by: Sean Busbey <busbey@cloudera.com>
2015-03-24 12:33:02 -07:00
Matteo Bertozzi fcc09dcd38 HBASE-13321 Fix flaky TestHBaseFsck 2015-03-24 16:39:17 +00:00
Matteo Bertozzi 80d230e1fb HBASE-13314 Fix NPE in HMaster.getClusterStatus() 2015-03-24 09:28:06 +00:00
Nick Dimiduk 5459008ccd HBASE-13315 BufferedMutator should be @InterfaceAudience.Public (addendum) 2015-03-23 16:38:32 -07:00
zhangduo 6e9ded51fb HBASE-13310 Fix high priority findbugs warnings 2015-03-24 06:50:04 +08:00
Nick Dimiduk 1428a59caf HBASE-13315 BufferedMutator should be @InterfaceAudience.Public (Solomon Duskis) 2015-03-23 12:16:29 -07:00
Ramkrishna 65d3781897 HBASE-13281 'hbase.bucketcache.size' description in hbase book is not
correct (Ram)
2015-03-23 22:40:18 +05:30
Matteo Bertozzi 845f5de121 HBASE-13309 Some tests do not reset EnvironmentEdgeManager 2015-03-22 10:40:49 +00:00
zhangduo a9b73b600e HBASE-13308 Fix flaky TestEndToEndSplitTransaction 2015-03-21 20:43:53 +08:00
Andrew Purtell 8dfed5dc88 HBASE-13303 Fix size calculation of results on the region server 2015-03-20 17:24:50 -07:00
Matteo Bertozzi 0915191167 HBASE-13282 Fix the minor issues of running Canary on kerberized environment (Srikanth Srungarapu) 2015-03-20 21:26:53 +00:00