Commit Graph

10439 Commits

Author SHA1 Message Date
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
Liu Shaohui f4eb7191be HBASE-13199 ADDENDUM Some small improvements on canary tool (Shaohui Liu) 2015-03-20 15:22:14 -05:00
Nicolas Liochon 6d4460341e HBASE-13286 Minimum timeout for a rpc call could be 1 ms instead of 2 seconds 2015-03-20 19:09:43 +01:00
stack 34347a3639 HBASE-13274 Fix misplaced deprecation in Delete#addXYZ (Mikhail Antonov) 2015-03-20 09:43:56 -07:00
stack f57dca5e1b HBASE-13198 Remove HConnectionManager (Mikhail Antonov) 2015-03-20 09:41:48 -07:00
Lars Hofhansl 0d76654416 Reapply "HBASE-12976 Set default value for hbase.client.scanner.max.result.size." in 1.1 and 2.0 only
This reverts commit 64589abe99.
2015-03-19 15:07:15 -07:00
Ashish Singhi 2bf904f216 HBASE-13241 Add tests for group level grants 2015-03-19 21:39:12 +00:00
Lars Hofhansl 64589abe99 Revert "HBASE-12976 Set default value for hbase.client.scanner.max.result.size."
This reverts commit 2583e8de57.
2015-03-19 14:19:41 -07:00
Esteban Gutierrez b728e66708 TestEnableTableHandler.testDeleteForSureClearsAllTableRowsFromMeta - ADDENDUM 2015-03-19 20:35:12 +00:00
Matteo Bertozzi 6a95dd3551 HBASE-13285 Fix flaky getRegions() in TestAccessController.setUp() 2015-03-19 17:54:46 +00:00
zhangduo 27cf749af8 HBASE-13280 TestSecureRPC failed 2015-03-19 21:36:06 +08:00
Matteo Bertozzi 535ebbfde9 HBASE-13235 Revisit the security auditing semantics (Srikanth Srungarapu) 2015-03-19 07:01:21 +00:00
anoopsjohn 014b812103 HBASE-13006 Document visibility label support for groups. (Jerry He) 2015-03-19 09:18:21 +05:30
Liu Shaohui cf7ef936d2 HBASE-13199 Some small improvements on canary tool (Shaohui Liu) 2015-03-19 10:44:35 +08:00
Liu Shaohui 602e11cc74 HBASE-13216 Add version info in RPC connection header (Shaohui Liu) 2015-03-19 10:30:55 +08:00
Liu Shaohui 6709feeb65 HBASE-13200 Improper configuration can leads to endless lease recovery during failover (He Liangliang) 2015-03-19 10:07:25 +08:00