10050 Commits

Author SHA1 Message Date
tedyu
bb65a8664d HBASE-13369 Expose scanNext stats to region server level 2015-03-31 15:27:39 -07:00
tedyu
f1601c0d12 HBASE-13213 Split out locality metrics among primary and secondary region 2015-03-31 15:00:56 -07:00
Andrew Purtell
af1715933e HBASE-12972 Region, a supportable public/evolving subset of HRegion 2015-03-30 18:01:32 -07:00
Lars George
26f4c32d54 HBASE-10728 get_counter value is never used. 2015-03-30 10:32:26 +02:00
tedyu
0f0f3f8493 HBASE-12993 Use HBase 1.0 interfaces in hbase-thrift (Solomon Duskis) 2015-03-29 06:44:50 -07:00
Josh Elser
b0116398ff 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:50 -07:00
Jonathan Lawlor
7da7a77ff9 Amend HBASE-13303 Fix size calculation of results on the region server
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2015-03-27 22:12:07 -07:00
Enis Soztutar
4bda365ab1 HBASE-13328 LoadIncrementalHFile.doBulkLoad(Path,HTable) should handle managed connections 2015-03-27 14:50:23 -07:00
Josh Elser
b9a615e739 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>

Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionImplementation.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/RequestConverter.java
	hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/MasterProtos.java
2015-03-27 14:47:24 -07:00
Elliott Clark
2857b21eaf 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:17:05 -07:00
Sameet Agarwal
2fd6f2a829 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:56:21 -07:00
Nick Dimiduk
242f62ffcd HBASE-13201 Remove HTablePool from thrift-server (Solomon Duskis) 2015-03-27 10:22:53 -07:00
Elliott Clark
650c9f27fd HBASE-13342 Fix incorrect interface annotations 2015-03-27 00:22:04 -07:00
Andrew Purtell
66af9410b1 HBASE-13332 Fix the usage of doAs/runAs in Visibility Controller tests (Srikanth Srungarapu)
Conflicts:
	hbase-server/src/test/java/org/apache/hadoop/hbase/security/visibility/TestDefaultScanLabelGeneratorStack.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/security/visibility/TestEnforcingScanLabelGenerator.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityLabelReplicationWithExpAsString.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityLabels.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityLabelsReplication.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityLabelsWithACL.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityLabelsWithDefaultVisLabelService.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityLabelsWithDeletes.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityWithCheckAuths.java
2015-03-26 21:54:28 -07:00
zhangduo
e8059b0dc5 HBASE-13295 TestInfoServers hung
Conflicts:
	hbase-server/src/test/java/org/apache/hadoop/hbase/TestInfoServers.java
2015-03-27 11:57:19 +08:00
tedyu
9d6aa4a8df 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 17:59:24 -07:00
nke
797eee33ab HBASE-8725 Add total time RPC call metrics
Signed-off-by: Elliott Clark <eclark@apache.org>
2015-03-26 11:12:29 -07:00
Elliott Clark
849343a66d HBASE-13265 Make thrift2 usable from c++ 2015-03-25 17:17:49 -07:00
Andrey Stepachev
9df1c244a0 HBASE-13326 Disabled table can't be enabled after HBase is restarted 2015-03-25 22:57:37 +00:00
stack
46e782927d HBASE-13298 Clarify if Table.{set|get}WriteBufferSize() is deprecated or not 2015-03-25 13:10:29 -07:00
Andrew Purtell
050028c32e HBASE-13294 Fix the critical ancient loopholes in security testing infrastructure (Srikanth Srungarapu) 2015-03-25 09:28:12 -07:00
Ashish Singhi
01fdafb5ee HBASE-13305 Get(Get get) is not copying the row key
Signed-off-by: stack <stack@apache.org>
2015-03-25 07:39:45 -07:00
Elliott Clark
cc750c656a 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:17 -07:00
tedyu
7c2525bf15 HBASE-13327 Use Admin in ConnectionCache (Solomon Duskis) 2015-03-24 18:15:09 -07:00
Mikhail Antonov
ac6fd86d26 HBASE-13273 Make Result.EMPTY_RESULT read-only; currently it can be modified
Signed-off-by: Sean Busbey <busbey@apache.org>

Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/Result.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestResult.java
2015-03-24 13:15:43 -07:00
Matteo Bertozzi
c305b44362 HBASE-13321 Fix flaky TestHBaseFsck 2015-03-24 16:52:05 +00:00
Matteo Bertozzi
266e883daa HBASE-13314 Fix NPE in HMaster.getClusterStatus() 2015-03-24 09:28:51 +00:00
Nick Dimiduk
7fad7d1a5b HBASE-13315 BufferedMutator should be @InterfaceAudience.Public (addendum) 2015-03-23 16:35:46 -07:00
Nick Dimiduk
ebd407dbda HBASE-13315 BufferedMutator should be @InterfaceAudience.Public (Solomon Duskis) 2015-03-23 12:17:28 -07:00
Matteo Bertozzi
f3f42bf7a6 HBASE-13309 Some tests do not reset EnvironmentEdgeManager 2015-03-22 10:43:15 +00:00
zhangduo
bbf9a90ff2 HBASE-13308 Fix flaky TestEndToEndSplitTransaction
Conflicts:
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestEndToEndSplitTransaction.java
2015-03-21 20:55:49 +08:00
Andrew Purtell
e90ac5f812 HBASE-13303 Fix size calculation of results on the region server 2015-03-20 17:25:17 -07:00
Matteo Bertozzi
4230b1ae2e HBASE-13282 Fix the minor issues of running Canary on kerberized environment (Srikanth Srungarapu) 2015-03-20 21:14:07 +00:00
stack
b83e3ac770 HBASE-13274 Fix misplaced deprecation in Delete#addXYZ (Mikhail Antonov) 2015-03-20 09:44:38 -07:00
Lars Hofhansl
676fb753d9 Reapply "HBASE-12976 Set default value for hbase.client.scanner.max.result.size." in 1.1 and 2.0 only
This reverts commit 64589abe9936337fcbccdbe82e538d05020c8ee4.
2015-03-19 15:07:56 -07:00
Ashish Singhi
14fa34513e HBASE-13241 Add tests for group level grants 2015-03-19 21:38:47 +00:00
Lars Hofhansl
aad299faba Revert "HBASE-12976 Set default value for hbase.client.scanner.max.result.size."
This reverts commit 2583e8de574ae4b002c5dbc80b0da666b42dd699.
2015-03-19 14:20:46 -07:00
Esteban Gutierrez
f6095adea6 TestEnableTableHandler.testDeleteForSureClearsAllTableRowsFromMeta - ADDENDUM 2015-03-19 21:01:38 +00:00
Matteo Bertozzi
1f7b7781a1 HBASE-13285 Fix flaky getRegions() in TestAccessController.setUp() 2015-03-19 18:28:58 +00:00
zhangduo
9e92e33629 HBASE-13280 TestSecureRPC failed 2015-03-19 21:46:15 +08:00
Matteo Bertozzi
6b411b5d00 HBASE-13235 Revisit the security auditing semantics (Srikanth Srungarapu) 2015-03-19 07:01:55 +00:00
anoopsjohn
78a55ac71a HBASE-13006 Document visibility label support for groups. (Jerry He) 2015-03-19 09:19:44 +05:30
Matteo Bertozzi
e283a210e6 HBASE-13253 LoadIncrementalHFiles unify hfiles discovery 2015-03-17 19:39:18 +00:00
Gustavo Anatoly
12f095f00f HBASE-13229 Specify bash for local-regionservers.sh and local-master-backup.sh
Signed-off-by: Sean Busbey <busbey@apache.org>

Conflicts:
	src/main/asciidoc/_chapters/configuration.adoc
2015-03-17 12:49:55 -05:00
Sean Busbey
7ea18e2068 Revert "Specify bash for local-regionservers.sh and local-master-backup.sh"
This reverts commit 58ab201be341f02829286f036a7401d0806eb999.
2015-03-17 12:49:36 -05:00
Gustavo Anatoly
58ab201be3 Specify bash for local-regionservers.sh and local-master-backup.sh
Signed-off-by: Sean Busbey <busbey@apache.org>

Conflicts:
	src/main/asciidoc/_chapters/configuration.adoc
2015-03-17 10:27:03 -05:00
Andrey Stepachev
bee9fb8e7e HBASE-13176 Flakey TestZooKeeper test. 2015-03-17 15:00:10 +00:00
Andrey Stepachev
d0af30ea3c HBASE-13093 Local mode HBase instance doesn't shut down. 2015-03-17 14:47:11 +00:00
tedyu
e1f972170d HBASE-13256 HBaseConfiguration#checkDefaultsVersion(Configuration) has spelling error (Josh Elser) 2015-03-17 07:24:38 -07:00
Jonathan M Hsieh
489698d6c0 HBASE-12908 Typos in MemstoreFlusher javadocs (Edvin Malinovskis) 2015-03-17 00:38:54 -07:00