Commit Graph

9976 Commits

Author SHA1 Message Date
stack e3d6cdd072 HBASE-13382 IntegrationTestBigLinkedList should use SecureRandom (Dima Spivak) 2015-04-03 15:32:50 -07:00
stack 95893ffebd HBASE-13373 Squash HFileReaderV3 together with HFileReaderV2 and AbstractHFileReader; ditto for Scanners and BlockReader, etc.:
Reapply after fixing missing JIRA number
2015-04-03 15:30:07 -07:00
stack da61928246 Revert "HBASE-Squash HFileReaderV3 together with HFileReaderV2 and AbstractHFileReader; ditto for Scanners and BlockReader, etc."
Revert because missing JIRA number

This reverts commit 691efc60f7.
2015-04-03 15:26:13 -07:00
stack 691efc60f7 HBASE-Squash HFileReaderV3 together with HFileReaderV2 and AbstractHFileReader; ditto for Scanners and BlockReader, etc. 2015-04-03 14:25:02 -07:00
zhangduo dd4f8a5e5a HBASE-13385 TestGenerateDelegationToken is broken with hadoop 2.8.0
Conflicts:
	hbase-server/src/test/java/org/apache/hadoop/hbase/security/token/TestGenerateDelegationToken.java
2015-04-03 07:54:55 +08:00
stack 7e1e5a60fb HBASE-13216 Add version info in RPC connection header (Liu Shaohui) 2015-04-02 15:50:49 -07:00
Andrew Purtell 6605dda7b4 HBASE-13388 Handling NullPointer in ZKProcedureMemberRpcs while getting ZNode data (Vikas Vishwakarma) 2015-04-02 14:18:07 -07:00
Ashish Singhi 3c0e3981aa HBASE-11386 Backport HBASE-12601 to all active branches other than master
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2015-04-02 14:13:12 -07:00
Dave Latham b8e969be7a HBASE-12891 Parallel execution for Hbck checkRegionConsistency
Signed-off-by: Enis Soztutar <enis@apache.org>
2015-04-02 11:24:14 -07:00
Devaraj Das 926aaed113 HBASE-11869. Support snapshot owner (Liu Shaohui). 2015-04-01 23:56:59 -07:00
Srikanth Srungarapu 1dfcbdf5e3 HBASE-13058 Hbase shell command 'scan' for non existent table shows unnecessary info for one unrelated existent table. (Abhishek Kumar) 2015-04-01 23:33:20 -07:00
Srikanth Srungarapu 71c96e353a HBASE-13091 Split ZK Quorum on Master WebUI (Jean-Marc Spaggiari) 2015-04-01 23:21:21 -07:00
Andrew Purtell 019242abe4 HBASE-13341 Add option to disable filtering on interface annotations for the API compatibility report 2015-04-01 22:09:51 -07:00
Andrew Purtell 2d214c9e35 HBASE-13340 Include LimitedPrivate interfaces in the API compatibility report 2015-04-01 22:09:51 -07:00
Dima Spivak 4937dcad47 HBASE-12808 Use Java API Compliance Checker for binary/source compatibility
Signed-off-by: Sean Busbey <busbey@apache.org>
2015-04-01 22:09:51 -07:00
Andrew Purtell b75a4c8ef0 HBASE-13384 Fix Javadoc warnings introduced by HBASE-12972 2015-04-01 22:06:51 -07:00
Enis Soztutar b22fcd36ef HBASE-13317 Region server reportForDuty stuck looping if there is a master change - ADDENDUM for branch-1 (Jerry He) 2015-04-01 17:27:01 -07:00
Srikanth Srungarapu a6ddcc8fa2 HBASE-13296 Fix the deletion of acl notify nodes for namespace. 2015-04-01 12:17:00 -07:00
tedyu 39b5ce9470 HBASE-12954 Addendum uses invalid TLD in test 2015-04-01 11:20:16 -07:00
zhangduo 7314645972 HBASE-13187 Add ITBLL that exercises per CF flush
Signed-off-by: stack <stack@apache.org>
2015-04-01 09:44:49 -07:00
tedyu 4df24b8e6d HBASE-12954 Ability impaired using HBase on multihomed hosts 2015-04-01 06:47:26 -07:00
Enis Soztutar 394b460934 HBASE-13317 Region server reportForDuty stuck looping if there is a master change (Jerry He) 2015-03-31 22:59:34 -07:00
Josh Elser 79d80b187e HBASE-13335 Use serverHasMoreResults context in SmallScanner and SmallReversedScanner.
Use the context passed back via ScanResponse that a RegionServer
fills in to denote whether or not more results existing in the
current Region. Add a simple factory to remove a static method
used across both SmallScanner and SmallReverseScanner. Add new
unit tests for both scanner classes to test scans with and
without the new context (as a quick backward-compatibility test).
2015-03-31 21:35:34 -07:00
zhangduo 35fdea7d00 HBASE-13371 Fix typo in TestAsyncIPC 2015-04-01 12:15:10 +08:00
Andrew Purtell bf76082f5f HBASE-12975 Supportable SplitTransaction and RegionMergeTransaction interfaces 2015-03-31 16:02:24 -07:00
tedyu c4194f2849 HBASE-13369 Addendum deletes the table at the end of test 2015-03-31 15:43:08 -07:00
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