Pankaj
5457554826
HBASE-25374 Make REST Client connection and socket time out configurable ( #2752 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
Signed-off-by: stack <stack@apache.org>
2021-03-15 16:45:40 -07:00
Duo Zhang
876fec1648
HBASE-25657 Fix spotbugs warnings after upgrading spotbugs to 4.x ( #3041 )
...
Signed-off-by: meiyi <myimeiyi@gmail.com>
Signed-off-by: stack <stack@apache.org>
2021-03-12 14:34:10 +08:00
Duo Zhang
55a4eca9e6
HBASE-25452 Use MatcherAssert.assertThat instead of org.junit.Assert.assertThat ( #2826 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-12-30 09:47:56 +08:00
Toshihiro Suzuki
b142f5dcd2
HBASE-25242 Add Increment/Append support to RowMutations ( #2630 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2020-11-26 13:31:43 +09:00
Richard Antal
fc3313771d
HBASE-24268 REST and Thrift server do not handle the "doAs" parameter case insensitively
...
Closes #1843
Signed-off-by: Josh Elser <elserj@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
2020-11-24 12:25:19 -05:00
Mate Szalay-Beko
0611ca49ec
HBASE-25267 Add SSL keystore type and truststore related configs for HBase RESTServer ( #2642 )
...
HBASE-25267 Make SSL keystore type configurable in HBase RESTServer
In this patch I want to introduce the hbase.rest.ssl.keystore.type parameter,
enabling us to customize the keystore type for the REST server. If the
parameter is not provided, then we should fall-back to the current behaviour
(which assumes keystore type JKS).
This is similar to how we already configure the InfoServer objects with the
ssl.server.keystore.type parameter to set up HTTPS for the various admin UIs.
Signed-off-by: Wellington Chevreuil <wellington.chevreuil@gmail.com>
Signed-off-by: Balazs Meszaros <meszibalu@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
2020-11-12 12:37:43 +01:00
gvprathyusha6
5c7432f4a9
HBASE-24667 Rename configs that support atypical DNS set ups to put them in hbase.unsafe
...
Closes #2542
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-11-09 12:27:34 +05:30
lujiefsi
773185670b
HBASE-24976 REST Server failes to start without any error message
...
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-09-21 08:28:03 +08:00
Guanghao Zhang
8c11007b7c
Revert "HBASE-24976 Printing the swallowed exception"
...
This reverts commit 8efd2509e9
.
2020-09-21 08:27:38 +08:00
lujiefsi
8efd2509e9
HBASE-24976 Printing the swallowed exception
...
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-09-21 08:25:58 +08:00
KevinSmile
4c9a92de28
HBASE-24481 REST - Fix incorrect response code of get-regions in rest api
...
Closes #2425
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-09-19 19:49:02 +05:30
Duo Zhang
6b0707f541
HBASE-24944 Remove MetaTableAccessor.getTableRegionsAndLocations in hbase-rest module ( #2302 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-08-25 16:18:42 +08:00
Duo Zhang
57e49b3959
HBASE-23834 HBase fails to run on Hadoop 3.3.0/3.2.2/3.1.4 due to jetty version mismatch ( #2222 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2020-08-25 12:05:52 +08:00
Guanghao Zhang
54fe81eb56
HBASE-24912 Enlarge MemstoreFlusherChore/CompactionChecker period for unit test ( #2285 )
...
Signed-off-by: stack <stack@apache.org>
2020-08-21 12:41:20 +08:00
Duo Zhang
d2f5a5f27b
HBAE-24507 Remove HTableDescriptor and HColumnDescriptor ( #2186 )
...
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: tedyu <yuzhihong@gmail.com>
2020-08-04 10:31:42 +08:00
Mingliang Liu
3d270ba6f9
HBASE-24696 Include JVM information on Web UI under "Software Attributes"
...
Closes #2087
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
2020-07-21 16:53:58 +05:30
Toshihiro Suzuki
34e807a8b5
HBASE-24650 Change the return types of the new CheckAndMutate methods introduced in HBASE-8458 ( #1991 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-07-07 12:49:20 +09:00
Toshihiro Suzuki
efd5a962e5
HBASE-8458 Support for batch version of checkAndMutate()
...
Closes #1648
Signed-off-by: Josh Elser <elserj@apache.org>
2020-06-10 22:34:36 -04:00
Duo Zhang
c91829bb41
HBASE-24491 Remove HRegionInfo ( #1830 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2020-06-05 22:19:01 +08:00
Duo Zhang
8601416ee8
HBASE-24309 Avoid introducing log4j and slf4j-log4j dependencies for modules other than hbase-assembly ( #1640 )
...
Signed-off-by: stack <stack@apache.org>
2020-05-12 12:03:30 +08:00
Jan Hentschel
03e5a1402d
HBASE-24305 Removed deprecations in ServerName ( #1666 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: stack <stack@apache.org>
2020-05-08 09:41:55 +02:00
Duo Zhang
a9a1b9524d
HBASE-24304 Separate a hbase-asyncfs module ( #1628 )
...
Signed-off-by: stack <stack@apache.org>
2020-05-06 14:40:21 +08:00
Michael Stack
5488124be0
HBASE-24284 [h3/jdk11] REST server won't start Exclude transitive includes of jax-rs 1.x and then explicitly include jax-rs 2.x glassfish impl for REST context when hadoop3. ( #1625 )
2020-05-05 15:36:01 -07:00
Michael Stack
6613517933
HBASE-24303 Undo core of parent TestSecureRESTServer change; use fix over in HBASE-24280 instead ( #1630 )
2020-05-05 15:31:28 -07:00
stack
9cff7a4ff4
HBASE-24215 [Flakey Tests] [ERROR] TestSecureRESTServer java.lang.NoClassDefFoundError: com/sun/jersey/core/spi/factory/AbstractRuntimeDelegate
...
Addendum: Add jersey-servlet to hadoop3 profile.
Made the hadoop3 profile in top-level pom same as it is for hadoop2
when it comes to exclusions. Then backed out previous attempt mostly.
Made the failing test medium-sized so it ran in its own jvm.
2020-04-29 07:39:59 -07:00
Duo Zhang
6928674eb8
HBASE-24228 Merge the code in hbase-hadoop2-compat module to hbase-hadoop-compat ( #1563 )
...
Signed-off-by: stack <stack@apache.org>
2020-04-29 10:34:53 +08:00
zhu qi
7e9bd3606f
HBASE-24267 add limit support for scan in rest api ( #1591 )
...
Co-authored-by: zhuqi <zhuqi1@xiaomi.com>
Signed-off-by: Michael Stack <stack@apache.org>
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2020-04-28 10:06:28 +01:00
Jan Hentschel
75c717d4c2
HBASE-23848 Removed deprecated setStopRow from Scan ( #1184 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-04-22 15:15:17 +08:00
Michael Stack
63064bfa7e
HBASE-24215 [Flakey Tests] [ERROR] TestSecureRESTServer java.lang.NoClassDefFoundError: com/sun/jersey/core/spi/factory/AbstractRuntimeDelegate ( #1553 )
2020-04-20 21:55:01 -07:00
Duo Zhang
1f66806c96
HBASE-24170 Remove hadoop-2.0 profile ( #1495 )
...
Signed-off-by: stack <stack@apache.org>
2020-04-16 18:57:40 +08:00
Andrew Purtell
43d7c2cda6
HBASE-24115 Relocate test-only REST "client" from src/ to test/ and mark Private ( #1434 )
...
Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Zach York <zyork@apache.org>
Signed-off-by: Reid Chan <reidchan@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
2020-04-06 16:18:40 -07:00
Jan Hentschel
4ddf55d20a
HBASE-23843 Removed deprecated Scan(byte[]) from Scan
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-04-02 11:44:34 +02:00
Jan Hentschel
fb17ecdd07
HBASE-23842 Removed deprecated Scan(byte[], byte[]) from Scan
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-04-01 13:11:21 +02:00
Jan Hentschel
fded2b9ddc
HBASE-23846 Removed deprecated setMaxVersions(int) from Scan
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-03-31 10:18:27 +02:00
Duo Zhang
5d4e020c3d
HBASE-23798 Remove hbase-prototcol module ( #1360 )
...
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
Signed-off-by: stack <stack@apache.org>
2020-03-30 09:54:59 +08:00
Semen Komissarov
d7ff742ce8
HBASE-23975 make hbase-rest use shaded protobuf ( #1325 )
...
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-03-26 21:35:36 +08:00
Esteban Gutierrez
9a212ee487
HBASE-24041 [regression] Increase RESTServer buffer size back to 64k ( #1339 )
...
* HBASE-24041 [regression] Increase RESTServer buffer size back to 64k
* HBASE-24041 [regression] Increase RESTServer buffer size back to 64k
2020-03-24 15:12:02 -05:00
Duo Zhang
eface74407
HBASE-23799 Make our core coprocessors use shaded protobuf ( #1280 )
...
Signed-off-by: stack <stack@apache.org>
2020-03-23 08:47:02 +08:00
Jan Hentschel
1b163d98b9
HBASE-23847 Removed deprecated setStartRow from Scan ( #1220 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-03-13 08:43:17 +08:00
WenFeiYi
abf0a22259
HBASE-23971 protoc warns: "no protobuf syntax specified" ( #1278 )
...
Signed-off-by: stack <stack@apache.org>
2020-03-12 08:32:22 -07:00
Duo Zhang
c5aa2bc121
HBASE-23077 move entirely to spotbugs ( #1265 )
...
Signed-off-by: Sean Busbey <busbey@apache.org>
2020-03-12 10:18:09 +08:00
Michael Stack
aaf9a148a0
HBASE-23956 Use less resources running tests ( #1266 )
...
Add being able to configure netty thread counts. Enable socket reuse
(should not have any impact).
hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/BlockingRpcConnection.java
Rename the threads we create in here so they are NOT named same was
threads created by Hadoop RPC.
hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/DefaultNettyEventLoopConfig.java
hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/NettyRpcClient.java
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AsyncFSWAL.java
Allow configuring eventloopgroup thread count (so can override for
tests)
hbase-examples/src/main/java/org/apache/hadoop/hbase/client/example/HttpProxyExample.java
Enable socket resuse.
hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/NettyRpcServer.java
Enable socket resuse and config for how many threads to use.
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
hbase-server/src/main/java/org/apache/hadoop/hbase/util/ModifyRegionUtils.java
Thread name edit; drop the redundant 'Thread' suffix.
hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/HFileReplicator.java
Make closeable and shutdown executor when called.
hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSink.java
Call close on HFileReplicator
hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationBase.java
HDFS creates lots of threads. Use less of it so less threads overall.
hbase-server/src/test/resources/hbase-site.xml
hbase-server/src/test/resources/hdfs-site.xml
Constrain resources when running in test context.
hbase-server/src/test/resources/log4j.properties
Enable debug on netty to see netty configs in our log
pom.xml
Add system properties when we launch JVMs to constrain thread counts in
tests
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-03-11 10:37:50 -07:00
Viraj Jasani
c0301e3fdf
HBASE-23868 : Replace usages of HColumnDescriptor(byte [] familyName)… ( #1222 )
...
Signed-off-by: Jan Hentschel <janh@apache.org>
2020-03-02 17:20:03 +05:30
Toshihiro Suzuki
ecbed33092
HBASE-23146 Support CheckAndMutate with multiple conditions ( #1114 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-02-26 08:09:04 +09:00
Jan Hentschel
75b85016eb
HBASE-23661 Reduced number of Checkstyle violations in hbase-rest
...
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
2020-01-18 20:50:29 +01:00
Jan Hentschel
0a9e1f807d
HBASE-23646 Resolved remaining Checkstyle violations in tests of hbase-rest
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-01-11 21:09:14 +01:00
Viraj Jasani
2e0edacf72
HBASE-23662 : Replace HColumnDescriptor(String cf) with ColumnFamilyDescriptor
...
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
Signed-off-by: Jan Hentschel <janh@apache.org>
2020-01-10 20:42:21 -08:00
Jan Hentschel
e8d2931bc1
HBASE-23623 Reduced the number of Checkstyle violations in hbase-rest
...
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-01-02 00:39:54 +01:00
Andor Molnár
978546b2f2
HBASE-23303 Add security headers to REST server/info page ( #843 )
...
Signed-off-by: Toshihiro Suzuki <brfrn169@gmail.com>
Signed-off-by: Sean Busbey <busbey@apache.org>
2019-12-08 22:06:40 +09:00
Wellington Ramos Chevreuil
9198525501
HBASE-22846 Internal Error 500 when Using HBASE REST API to Create Na… ( #524 )
...
Signed-off-by: stack <stack@apache.org>
(cherry picked from commit f6ff970f39
)
2019-09-17 10:50:46 +01:00