Commit Graph

492 Commits

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