xincunSong
d59af05b0f
HBASE-24282 'scanDetail' log message is missing when responseTooSlow happens on the first scan rpc call ( #1604 )
...
Signed-off-by: Guangxu Cheng <gxcheng@apache.org>
Signed-off-by: stack <stack@apache.org>
2020-04-29 16:04:40 -07:00
Peter Somogyi
04c5ea13da
HBASE-24285 Move to hbase-thirdparty-3.3.0
2020-04-29 15:53:16 -07:00
stack
93f0d4ce06
HBASE-24247 Failed multi-merge because two regions not adjacent (legitimately).
...
Addendum: Restore old semantic where merge of non-adjacent required
'force'
2020-04-29 14:34:37 -07:00
Nick Dimiduk
fdf2bd7312
HBASE-24274 `RESTApiClusterManager` attempts to deserialize response using serialization API
...
Use the correct GSON API for deserializing service responses. Add
simple unit test covering a very limited selection of the overall API
surface area, just enough to ensure deserialization works.
Signed-off-by: stack <stack@apache.org>
2020-04-29 13:13:14 -07:00
Duo Zhang
1f556b3ad9
HBASE-24281 Remove some stale hadoop.version properties in the pom for sub modules ( #1602 )
...
Signed-off-by: Lijin Bin <binlijin@apache.org>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2020-04-29 18:25:41 +08:00
Duo Zhang
379b48bb5d
Revert "HBASE-24181 Remove some stale hadoop.version properties in the pom for sub modules ( #1602 )"
...
This reverts commit dc9608ec0b
.
2020-04-29 18:25:23 +08:00
Duo Zhang
dc9608ec0b
HBASE-24181 Remove some stale hadoop.version properties in the pom for sub modules ( #1602 )
...
Signed-off-by: Lijin Bin <binlijin@apache.org>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2020-04-29 18:08:33 +08:00
Duo Zhang
922921ee5f
HBASE-24249 Move code in FSHDFSUtils to FSUtils and mark related clas… ( #1586 )
...
Signed-off-by: stack <stack@apache.org>
2020-04-29 11:31:32 +08:00
stack
3b0812d3e1
HBASE-24215 [Flakey Tests] [ERROR] TestSecureRESTServer java.lang.NoClassDefFoundError: com/sun/jersey/core/spi/factory/AbstractRuntimeDelegate
...
Addendum #2 : Add jersey-servlet to hadoop3 profile.
2020-04-28 20:18:31 -07:00
Michael Stack
9e697d0ea6
HBASE-24247 Failed multi-merge because two regions not adjacent (legitimately) ( #1570 )
...
hbase-client/src/main/java/org/apache/hadoop/hbase/client/RegionInfo.java
Add new isOverlap method that takes list of RegionInfos checking that
current RegionInfo is overlapped by the passed in Regions.
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
Signed-off-by: Huaxiang Sun <huaxiangsun@apache.com>
2020-04-28 13:22:00 -07:00
Josh Elser
8eb2f6752c
HBASE-24252 Implement proxyuser/doAs mechanism for hbase-http
...
copy ProxyUserAuthenticationFilter from Hadoop
add hbase.security.authentication.spnego.kerberos.proxyuser.enable parameter (default false)
wire ProxyUserAuthenticationFilter into HttpServer
Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
2020-04-27 13:15:34 -04:00
Nick Dimiduk
318af8d6f8
HBASE-24143 [JDK11] Switch default garbage collector from CMS ; Addendum ( #1594 )
...
Signed-off-by: Sean Busbey <busbey@apache.org>
2020-04-27 09:36:35 -07:00
Duo Zhang
47348f5887
Revert "HBASE-24211: Create table is slow in large cluster when AccessController is enabled. ( #1546 )"
...
This breaks TestAccessController.testAccessControllerUserPermsRegexHandling
This reverts commit 66e90dece2
.
2020-04-27 22:50:02 +08:00
Duo Zhang
5af807153a
HBASE-24264 Disable TestNettyIPC.testHedgedAsyncEcho ( #1589 )
2020-04-27 09:43:09 +08:00
bsglz
ee5283ee82
HBASE-23264 Resolve a TODO of BucketAllocator: "Why we add the extra … ( #801 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-04-26 16:20:40 +05:30
Mohammad Arshad
66e90dece2
HBASE-24211: Create table is slow in large cluster when AccessController is enabled. ( #1546 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Pankaj <pankajkumar@apache.org>
2020-04-25 17:45:32 +05:30
Peter Somogyi
b2e9321d97
HBASE-24251 PreCommit build is failing because of can not build docker image; addendum ( #1579 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-04-24 13:59:51 +02:00
Duo Zhang
4f0d05b462
HBASE-24253 HBASE-Find-Flaky-Tests job is failing because of can not build docker image ( #1578 )
...
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2020-04-24 19:47:12 +08:00
Duo Zhang
a0295662da
HBASE-24251 PreCommit build is failing because of can not build docker image ( #1575 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2020-04-24 16:23:34 +08:00
stack
da92d016c4
HBASE-24215 [Flakey Tests] [ERROR] TestSecureRESTServer java.lang.NoClassDefFoundError: com/sun/jersey/core/spi/factory/AbstractRuntimeDelegate
...
Second attempt. 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-23 22:22:35 -07:00
niuyulin
90d738107f
HBASE-24222 remove FSUtils.checkAccess and replace with FileSystem.access in HBCK ( #1557 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-04-23 23:59:34 +08:00
Viraj Jasani
b40381857a
HBASE-24024 : Reject multi() requests with rows higher than threshold ( #1560 )
...
Signed-off-by: Reid Chan <reidchan@apache.org>
2020-04-22 12:51:49 +05:30
Beata Sudi
74c033db83
HBASE-24139 : Balancer should avoid leaving idle region servers ( #1511 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Anoop Sam John <anoopsamjohn@apache.org>
2020-04-22 10:11:16 +05:30
Duo Zhang
15a46388f1
HBASE-24218 Add hadoop 3.2.x in hadoop check ( #1559 )
...
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2020-04-22 10:52:53 +08:00
Duo Zhang
6e95575669
HBASE-24213 Backport the pre commit changes for HBASE-24169 to all branches ( #1548 )
...
Signed-off-by: stack <stack@apache.org>
2020-04-22 10:26:10 +08:00
stack
f8ce21f096
HBASE-24226 Address other hard references to '/tmp' found in Configuration
2020-04-21 17:39:30 -07:00
stack
3c1725f2f0
HBASE-24175 [Flakey Tests] TestSecureExportSnapshot FileNotFoundException Addendum #3 ; catch more '/tmp' references by hadoop. Fix broken build.
2020-04-21 17:39:20 -07:00
stack
b262b9a013
HBASE-24175 [Flakey Tests] TestSecureExportSnapshot FileNotFoundException Addendum #3 ; catch more '/tmp' references by hadoop.
2020-04-21 17:39:04 -07:00
Duo Zhang
e2739d3325
HBASE-24223 The -Phadoop-3.0 option does not work on branch-2 and branch-2.3 with JDK11 ( #1558 )
...
Signed-off-by: stack <stack@apache.org>
2020-04-21 09:10:39 -07:00
Mark Robert Miller
8a7aa89506
HBASE-24185: Junit tests do not behave well with System.exit or Runtime.halt or JVM exits in general. ( #1540 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: stack <stack@apache.org>
2020-04-20 22:20:08 -07:00
Reid Chan
5086bf1a3e
HBASE-24196 [Shell] Add rename rsgroup command in hbase shell ( #1554 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2020-04-21 12:56:44 +08:00
Michael Stack
6c69b65e4f
HBASE-24215 [Flakey Tests] [ERROR] TestSecureRESTServer java.lang.NoClassDefFoundError: com/sun/jersey/core/spi/factory/AbstractRuntimeDelegate ( #1553 )
2020-04-20 21:51:16 -07:00
stack
8a1ffa6c43
HBASE-24220 Allow that zk NOTEMPTY multi exception is retryable by running in-series
...
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapred/TableRecordReaderImpl.java
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/TableRecordReaderImpl.java
Cleanup checkstyle warnings. Don't depend on hbase-client
ScannerCallable.
hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshot.java
Cut down on cluster resource usage.
hbase-server/src/test/java/org/apache/hadoop/hbase/master/AbstractTestDLS.java
Debug
hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestAccessController3.java
Debug
hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftHttpServer.java
Debug
hbase-zookeeper/src/main/java/org/apache/hadoop/hbase/zookeeper/MiniZooKeeperCluster.java
Debug
hbase-zookeeper/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java
Allow that NONEMPTY is retryable by running in series.
2020-04-20 15:43:09 -07:00
Guangxu Cheng
2762ddc6a8
HBASE-23896 Snapshot owner cannot delete snapshot when ACL is enabled and Kerberos is not enabled ( #1211 )
...
Signed-off-by: binlijin <binlijin@gmail.com>
2020-04-20 10:26:21 +08:00
Reid Chan
eed39202e1
HBASE-24174 Fix findbugs warning on ServiceAuthorizationManager for master branch ( #1537 ) ( #1542 )
...
Signed-off-by: binlijin <binlijin@gmail.com>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: stack <stack@apache.org>
2020-04-18 13:36:19 +08:00
XinSun
935c23312f
HBASE-24166 Duplicate implementation for acquireLock between CreateTableProcedure and its parent class ( #1486 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-04-18 10:31:46 +08:00
Peter Somogyi
4646f7b52b
HBASE-24203 Bump git version in Dockerfile; addendum ( #1543 )
...
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
2020-04-17 23:32:37 +02:00
Nick Dimiduk
a2c78e99cb
HBASE-24143 [JDK11] Switch default garbage collector from CMS
...
Per comments in Jira, be explicit about what collector we
use. Existing code simply hard-codes HBASE_OPTS in
`conf/hbase-env.sh`. We now need to be a little more clever than this,
so moves the definition into `bin/hbase`. Also consolidates logic
around JVM version detection into a reusable function.
This change also changes how we set `HBASE_OPTS`. Before, we would
accept an operator's value, but always append our GC
prescription. After this change, we defer entirely to the operator's
choice, only applying our values when they've not specified their
intentions.
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
2020-04-17 13:53:21 -07:00
Joseph295
c775adfc06
HBASE-24182 log when the region is set to closing status ( #1509 )
...
Signed-off-by: stack <stack@apache.org>
2020-04-17 12:21:12 -07:00
Wei-Chiu Chuang
98ecd584c4
HBASE-23833. The relocated hadoop-thirdparty protobuf breaks HBase asyncwal ( #1301 ) ( #1534 )
...
* Use Reflection to access shaded Hadoop protobuf classes.
(cherry picked from commit a321e536989083ca3620bf2c53f12c07740bf5b0)
* Update to improve the code:
1. Added license.
2. Added more comments.
3. Wrap byte array instead of copy to make a ByteString.
4. Moved all reflection instantiation to static class loading time.
* Use LiteralByteString to wrap byte array instead of copying it.
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: stack <stack@apache.org>
(cherry picked from commit 72727ff9be
)
2020-04-17 12:08:02 -07:00
Michael Stack
34961d40b2
HBASE-24148: Upgrade Thrift to 0.13.0: 0.12.0 has outstanding CVEs. ( #1519 )
...
Co-authored-by: Tamas Penzes <tamaas@cloudera.com>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
2020-04-17 08:12:43 -07:00
gkanade
361e81e1f8
MetricsTable#updateFlushTime is wrong ( #1539 )
...
Authored-by: Gaurav Kanade <gkanade@microsoft.com>
Signed-off-by: Ramkrishna <ramkrishna@apache.org>
2020-04-17 19:24:52 +05:30
Peter Somogyi
55f65dc030
HBASE-24203 Bump git version in Dockerfile ( #1538 )
...
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2020-04-17 13:07:40 +02:00
stack
3f43b9e349
HBASE-24158 [Flakey Tests] TestAsyncTableGetMultiThreaded
...
Addendum to address NPE
2020-04-16 08:02:54 -07:00
Viraj Jasani
a0a769d96f
HBASE-24195 : Admin.getRegionServers() should return live servers exc… ( #1523 )
...
Signed-off-by: Mingliang Liu <liuml07@apache.org>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2020-04-16 20:16:30 +05:30
BukrosSzabolcs
8498fe7260
HBASE-24186: RegionMover ignores replicationId ( #1512 )
...
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-04-16 19:56:52 +05:30
Viraj Jasani
ca1f7a9499
HBASE-24194 : Refactor anonymous inner classes of BufferedEncodedSeeker to named inner classes ( #1522 )
...
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
Signed-off-by: binlijin <binlijin@gmail.com>
2020-04-16 19:17:44 +05:30
Gkkkk302
22912ff346
HBASE-24151 The master server aborted for IllegalThreadStateException ( #1507 )
...
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-04-16 15:41:26 +05:30
Istvan Toth
ec266a0743
HBASE-24197 TestHttpServer.testBindAddress failure with latest jetty ( #1524 )
...
use the findPort logic even if the BindException is wrapped in an IOException
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2020-04-16 11:52:35 +02:00
stack
360baf9dd6
HBASE-24175 [Flakey Tests] TestSecureExportSnapshot FileNotFoundException
...
Addendum #2 : The new test fails on origin.hbase.dir written by HTU up on
jenkins... has a 'tmp' in it. Fix.
2020-04-15 22:42:09 -07:00