Commit Graph

544 Commits

Author SHA1 Message Date
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
Andrew Purtell 757b13dea4 HBASE-11318 Classes in security subpackages missing @InterfaceAudience annotations (Jonathan Hsieh and Andrew Purtell) 2014-08-04 11:13:58 -07:00
Ramkrishna 4fd3b110f3 HBASE-11384 - [Visibility Controller]Check for users covering
authorizations for every mutation (Ram)
2014-08-01 13:18:09 -07:00
stack 8ec64ec0df HBASE-11648 Typo of config: hbase.hstore.compaction.ratio in book.xml (Liu Shaohui) 2014-08-01 09:55:30 -07:00
Jean-Daniel Cryans afae1e2583 HBASE-11316 Expand info about compactions beyond HBASE-11120 (Misty Stanley-Jones) 2014-07-28 18:06:48 -07:00
stack 6a14cf3585 HBASE-11560 hbase.regionserver.global.memstore.size is documented twice (Misty Stanley-Jones) 2014-07-28 12:43:00 -07:00
Nicolas Liochon d8401c8e44 HBASE-11564 Improve cancellation management in the rpc layer 2014-07-24 15:53:32 +02:00
Enis Soztutar 214694467f HBASE-11064 Odd behaviors of TableName for empty namespace (Rekha Joshi) 2014-07-22 14:19:51 -07:00
Jonathan M Hsieh 226672c55f HBASE-11561 deprecate ImmutableBytesWritable.getSize and replace with getLength 2014-07-22 11:41:43 -07:00
Nicolas Liochon d8faab2fff HBASE-11492 Hadoop configuration overrides some ipc parameters including tcpNoDelay 2014-07-22 14:54:52 +02:00
stack 3e82a84ca8 HBASE-11541 Wrong result when scaning meta with startRow (Liu Shaoqui) 2014-07-21 14:19:42 -07:00
Andrew Purtell 33f210fc8c HBASE-7910 Dont use reflection for security (Mike Drob) 2014-07-21 10:04:57 -07:00
Ramkrishna 995a5a6c68 HBASE-10930 Change Filters and GetClosestRowBeforeTracker to work with
Cells (Ram)
2014-07-15 22:07:00 +05:30
Enis Soztutar 463d52d8cf HBASE-11367 Pluggable replication endpoint 2014-07-14 16:22:26 -07:00
Andrew Purtell 01a7dda255 HBASE-11497 Expose RpcScheduling implementations as LimitedPrivate interfaces (Jesse Yates) 2014-07-13 22:42:29 -07:00
anoopsjohn 213e565bce HBASE-11437 Modify cell tag handling code to treat the length as unsigned. (Anoop) 2014-07-13 12:10:21 +05:30
Andrew Purtell cec30fd8a4 HBASE-11444 Remove use of reflection for User#getShortName 2014-07-08 15:13:52 -07:00
Jeffrey Zhong d07bc87cd6 HBase-11315: Keeping MVCC for configurable longer time 2014-07-06 18:25:18 -07:00
Ramkrishna 62c048660b HBASE-10885 Support visibility expressions on Deletes (Ram) 2014-07-04 23:55:05 +05:30
Andrew Purtell 94d3dbea86 HBASE-11457 Increment HFile block encoding IVs accounting for cipher's internal use 2014-07-04 10:45:32 -07:00
Andrew Purtell 2416d798fa HBASE-11446 Reduce the frequency of RNG calls in SecureWALCellCodec#EncryptedKvEncoder 2014-07-04 10:45:19 -07:00
Devaraj Das 9f8d1876a0 HBASE-11344 Hide row keys and such from the web UIs 2014-07-02 13:07:11 -07:00
Andrew Purtell 7a2527da4b Revert "HBASE-11440 Make KeyValueCodecWithTags as the default codec for replication in trunk"
This reverts commit 1d65d5dfa6.
2014-07-01 17:52:11 -07:00
Ramkrishna 1d65d5dfa6 HBASE-11440 Make KeyValueCodecWithTags as the default codec for
replication in trunk (Ram)
2014-07-01 22:55:39 +05:30
Matteo Bertozzi 0e8e41d0ef HBASE-11355 a couple of callQueue related improvements 2014-07-01 10:31:44 +02:00
Enis Soztutar 92c52a727a Updated version in master to 2.0.0-SNAPSHOT after 'branch-1' is created for 1.x line of releases 2014-06-30 20:26:47 -07:00
Enis Soztutar ad05de172f HBASE-10701 Cache invalidation improvements from client side
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-10070@1585766 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 16:39:39 -07:00
nkeywal c2f6f479ad HBASE-10355 Failover RPC's from client using region replicas
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-10070@1575261 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 16:39:38 -07:00