Commit Graph

571 Commits

Author SHA1 Message Date
tedyu fbdaf62bf8 HBASE-12716 A bug in RegionSplitter.UniformSplit algorithm (Weichen Ye) 2014-12-28 07:48:24 -08:00
Jurriaan Mous e92a9bf003 HBASE-12742
Signed-off-by: stack <stack@apache.org>
2014-12-23 10:14:16 -08:00
stack d845a92fc8 HBASE-12682 compaction thread throttle value is not correct in hbase-default.xml (Jerry He) 2014-12-16 16:22:04 -08:00
zhangduo c7fad665f3 HBASE-10201 Port 'Make flush decisions per column family' to trunk
Signed-off-by: stack <stack@apache.org>
2014-12-16 11:49:17 -08:00
Jesse Yates a411227b0e HBASE-5162 Basic client pushback mechanism
Instead of just blocking the client for 90 seconds when the region gets too
busy, it now sends along region load stats to the client so the client can
know how busy the server is. Currently, its just the load on the memstore, but
it can be extended for other stats (e.g. cpu, general memory, etc.).

It is then up to the client to decide if it wants to listen to these stats.
By default, the client ignores the stats, but it can easily be toggled to the
built-in exponential back-off or users can plug in their own back-off
implementations
2014-12-16 11:14:30 -08:00
stack e5d813c46b HBASE-9431 Set 'hbase.bulkload.retries.number' to 10 as HBASE-8450 claims 2014-12-16 11:11:14 -08:00
Enis Soztutar afb753ecc3 HBASE-12683 Compilation with hadoop-2.7.0-SNAPSHOT is broken 2014-12-15 11:09:20 -08:00
Enis Soztutar 743d16138e HBASE-12679 Add HBaseInterfaceAudience.TOOLS and move some of the Public classes to LimitedPrivate 2014-12-14 17:46:30 -08:00
stack df22270756 HBASE-12665 When aborting, dump metrics
Add some fixup of checkstyle fails
2014-12-09 21:01:15 -08:00
tedyu 9e9be97af7 HBASE-12650 Move ServerName to hbase-common module - check in changed files 2014-12-08 07:08:44 -08:00
tedyu 11864c60c7 HBASE-12650 Move ServerName to hbase-common module 2014-12-08 06:58:41 -08:00
Devaraj Das ca0c1774c9 HBASE-12548. Improve debuggability of IntegrationTestTimeBoundedRequestsWithRegionReplicas 2014-12-06 18:18:03 -08:00
Gary Helmling 1ec6609b97 HBASE-12493 Make User and TokenUtil public 2014-12-05 13:04:54 -08:00
Andrew Purtell 09cd3d7bfb HBASE-10560 Per cell TTLs 2014-12-05 11:10:26 -08:00
tedyu 155a644b1c HBASE-12632 ThrottledInputStream/ExportSnapshot does not throttle 2014-12-05 06:52:04 -08:00
Jeffrey Zhong 2c280e6253 HBASE-12600: Remove REPLAY tag dependency in Distributed Replay Mode 2014-12-01 11:19:47 -08:00
Jeffrey Zhong 0733450473 Revert "Remove Replay Tag"
This reverts commit f723ffde7f.
2014-12-01 11:17:24 -08:00
Jeffrey Zhong f723ffde7f Remove Replay Tag 2014-12-01 10:59:47 -08:00
stack 56a03d736a HBASE-12603 Remove javadoc warnings introduced due to removal of unused imports (Varun Saxena) 2014-12-01 10:13:16 -08:00
Ramkrishna b6b88edf93 HBASE-11639 [Visibility controller] Replicate the visibility of Cells as
strings (Ram)
2014-12-01 23:03:52 +05:30
stack 555e78005d HBASE-12526 Remove unused imports (Varun Saxena) 2014-11-29 09:20:46 -08:00
stack 58b6b24c29 HBASE-12519 Remove tabs used as whitespace (Varun Saxena) 2014-11-28 20:50:02 -08:00
Enis Soztutar 882324dbcc HBASE-10671 Add missing InterfaceAudience annotations for classes in hbase-common and hbase-client modules 2014-11-21 11:44:46 -08:00
Sean Busbey 14dc08c07f HBASE-12517 Ensure HConstants members are final.
Signed-off-by: stack <stack@apache.org>
2014-11-18 13:04:25 -08:00
stack b94e6738d9 HBASE-10378 Refactor write-ahead-log implementation -- ADDEDNUM 2014-11-18 12:12:35 -08:00
Matteo Bertozzi a376c8da9d HBASE-12366 Add login code to HBase Canary tool (Srikanth Srungarapu) 2014-11-12 20:34:55 +00:00
Srikanth Srungarapu 6e80af2044 HBASE-12460 Moving Chore to hbase-common module
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
2014-11-11 23:15:42 +00:00
Andrew Purtell 9102547159 HBASE-12419 'Partial cell read caused by EOF' ERRORs on replication source 2014-11-05 18:47:05 -08:00
Enis Soztutar 997c1adc2f HBASE-12390 Change revision style from svn to git 2014-10-31 11:10:38 -07:00
stack 889333a6fd HBASE-12313 Redo the hfile index length optimization so cell-based rather than serialized KV key 2014-10-29 11:33:49 -07:00
anoopsjohn cbb334035d HBASE-12297 Support DBB usage in Bloom and HFileIndex area. 2014-10-29 14:39:03 +05:30
manukranthk ece933fa3e Implement Preemptive Fast Fail
Summary: This diff ports the Preemptive Fast Fail feature to OSS. In multi threaded clients, we use a feature developed on 0.89-fb branch called Preemptive Fast Fail. This allows the client threads which would potentially fail, fail fast. The idea behind this feature is that we allow, among the hundreds of client threads, one thread to try and establish connection with the regionserver and if that succeeds, we mark it as a live node again. Meanwhile, other threads which are trying to establish connection to the same server would ideally go into the timeouts which is effectively unfruitful. We can in those cases return appropriate exceptions to those clients instead of letting them retry.

Test Plan: Unit tests

Differential Revision: https://reviews.facebook.net/D24177

Signed-off-by: stack <stack@apache.org>
2014-10-28 22:47:50 -07:00
Andrew Purtell 70a312e53f HBASE-11912 Catch some bad practices at compile time with error-prone 2014-10-27 09:29:23 -07:00
anoopsjohn 34f9962618 HBASE-12202 Support DirectByteBuffer usage in HFileBlock - addendum 2014-10-26 08:07:53 +05:30
anoopsjohn 0fb4c4d5f0 HBASE-11870 Optimization : Avoid copy of key and value for tags addition in AC and VC. 2014-10-25 21:12:15 +05:30
Andrew Purtell ff5bc351b2 Revert "HBASE-11912 Catch some bad practices at compile time with error-prone"
This reverts commit 7ed0260eff.
2014-10-25 08:33:43 -07:00
Andrew Purtell 7ed0260eff HBASE-11912 Catch some bad practices at compile time with error-prone 2014-10-24 18:15:12 -07:00
Elliott Clark c623b04122 HBASE-12283 Clean up some checkstyle errors 2014-10-22 11:58:23 -07:00
anoopsjohn d70e2b1244 HBASE-12288 Support DirectByteBuffer usage in DataBlock Encoding area. 2014-10-22 22:33:11 +05:30
stack c450298c44 HBASE-12307 Remove unused Imports in hbase-client and hbase-common 2014-10-21 21:53:04 -07:00
Ramkrishna 31ccaa519b HBASE-12281 ClonedPrefixTreeCell should implement HeapSize (Ram) 2014-10-21 19:45:08 +05:30
anoopsjohn c01d9981d8 HBASE-12202 Support DirectByteBuffer usage in HFileBlock. 2014-10-21 17:57:55 +05:30
Ted Yu 7c87f9c6b5 HBASE-12241 The crash of regionServer when taking deadserver's replication queue breaks replication (Shaohui) 2014-10-16 21:38:18 +00:00
Rajeshbabu Chintaguntla 6dea02b260 HBASE-10200 Better error message when HttpServer fails to start due to java.net.BindException(Kiran Kumar M R) 2014-10-14 02:24:21 +00:00
Ramkrishna 3f2e599a99 HBASE-12210 Avoid KeyValue in Prefix Tree (Ram) 2014-10-10 22:45:26 +05:30
stack 06a8bb5bd1 HBASE-12189 Fix new issues found by coverity static analysis 2014-10-09 20:51:04 -07:00
Elliott Clark f75785af51 HBASE-12218 Make HBaseCommonTestingUtil#deleteDir try harder 2014-10-09 11:57:52 -07:00
Ted Yu a8be606145 HBASE-12016 Reduce number of versions in Meta table. Make it configurable (Andrey Stepachev) 2014-10-07 21:07:52 +00:00
Andrew Purtell 3557a32352 HBASE-12106 Move test annotations to test artifact (Enis Soztutar) 2014-10-06 23:16:22 -07:00
stack 2bc28ebb03 HBASE-12133 Add FastLongHistogram for metric computation; ADDENDUM TO FIX BROKE COMPILE 2014-10-02 11:53:53 -07:00
stack 0e1e64b821 HBASE-12133 Add FastLongHistogram for metric computation (Yi Deng) 2014-10-02 10:38:56 -07:00
stack ff847978ad HBASE-12156 TableName cache doesn't used for once of valueOf methods (Andrey Stepachev) 2014-10-02 09:45:57 -07:00
stack 43301167db HBASE-12145 Fix javadoc and findbugs so new folks aren't freaked when they see them
Fix javadoc warnings.

Fixup findbugs warnings mostly by adding annotations saying 'working as expected'.

In RpcRetryingCallerWithReadReplicas made following change which findbugs spotted:

-        if (completed == null) tasks.wait();
+        while (completed == null) tasks.wait();

In RecoverableZooKeeper, made all zk accesses synchronized -- we were doing it
half-ways previously.

In RatioBasedCompactionPolicy we were making an instance of Random on
each invocation of getNextMajorCompactionTime
2014-10-01 16:37:13 -07:00
anoopsjohn 4fac4c1ba6 HBASE-12112 Avoid KeyValueUtil#ensureKeyValue some more simple cases. 2014-10-01 14:05:57 +05:30
Jimmy Xiang 683f3b3d50 HBASE-12034 If I kill single RS in branch-1, all regions end up on Master! 2014-09-29 13:50:59 -07:00
anoopsjohn df2ce0c389 HBASE-12082 Find a way to set timestamp on Cells on the server. 2014-09-29 11:22:12 +05:30
anoopsjohn 8895ee694c HBASE-12079 Deprecate KeyValueUtil#ensureKeyValue(s). 2014-09-29 08:06:23 +05:30
Lars Hofhansl dc5295df8c HBASE-11957 addendum 2; fix TestAssignmentManager 2014-09-27 21:07:14 -07:00
Lars Hofhansl 5aeec324e7 HBASE-12090 Bytes: more Unsafe, more Faster. (Vladimir Rodionov) 2014-09-27 19:41:13 -07:00
stack 31ed817447 HBASE-12069 Finish making HFile.Writer Cell-centric; undo APIs that expect KV serializations 2014-09-25 10:49:09 -07:00
anoopsjohn a2e05b9f8f HBASE-12050 Avoid KeyValueUtil#ensureKeyValue from DefaultMemStore. 2014-09-25 17:41:19 +05:30
Matteo Bertozzi 9152d8677e HBASE-12054 bad state after NamespaceUpgrade with reserved table names 2014-09-24 19:39:52 +01:00
Elliott Clark 46eada6e02 HBASE-12076 Move InterfaceAudience imports to hbase-annotations 2014-09-24 04:10:19 -07:00
Elliott Clark 0a28af366b HBASE-12076 Move InterfaceAudience imports to hbase-annotations 2014-09-24 03:57:55 -07:00
Elliott Clark a5bd931682 HBASE-12059 Create hbase-annotations module 2014-09-23 16:44:14 -07:00
anoopsjohn a94f7b1400 HBASE-12024 Fix javadoc warning. 2014-09-23 22:50:55 +05:30
Elliott Clark 2635791027 HBASE-12062 Fix usage of Collections.toArray 2014-09-23 09:58:24 -07:00
anoopsjohn 791a03b40f HBASE-12047 Avoid usage of KeyValueUtil#ensureKeyValue in simple cases. 2014-09-23 16:42:01 +05:30
Matteo Bertozzi bd8df9ccd4 HBASE-11598 Add simple rpc throttling 2014-09-18 22:38:30 +01:00
anoopsjohn 6813167423 HBASE-11874 Support Cell to be passed to StoreFile.Writer rather than KeyValue. 2014-09-18 18:32:45 +05:30
stack cf3dab7ee7 HBASE-11984 TestClassFinder failing on occasion FIX ATTEMPT 2014-09-16 11:31:53 -07:00
stack cc6fe16e59 HBASE-11984 TestClassFinder failing on occasion -- Add DEBUGGING 2014-09-15 21:36:00 -07:00
stack 8a7326dd45 HBASE-11873 Hbase Version CLI enhancement (Ashish Singhi) 2014-09-15 21:07:56 -07:00
stack 5554692871 HBASE-11862 Get rid of Writables in HTableDescriptor, HColumnDescriptor (Andrey Stepachev) 2014-09-15 11:08:21 -07:00
Andrew Purtell 8c4baf6a8a HBASE-11972 The doAs user used in the update to hbase:acl table RPC is incorrect (Devaraj Das) 2014-09-14 20:29:24 -07:00
Misty Stanley-Jones 4018e85611 HBASE-11892 Clean up stale config entries in hbase-default.xml 2014-09-15 11:27:48 +10:00
stack 3c9bd7d296 HBASE-11911 Break up tests into more fine grained categories (Alex Newman) 2014-09-12 21:37:06 -07:00
Enis Soztutar d4850f1f17 HBASE-11934 Support KeyValueCodec to encode non KeyValue cells. (Anoop Sam John) 2014-09-10 22:18:51 -07:00
Nick Dimiduk eec15bd172 HBASE-11331 [blockcache] lazy block decompression
When hbase.block.data.cachecompressed=true, DATA (and ENCODED_DATA) blocks are
cached in the BlockCache in their on-disk format. This is different from the
default behavior, which decompresses and decrypts a block before caching.
2014-09-10 15:22:13 -07:00
Enis Soztutar f7bcf3df6b HBASE-11921 Minor fixups that come of testing branch-1 (Stack) 2014-09-09 12:05:43 -07:00
anoopsjohn 0a9bfcaf74 HBASE-11805 KeyValue to Cell Convert in WALEdit APIs. 2014-09-07 15:48:21 +05:30
Sean Busbey 39609a556a HBASE-11891 Introduce an HBaseInterfaceAudience level to denote class names that appear in configs.
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2014-09-05 14:33:39 -07:00
anoopsjohn 125f5619b9 HBASE-11777 Find a way to set sequenceId on Cells on the server. 2014-09-01 15:04:00 +05:30
stack 3bfbd06291 HBASE-11822 Convert EnvironmentEdge#getCurrentTimeMillis to getCurrentTime 2014-08-29 17:14:25 -07:00
Andrew Purtell cdfc96f294 HBASE-11857 Restore ReaderBase.initAfterCompression() and WALCellCodec.create(Configuration, CompressionContext) (Ted Yu) 2014-08-29 16:53:22 -07:00
stack 1abaacffb5 HBASE-11072 Abstract WAL splitting from ZK (Sergey Soldatov) 2014-08-29 16:46:32 -07:00
Andrew Purtell e5a5e968f1 HBASE-11810 Access SSL Passwords through Credential Provider API (Larry McCay) 2014-08-29 07:54:45 -07:00
Andrew Purtell 452b1b7299 HBASE-11856 hbase-common needs a log4j.properties resource for handling unit test logging output 2014-08-28 15:01:56 -07:00
Ramkrishna 4445b30464 HBASE-11440 Make KeyValueCodecWithTags as the default codec for
replication in trunk (Ram)
2014-08-27 10:03:55 +05:30
stack 03687b80bc HBASE-11813 CellScanner#advance may overflow stack 2014-08-25 14:52:36 -07:00
anoopsjohn 062f6a6aac HBASE-11553 Abstract visibility label related services into an interface. 2014-08-20 14:47:29 +05:30
Enis Soztutar e28ec72464 HBASE-11568 Async WAL replication for region replicas 2014-08-19 18:59:22 -07:00
stack 50f17935fd HBASE-11735 Document Configurable Bucket Sizes in bucketCache (Misty Stanley-Jones) 2014-08-19 14:47:50 -07:00
Jonathan M Hsieh 25a7b75560 HBASE-11734 Document changed behavior of hbase.hstore.time.to.purge.deletes (Misty Stanley-Jones) 2014-08-18 13:42:03 -07:00
Nick Dimiduk 9936b86f70 HBASE-11748 Cleanup and add pool usage tracing to Compression 2014-08-14 16:53:26 -07:00
Matteo Bertozzi e1e70a7e2f HBASE-11724 Add to RWQueueRpcExecutor the ability to split get and scan handlers 2014-08-14 20:52:11 +01:00
anoopsjohn cabcb6ca23 HBASE-11717 Remove unused config 'hbase.offheapcache.percentage' from hbase-default.xml and book. (Anoop) 2014-08-14 23:47:03 +05:30
anoopsjohn d7011a9dcc HBASE-11527 Cluster free memory limit check should consider L2 block cache size also when L2 cache is onheap. (Anoop) 2014-08-08 23:45:29 +05:30
stack 5e899c68e0 HBASE-11678 BucketCache ramCache fills heap after running a few hours 2014-08-07 14:23:22 -07:00
anoopsjohn 12d9697d93 HBASE-11527 Cluster free memory limit check should consider L2 block cache size also when L2 cache is onheap. (Anoop) 2014-08-07 17:16:16 +05:30