subrat.mishra
49ae8549cf
HBASE-21040 Replace call to printStackTrace() with proper logger call
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2018-08-15 08:29:54 -07:00
Guangxu Cheng
b9413839ab
HBASE-20845 Support set the consistency for Gets and Scans in thrift2
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2018-08-07 13:34:17 -07:00
Mike Drob
dbcc80c9e7
HBASE-20884 Replace Base64 with j.u.Base64
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: tedyu <yuzhihong@gmail.com>
2018-07-13 12:59:36 -05:00
Kevin Risden
b25c782f0d
HBASE-19852 HBase Thrift should use a SPNEGO HTTP/hostname principal for checking HTTP Kerberos authentication
...
Return 401 sooner when AUTHORIZATION header is missing
HBase Thrift server was checking for the AUTHORIZATION header and assuming it was always present
even when it was the first request. Many clients will not send the AUTHORIZATION header until
a 401 is received. HBase Thrift in the case of no header was throwing multiple exceptions and
filling the logs with exceptions. This was fixed by checking that if the AUTHORIZATION header is
empty then return a 401 immediately if security is enabled.
Signed-off-by: Josh Elser <elserj@apache.org>
2018-06-11 12:52:19 -04:00
Josh Elser
0c42acbdf8
HBASE-20664 Reduce the broad scope of outToken in ThriftHttpServlet
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2018-05-31 20:02:25 -04:00
Ashish Singhi
c60578d982
HBASE-20004 Client is not able to execute REST queries in a secure cluster
...
Signed-off-by: Ashish Singhi <ashishsinghi@apache.org>
2018-05-10 22:39:43 +05:30
Balazs Meszaros
e73ba582f2
HBASE-20427 thrift.jsp displays "Framed transport" incorrectly
...
Signed-off-by: Sean Busbey <busbey@apache.org>
2018-04-23 11:05:53 +02:00
Kevin Risden
46cb5dfa22
HBASE-20406 HBase Thrift HTTP - Shouldn't handle TRACE/OPTIONS methods
...
Signed-off-by: Josh Elser <elserj@apache.org>
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
Signed-off-by: Sean Busbey <busbey@apache.org>
2018-04-20 22:42:03 -05:00
Sean Busbey
eb3f5b2812
Revert "HBase Thrift HTTP - Shouldn't handle TRACE/OPTIONS methods"
...
This reverts commit 273d252838
.
missing jira id
2018-04-20 22:41:50 -05:00
Kevin Risden
273d252838
HBase Thrift HTTP - Shouldn't handle TRACE/OPTIONS methods
...
Signed-off-by: Josh Elser <elserj@apache.org>
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
Signed-off-by: Sean Busbey <busbey@apache.org>
2018-04-20 14:38:59 -05:00
Balazs Meszaros
1ad09d2f66
HBASE-20358 Fix bin/hbase thrift usage text
2018-04-11 11:47:04 -07:00
Josh Elser
15c398f7d2
HBASE-20223 Update to hbase-thirdparty 2.1.0
...
Remove commons-cli and commons-collections4 use. Account
for the newer internal protobuf version of 3.5.1.
Signed-off-by: Michael Stack <stack@apache.org>
Signed-off-by: Mike Drob <mdrob@apache.org>
2018-03-26 22:05:19 -04:00
Jan Hentschel
64ccd2b295
HBASE-13300 Fixed casing in set/getTimeStamp for Mutations
2018-03-23 17:23:22 -07:00
Chia-Ping Tsai
a6eeb26cc0
HBASE-20212 Make all Public classes have InterfaceAudience category
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
Signed-off-by: Michael Stack <stack@apache.org>
2018-03-22 18:10:23 +08:00
Peter Somogyi
d589b72382
HBASE-19847 Fix findbugs and error-prone warnings in hbase-thrift (branch-2)
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2018-01-23 08:08:34 -08:00
Reid Chan
9a45e0a9de
HBASE-17513 Thrift Server 1 uses different QOP settings than RPC and Thrift Server 2 and can easily be misconfigured so there is no encryption when the operator expects it
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
Signed-off-by: Josh Elser <elserj@apache.org>
2018-01-22 11:28:00 -05:00
Jan Hentschel
830179600d
HBASE-19471 Fixed remaining Checkstyle errors in hbase-thrift
2018-01-07 13:14:00 +01:00
Mike Drob
c3b4f788b1
HBASE-19552 find-and-replace thirdparty offset
2017-12-28 11:52:32 -06:00
Chia-Ping Tsai
53233be5a9
HBASE-19626 Rename Cell.DataType to Cell.Type
2017-12-28 13:04:29 +08:00
Balazs Meszaros
f572c4b80e
HBASE-10092 Move up on to log4j2
...
Changes:
- replaced commons-logging to slf4j everywhere
- log.XXX(Throwable) calls were replaced with log.XXX(t.toString(), t)
- log.XXX(Object) calls were replaced with log.XXX(Objects.toString(obj))
- log.fatal() calls were replaced with log.error(HBaseMarkers.FATAL, ...)
- programmatic log4j configuration was removed from the unit test
This commit does not affect the current logging configurations, because log4j
is still on the classpath. slf4j-log4j12 binds log4j to slf4j.
Signed-off-by: Michael Stack <stack@apache.org>
2017-12-20 22:21:33 -08:00
Michael Stack
b4056d267a
HBASE-19122 Suspect methods on Cell to be deprecated
2017-12-18 15:20:44 -08:00
Chia-Ping Tsai
70f02dbc7c
HBASE-19462 Deprecate all addImmutable methods in Put
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-12-14 14:15:54 -08:00
Peter Somogyi
7e5f3a516c
HBASE-19213 Align check and mutate operations in Table and AsyncTable
...
- Deprecates old checkAnd*() operations in Table
- Adds Table#CheckAndMutateBuilder and implements it in HTable
Commiter note: When committing the patch, noticed redundant {@inheritDoc} being added in HTable.
Removed new and olds ones.
2017-12-12 20:37:24 -08:00
Jan Hentschel
3eb87802c8
HBASE-19375 Fixed Checkstyle import order errors in hbase-thrift
2017-12-09 20:18:30 +01:00
Guangxu Cheng
b4a4be65ea
HBASE-19362 Remove unused imports from hbase-thrift module
...
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2017-11-29 11:00:59 +01:00
Vasudevan
73e3af00e9
HBASE-19092 Make Tag IA.LimitedPrivate and expose for CPs (Ram)
2017-11-24 12:21:38 +05:30
Reid Chan
49abc2e1c2
HBASE-19118 Use SaslUtil to set Sasl.QOP in 'Thrift'
...
Signed-off-by: Josh Elser <elserj@apache.org>
2017-11-01 23:43:17 -04:00
Michael Stack
f6c2490b82
HBASE-18995 Move methods that are for internal usage from CellUtil to Private util class (Ramkrishna Vasudevan)
2017-10-27 17:48:55 -07:00
Andy Yang
afce850cfd
HBASE-13844 Move static helper methods from KeyValue into CellUtils
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-09-29 11:50:23 +08:00
Chia-Ping Tsai
a11a35a113
HBASE-18839 Apply RegionInfo to code base
2017-09-28 20:19:29 +08:00
Guangxu Cheng
cfb6a54f69
HBASE-18875 Thrift server supports read-only mode
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-09-25 15:11:03 -07:00
Sean Busbey
4b124913f0
HBASE-17823 Migrate to Apache Yetus Audience Annotations
...
Signed-off-by: Michael Stack <stack@apache.org>
Signed-off-by: Misty Stanley-Jones <misty@apache.org>
2017-09-12 20:53:30 -05:00
Yechao Chen
eb5e43673c
HBASE-18772 [JDK8] Replace AtomicLong with LongAdder
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-09-13 06:09:51 +08:00
Michael Stack
b8e0a8396f
HBASE-18769 Make CompareFilter use generic CompareOperator instead of
...
internal enum
2017-09-08 10:06:56 -07:00
Peter Somogyi
137b105c67
HBASE-18704 Upgrade hbase to commons-collections 4
...
Upgrade commons-collections:3.2.2 to commons-collections4:4.1
Add missing dependency for hbase-procedure, hbase-thrift
Replace CircularFifoBuffer with CircularFifoQueue in WALProcedureStore and TaskMonitor
Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-09-07 10:30:01 -05:00
Umesh Agashe
5d60123f3e
HBASE-18674 upgrading to commons-lang3
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-09-05 09:46:10 -07:00
Michael Stack
47a5614edd
Revert "HBASE-18674 upgrading to commons-lang3"
...
Premature push
This reverts commit 5dacc85122
.
2017-08-28 16:41:34 -07:00
Umesh Agashe
5dacc85122
HBASE-18674 upgrading to commons-lang3
2017-08-28 15:57:12 -07:00
huzheng
82591b56fd
HBASE-18402 Thrift2 should support DeleteFamilyVersion type
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-07-25 17:39:16 -07:00
tedyu
b737412869
HBASE-18402 Thrift2 should support DeleteFamilyVersion - revert due to missing JIRA number
2017-07-25 17:38:54 -07:00
huzheng
c891642a5f
Thrift2 should support DeleteFamilyVersion type
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-07-25 03:09:29 -07:00
Michael Stack
890d92a90c
HBASE-17908 Upgrade guava
...
Pull in guava 22.0 by using the shaded version up in new hbase-thirdparty project.
In poms, exclude guava everywhere except on hadoop-common. Do this so
we minimize transitive includes. hadoop-common is needed because hadoop
Configuration uses guava doing preconditions.
Everywhere we used guava, instead use shaded so fix a load of imports.
Stopwatch API changed as did hashing and toStringHelper which is now
in MoreObjects class. Otherwise, minimal changes to come up on 22.0
2017-07-21 15:28:08 +01:00
Peter Somogyi
f10f8198af
HBASE-16312 update jquery version
...
Upgrade jquery from 1.8.3 to 3.2.1 in hbase-server and hbase-thrift modules
Change-Id: I92d479e9802d954f607ba409077bc98581e9e5ca
Signed-off-by: Michael Stack <stack@apache.org>
2017-07-19 11:44:31 +01:00
Jan Hentschel
c0725ddff1
HBASE-18344 Introduce Append.addColumn as a replacement for Append.add
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-07-13 20:04:57 +08:00
lv zehui
9a1aff447e
HBASE-17514 emit a warning if thrift1 proxy user is configured but hbase.regionserver.thrift.http is not
...
Signed-off-by: Sean Busbey <busbey@apache.org>
2017-04-24 11:33:27 -05:00
Michael Stack
0cd4cec5d2
Revert "HBASE-17906 When a huge amount of data writing to hbase through thrift2, there will be a deadlock error. (Albert Lee)"
...
Mistaken commit.
This reverts commit 9dd5cda017
.
2017-04-14 12:07:40 -07:00
Michael Stack
9dd5cda017
HBASE-17906 When a huge amount of data writing to hbase through thrift2, there will be a deadlock error. (Albert Lee)
2017-04-13 21:59:11 -07:00
tedyu
85fda44179
HBASE-17831 Support small scan in thrift2 (Guangxu Cheng)
2017-03-27 10:19:46 -07:00
chenyechao
e239e8d2d3
HBASE-17737 Thrift2 proxy should support scan timeRange per column family
...
--
.../hadoop/hbase/thrift2/ThriftUtilities.java | 11 +
.../hadoop/hbase/thrift2/generated/TScan.java | 234 ++++++++++++++++++---
.../org/apache/hadoop/hbase/thrift2/hbase.thrift | 3 +-
.../thrift2/TestThriftHBaseServiceHandler.java | 63 ++++++
4 files changed, 279 insertions(+), 32 deletions(-)
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-03-08 07:05:44 -08:00
Jan Hentschel
b53f354763
HBASE-17532 Replaced explicit type with diamond operator
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-03-07 11:22:51 -08:00