Commit Graph

660 Commits

Author SHA1 Message Date
stack 9f4b6ac06c HBASE-11835 Wrong managenement of non expected calls in the client (Nicolas Liochon) 2014-10-30 12:41:54 -07:00
stack 5062edebcf HBASE-12238 A few ugly exceptions on startup 2014-10-29 21:42:29 -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
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
Nick Dimiduk bb81b9fde5 HBASE-12356 Rpc with region replica does not propagate tracing spans 2014-10-28 10:27:59 -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
stack 1d6c4678bb HBASE-2609 Harmonize the Get and Delete operations 2014-10-25 20:58:24 -07:00
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
Lars Hofhansl 6c7543c9c7 HBASE-12334 Handling of DeserializationException causes needless retry on failure. 2014-10-24 16:21:33 -07:00
Elliott Clark c623b04122 HBASE-12283 Clean up some checkstyle errors 2014-10-22 11:58:23 -07:00
Matteo Bertozzi 2908c11371 HBASE-12301 user_permission command does not show global permissions 2014-10-22 10:08:31 +01:00
stack c450298c44 HBASE-12307 Remove unused Imports in hbase-client and hbase-common 2014-10-21 21:53:04 -07:00
Ted Yu 6c70f4f7f7 HBASE-12302 VisibilityClient getAuths does not propagate remote service exception correctly (Jerry He) 2014-10-21 20:09:46 +00:00
Matteo Bertozzi 49056295ef HBASE-12161 Add support for grant/revoke on namespaces in AccessControlClient (Srikanth Srungarapu) 2014-10-18 21:18:42 +01:00
manukranthk 5c92bded9d Add admin endpoint for updating the configuration on the regionserver
Summary: This is a follow up diff for the jira to add the functionality to update configs in an online fashion.

Test Plan: Unit test. This adds an end point on the regionserver. It just tries to call the end point and make sure the call succeeds.

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

Signed-off-by: stack <stack@apache.org>
2014-10-18 16:16:21 -04:00
stack 904654aa87 HBASE-12147 Porting Online Config Change from 89-fb -- JAVADOC FIX ADDENDUM 2014-10-13 21:25:51 -07:00
Enis Soztutar 6abb883865 HBASE-12083 Deprecate new HBaseAdmin() in favor of Connection.getAdmin() 2014-10-13 13:20:16 -07:00
stack 9a893a9c6a HBASE-12029 Use Table and RegionLocator in HTable.getRegionLocations() (Solomon Duskis) 2014-10-13 12:24:27 -07:00
stack b30d2f315d HBASE-12242 Fix new javadoc warnings in Admin, etc. 2014-10-13 12:07:50 -07:00
Ted Yu 3851d05a80 HBASE-12237 HBaseZeroCopyByteString#wrap() should not be called in hbase-client code 2014-10-13 17:29:09 +00:00
Andrew Purtell 8ee55fb339 HBASE-12126 Region server coprocessor endpoint (Virag Kothari) 2014-10-10 12:00:51 -07:00
stack 65ae2e5126 HBASE-11394 Replication can have data loss if peer id contains hyphen "-" 2014-10-10 10:28:16 -07:00
stack 06a8bb5bd1 HBASE-12189 Fix new issues found by coverity static analysis 2014-10-09 20:51:04 -07:00
Nick Dimiduk 712dad814c HBASE-12183 FuzzyRowFilter doesn't support reverse scans 2014-10-09 18:27:22 -07:00
Jimmy Xiang 72c8c62aa1 HBASE-12216 Lower closed region logging level 2014-10-09 14:00:24 -07:00
stack 0eb0721fef HBASE-11990 Make setting the start and stop row for a specific prefix easier (Niels Basjes) 2014-10-09 11:13:52 -07:00
Ted Yu 3d84ccbf9c HBASE-12109 user_permission command for namespace does not return correct result (Vandana Ayyalasomayajula) 2014-10-09 17:45:02 +00:00
Yi Deng 3c1fbd2ddf HBASE-12198 Fix the bug of not updating location cache
Summary:  # Clear the cache of the server when failed

Test Plan: Add testcase `TestHTableMultiplexerFlushCache` to reproduce the bug.

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

Signed-off-by: Elliott Clark <elliott@fb.com>
Signed-off-by: Elliott Clark <eclark@apache.org>
2014-10-09 10:09:03 -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 bc4f25ff45 HBASE-12104 Some optimization and bugfix for HTableMultiplexer (Yi Deng) 2014-10-03 17:17:09 -07:00
Ted Yu efe0787c87 HBASE-12136 Race condition between client adding tableCF replication znode and server triggering TableCFsTracker (Virag Kothari) 2014-10-03 21:34:45 +00:00
Andrew Purtell d8a7b67d79 HBASE-11907 Use the joni byte[] regex engine in place of j.u.regex 2014-10-02 23:06:32 -07:00
Jimmy Xiang a463aef8bc HBASE-12122 Try not to assign user regions to master all the time 2014-10-02 13:30:55 -07:00
Enis Soztutar 11e28eb76b HBASE-12140 Add ConnectionFactory.createConnection() to create using default HBaseConfiguration. (Jean-Marc Spaggiari)) 2014-10-01 19:26:39 -07:00
Enis Soztutar 387f90e394 HBASE-12127 Move the core Connection creation functionality into ConnectionFactory (Solomon Duskis) 2014-10-01 19:00:59 -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
Ted Yu ed441ad814 HBASE-12143 Minor fix for Table code (Solomon Duskis) 2014-10-01 20:31:31 +00:00
anoopsjohn 4fac4c1ba6 HBASE-12112 Avoid KeyValueUtil#ensureKeyValue some more simple cases. 2014-10-01 14:05:57 +05:30
stack ff31691c84 HBASE-11879 Change TableInputFormatBase to take interface arguments (Solomon Duskis) 2014-09-30 21:25:04 -07:00
stack b5783795cd HBASE-12038 Replace internal uses of signatures with byte[] and String tableNames to use the TableName equivalents (Solomon Duskis) 2014-09-30 16:35:55 -07:00
Enis Soztutar 6189b52fb0 HBASE-12042 Replace internal uses of HTable(Configuration, String) with HTable(Configuration, TableName) (Solomon Duskis) 2014-09-29 18:39:44 -07:00
anoopsjohn b48a474988 HBASE-12111 Remove deprecated APIs from Mutation(s). 2014-09-29 08:03:00 +05:30
Enis Soztutar 3beb168b4f HBASE-11995 Use Connection and ConnectionFactory where possible (Solomon Duskis) 2014-09-26 11:49:37 -07:00
David Deng 78d532e5f3 HBASE-12086 Fix bug of HTableMultipliexer
Signed-off-by: Elliott Clark <eclark@apache.org>
2014-09-25 11:30:29 -07:00
anoopsjohn 1b5e6daef2 HBASE-12084 Remove deprecated APIs from Result. 2014-09-25 07:36:15 +05:30
Andrew Purtell 011bc04416 HBASE-11796 Add client support for atomic checkAndMutate (Srikanth Srungarapu) 2014-09-24 15:07:38 -07:00
Andrew Purtell bcee3609dd HBASE-12077 FilterLists create many ArrayList objects per row (Lars Hofhansl) 2014-09-24 11:12:21 -07:00
Elliott Clark 0a28af366b HBASE-12076 Move InterfaceAudience imports to hbase-annotations 2014-09-24 03:57:55 -07:00