3575 Commits

Author SHA1 Message Date
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
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
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
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