3765 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
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
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
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
zhangduo
6e9ded51fb HBASE-13310 Fix high priority findbugs warnings 2015-03-24 06:50:04 +08:00
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
stack
f57dca5e1b HBASE-13198 Remove HConnectionManager (Mikhail Antonov) 2015-03-20 09:41:48 -07:00
Ashish Singhi
2bf904f216 HBASE-13241 Add tests for group level grants 2015-03-19 21:39:12 +00: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
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
Matteo Bertozzi
f9a17edc25 HBASE-13253 LoadIncrementalHFiles unify hfiles discovery 2015-03-17 19:38:39 +00:00
Andrey Stepachev
ed026c2e6f HBASE-13176 Flakey TestZooKeeper test. 2015-03-17 14:51:39 +00:00
zhangduo
7b7b0bf9dd HBASE-13258 addendum add log and reduce testCount in TestHRegion.testWritesWhileGetting 2015-03-17 21:43:37 +08:00
zhangduo
2b08653a79 HBASE-13258 Promote TestHRegion to LargeTests 2015-03-17 16:02:27 +08:00
Jonathan M Hsieh
65ad19ddf7 HBASE-12908 Typos in MemstoreFlusher javadocs (Edvin Malinovskis) 2015-03-17 00:36:00 -07:00
tedyu
47787f2c3a HBASE-13254 EnableTableHandler#prepare would not throw TableNotFoundException during recovery (Stephen Jiang) 2015-03-16 17:50:16 -07:00
stack
a75a2ace4f HBASE-13193 RegionScannerImpl filters should not be reset if a partial Result is returned (Jonathan Lawlor) 2015-03-16 13:26:34 -07:00
stack
c5aca1919d HBASE-12586 Task 6 & 7 from HBASE-9117, delete all public HTable constructors and delete ConnectionManager#{delete,get}Connection (Mikhail Antonov) 2015-03-16 11:20:14 -07:00
tedyu
76ba53004b HBASE-13246 Correct the assertion for namespace permissions in tearDown method of TestAccessController (Ashish Singhi) 2015-03-16 06:47:56 -07:00
zhangduo
b7e2daa1db HBASE-13244 addendum add InterfaceAudience annotation back for HBaseKerberosUtils 2015-03-16 15:18:20 +08:00
zhangduo
0505b7941e HBASE-13244 Test delegation token generation with kerberos enabled 2015-03-15 23:02:51 +08:00
tedyu
01bc979ea2 HBASE-13239 HBase grant at specific column level does not work for Groups 2015-03-14 20:21:37 -07:00
zhangduo
df238346d2 HBASE-13242 TestPerColumnFamilyFlush.testFlushingWhenLogRolling hung 2015-03-15 08:01:05 +08:00
Josh Elser
72855c584e HBASE-13236 Add addt'l lifecycle-mapping executions.
Adds a number of lifecycle-mapping entries which
prevent errors from showing up in Eclipse on a fresh
import of HBase. For plugins defined in the top-level
pom, the mapping is added there; otherwise, the mapping
is pushed down to the child pom.

Signed-off-by: Sean Busbey <busbey@apache.org>
2015-03-13 22:35:52 -05:00
Matteo Bertozzi
d2d4ef14f4 HBASE-13227 LoadIncrementalHFile should skip non-files inside a possible family-dir 2015-03-13 17:22:54 +00:00
Esteban Gutierrez
6152d36c87 HBASE-13224 Minor formatting issue when logging a namespace scope in AuthResult#toContextString 2015-03-13 10:44:17 +00:00
zhangduo
bb0068893d HBASE-13194 TableNamespaceManager not ready cause MasterQuotaManager initialization fail 2015-03-13 11:13:55 +08:00
Enis Soztutar
d45efa7208 HBASE-13169 ModifyTable increasing the region replica count should also auto-setup RRRE 2015-03-12 13:39:55 -07:00
tedyu
7a3ea23704 HBASE-13171 Change AccessControlClient methods to accept connection object to reduce setup time (Srikanth Srungarapu) 2015-03-11 18:24:12 -07:00
stack
9c83fa7b52 HBASE-13167 The check for balancerCutoffTime is buggy (Mikhail Antonov) 2015-03-11 15:54:53 -07:00