Ray Mattingly
0b7252bcfa
HBASE-27799: RpcThrottlingException wait interval message is misleading between 0-1s ( #5192 )
...
Signed-off-by: Bryan Beaudreault <bbeaudreault@apache.org>
2023-05-04 14:12:37 -04:00
Duo Zhang
92a2868f37
HBASE-27783 Implement a shell command to disable all peer modification ( #5182 )( #5191 )
...
Signed-off-by: Liangjun He <heliangjun@apache.org>
2023-04-21 09:57:28 +08:00
Bryan Beaudreault
2ad3a804c8
HBASE-27787 Downgrade noisy info log in NettyRpcConnection when TLS enabled ( #5169 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2023-04-18 14:33:29 -04:00
Duo Zhang
04a4ac5ae9
HBASE-27728 Implement a tool to migrate replication peer data between different storage implementation ( #5179 )
...
Signed-off-by: Liangjun He <heliangjun@apache.org>
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
(cherry picked from commit 31c4aea48c3d4bc7585784dd65375edbb4e61a8a)
Conflicts:
hbase-client/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationPeerConfig.java
hbase-replication/src/test/java/org/apache/hadoop/hbase/replication/ReplicationPeerStorageTestBase.java
2023-04-17 22:47:52 +08:00
Ray Mattingly
1ae057b89f
HBASE-27536: Include more request information in slowlog for Scans ( #5166 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Bryan Beaudreault <bbeaudreault@apache.org>
2023-04-16 10:11:35 -04:00
Duo Zhang
3e6e9c5cca
HBASE-27727 Implement filesystem based Replication peer storage ( #5165 )
...
Signed-off-by: Liangjun He <heliangjun@apache.org>
(cherry picked from commit a71105997f2c08c74f3713925847cce3d44134bc)
2023-04-13 19:45:20 +08:00
Bryan Beaudreault
08489365a5
HBASE-27768 Race conditions in BlockingRpcConnection ( #5154 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
2023-04-10 15:23:03 -04:00
Bryan Beaudreault
e33afb4524
HBASE-27532 Add block bytes scanned metrics ( #5146 )
...
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
2023-03-28 13:56:37 -04:00
Victor
ff9754049b
HBASE-27684: add client metrics related to user region lock. ( #5081 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: David Manning <david.manning@salesforce.com>
Signed-off-by: Rushabh Shah <shahrs87@apache.org>
Signed-off-by: Tanuj Khurana <tkhurana@apache.org>
2023-03-20 22:36:08 -07:00
Nihal Jain
b1a00be1bc
HBASE-27671 Client should not be able to restore/clone a snapshot after it has TTL expired it's TTL has expired ( #5117 ) ( #5109 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2023-03-18 00:07:16 -07:00
Nick Dimiduk
dbb78388e5
HBASE-27652 Client-side lock contention around Configuration when using read replica regions ( #5036 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2023-03-15 16:07:48 +01:00
huaxiangsun
9a69a69648
HBASE-27250 MasterRpcService#setRegionStateInMeta does not support replica region encodedNames or region names
...
- Added sanity check to make sure input region encoded name or region name is valid
- Assignment improvements pertaining to read replica regions
- make several MetaTableAccessor methods more precise in their handling of replica regions
- hbck2 setRegionStateInMeta and HBCKServerCrashProcedure handle read replicas
- separate AM helper methods -- loading RegionInfo from cache vs. refreshing cache from meta
- AM helper method support loading RegionInfo from cache via either region name and encoded region
name (both caches are maintained, and under lock)
- consolidate, extend tests to cover read replica regions
Co-authored-by: Huaxiang Sun <huaxiangsun@apache.com>
Co-authored-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2023-03-06 11:02:12 +01:00
Duo Zhang
5b6d9de54c
HBASE-27668 PB's parseDelimitedFrom can successfully return when there are not enough bytes ( #5059 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
(cherry picked from commit d1fede72c340f6eeb145410e88b089e636fd6f5e)
2023-02-28 10:02:46 +08:00
Bryan Beaudreault
53d3e78432
HBASE-27650 Merging empty regions corrupts meta cache (branch-2) ( #5038 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2023-02-27 20:40:19 -05:00
Victor
0747f0c934
HBASE-15242: add client side metrics for timeout and remote exceptions. ( #5023 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2023-02-24 16:25:41 -08:00
Nihal Jain
4ac84b8aa0
HBASE-27626 Suppress noisy logging in client.ConnectionImplementation ( #5019 )
...
Signed-off-by: Tak Lon (Stephen) Wu <taklwu@apache.org>
2023-02-09 10:29:32 -08:00
Bryan Beaudreault
3358db1f97
HBASE-27534 Determine too large requests by response block size rather than just cell size ( #5007 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2023-02-05 17:28:53 -05:00
chaijunjie0101
3a98d87030
HBASE-26967 FilterList with FuzzyRowFilter and SingleColumnValueFilter evaluated with operator MUST_PASS_ONE doesn't work as expected( #4820 )
...
Close #4820
Co-authored-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit 382681e2d6b6c417145022d7df81390bf42f2773)
2023-01-29 17:39:39 +08:00
Duo Zhang
35cca16e74
HBASE-27598 Upgrade mockito to 4.x ( #4998 )
...
Signed-off-by: Yulin Niu <niuyulin@apache.org>
(cherry picked from commit bd7a78add5aaac090d6ea0b1951778fe24542b70)
2023-01-29 12:22:18 +08:00
Andrew Purtell
28da1546e2
HBASE-27561 hbase.master.port is ignored in processing of hbase.masters ( #4952 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Reid Chan <reidchan@apache.org>
2023-01-17 13:21:04 -08:00
Bryan Beaudreault
06c7548770
HBASE-27531 AsyncRequestFutureImpl unnecessarily clears meta cache for full server ( #4930 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2023-01-10 07:54:17 -05:00
Duo Zhang
cdc48fca41
HBASE-27514 Move some persistent states from zookeeper to master region ( #4925 )
...
Signed-off-by: Bryan Beaudreault <bbeaudreault@apache.org>
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
(cherry picked from commit dcfde79f7e51f7141d8c10116bffcaeda85d1c73)
2022-12-22 12:48:21 +08:00
Victor
b63e4b73e5
HBASE-27540 add client side counter metrics for failed rpc calls ( #4929 )
...
Signed-off-by: Bryan Beaudreault <bbeaudreault@apache.org>
2022-12-21 08:51:02 -05:00
Wellington Ramos Chevreuil
012306b62d
HBASE-27474 Evict blocks on split/merge; Avoid caching reference/hlinks if compaction is enabled ( #4868 )
...
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
(cherry picked from commit 222ec684d68de25d20dac3be2614863c1c4cbd20)
2022-12-19 12:05:06 +00:00
Vaibhav Joshi
2e94f6fb50
HBASE-27527 Port HBASE-27498 to branch-2 ( #4919 )
...
Signed-off-by: Tak Lon (Stephen) Wu <taklwu@apache.org>
2022-12-12 11:01:09 -08:00
Bri Augenreich
d87ab898bf
HBASE-27491: do not clear cache on RejectedExecutionException ( #4914 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Bryan Beaudreault <bbeaudreault@apache.org>
2022-12-09 08:45:40 -05:00
Bryan Beaudreault
f320ad9354
HBASE-27490 Locating regions for all actions of batch requests can exceed operation timeout ( #4908 )
...
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
2022-12-06 08:03:23 -05:00
Victor
8c4f0e3fd1
HBASE-27466: Making metrics instance containing one or more connections. ( #4874 ) ( #4909 )
...
Signed-off-by: David Manning <67607031+d-c-manning@users.noreply.github.com>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2022-12-05 12:24:15 -08:00
Bri Augenreich
7b4b4ce81e
HBASE-27487: Slow meta can create pathological feedback loop with multigets ( #4900 )
...
Signed-off-by: Bryan Beaudreault <bbeaudreault@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-12-01 08:13:47 -05:00
Bri Augenreich
53b4b4e941
HBASE-27494: Fix missing meta cache dropping exception metrics ( #4902 )
...
Signed-off-by: Bryan Beaudreault <bbeaudreault@apache.org>
2022-11-30 13:03:19 -05:00
Andor Molnár
e90a351d0d
HBASE-27347 Port FileWatcher from ZK to autodetect keystore/truststore changes in TLS connections (branch-2) ( #4897 )
...
Signed-off-by: Bryan Beaudreault <bbeaudreault@apache.org>
2022-11-28 08:06:29 -05:00
LiangJun He
8c2f4b2aaa
HBASE-27444 Add tool commands list_enabled_tables and list_disabled_tables ( #4880 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-11-23 10:29:37 +08:00
Bri Augenreich
53e872e5f1
HBASE-26809: Report client backoff time for server overloaded ( #4786 )
...
Co-authored-by: Briana Augenreich <baugenreich@hubspot.com>
Signed-off-by: Bryan Beaudreault <bbeaudreault@apache.org>
2022-11-15 15:41:08 -05:00
Rushabh Shah
ecf3debd42
HBASE-26913 Replication Observability Framework ( #4862 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2022-11-08 13:05:42 -08:00
LiangJun He
1530d855ea
HBASE-27448 Add an admin method to get replication enabled state ( #4858 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-11-01 11:22:05 +08:00
Duo Zhang
738ed028ad
HBASE-27434 Use ${revision} as placeholder for maven version to make it easier to control the version from command line ( #4836 )
...
Signed-off-by: GeorryHuang <huangzhuoyue@apache.org>
(cherry picked from commit 2fc879e863ccdcfd32e29b2dbc70d687eaad45ef)
2022-10-24 12:05:01 +08:00
Andrew Purtell
dfaa63890a
HBASE-27339 Improve sasl connection failure log message to include server ( #4823 )
...
Include the remote server name in the logged exception message when the
connection setup fails in BlockingRpcConnection.
Add an equivalent log line in NettyRpcConnection.
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2022-10-11 10:20:01 -07:00
Duo Zhang
5cab4be075
HBASE-27401 Clean up current broken 'n's in our javadoc ( #4812 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
(cherry picked from commit 63cdd026f08cdde6ac0fde1342ffd050e8e02441)
Conflicts:
hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/impl/BackupManager.java
hbase-client/src/main/java/org/apache/hadoop/hbase/HRegionLocation.java
hbase-client/src/main/java/org/apache/hadoop/hbase/client/Append.java
hbase-client/src/main/java/org/apache/hadoop/hbase/client/Mutation.java
hbase-client/src/main/java/org/apache/hadoop/hbase/client/Scan.java
hbase-client/src/main/java/org/apache/hadoop/hbase/filter/SingleColumnValueExcludeFilter.java
hbase-client/src/main/java/org/apache/hadoop/hbase/filter/SingleColumnValueFilter.java
hbase-client/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityClient.java
hbase-client/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/RequestConverter.java
hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java
hbase-it/src/test/java/org/apache/hadoop/hbase/test/IntegrationTestReplication.java
hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestRemoteTable.java
hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManager.java
hbase-server/src/main/java/org/apache/hadoop/hbase/HBaseServerBase.java
hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/MasterObserver.java
hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobUtils.java
hbase-server/src/main/java/org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.java
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/Region.java
hbase-server/src/main/java/org/apache/hadoop/hbase/replication/HBaseReplicationEndpoint.java
hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/MetricsSource.java
hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtil.java
hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
hbase-server/src/test/java/org/apache/hadoop/hbase/tool/TestBulkLoadHFilesSplitRecovery.java
hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftUtilities.java
2022-10-06 22:13:14 +08:00
Bryan Beaudreault
af28101ccc
HBASE-27381 Still seeing 'Stuck' in static initialization creating RegionInfo instance ( #4813 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-10-04 08:29:20 -04:00
Bryan Beaudreault
913ca3ed3c
HBASE-27391 Downgrade ERROR log to DEBUG in ConnectionUtils.updateStats ( #4804 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-09-28 11:32:15 -04:00
Duo Zhang
9fb3aee22b
HBASE-27373 Fix new spotbugs warnings after upgrading spotbugs to 4.7.2 ( #4787 ) ( #4789 )
...
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2022-09-18 18:31:05 +08:00
Duo Zhang
7ae66a1d2e
HBASE-27360 The trace related assertions are flaky for async client tests ( #4767 )
...
Signed-off-by: GeorryHuang <huangzhuoyue@apache.org>
(cherry picked from commit f3f88ff6c17633d98facf9dccb57e63b87200e4a)
2022-09-09 23:03:05 +08:00
binlijin
bfd8501e23
HBASE-27314 Make index block be customized and configured ( #4763 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-09-08 09:27:53 +08:00
Andor Molnár
9838c070aa
HBASE-27342 Use Hadoop Credentials API to retrieve passwords of TLS key/trust stores ( #4751 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Balazs Meszaros <meszibalu@apache.org>
2022-09-01 10:06:15 +02:00
LiangJun He
6a7a91a256
HBASE-27335 HBase shell hang for a minute when quiting ( #4737 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-08-31 11:01:10 +08:00
LiangJun He
1bd0b581cb
HBASE-27104 Add a tool command list_unknownservers ( #4714 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-08-22 21:15:47 +08:00
Fantasy-Jay
8a10dbf6c4
HBASE-27268 In trace log mode, the client does not print callId/startTime and the server does not print receiveTime ( #4710 )
...
Co-authored-by: jay.zhu <jay.zhu@huolala.cn>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit 32c135d8a552970e592ed39735186b4364f85ed1)
2022-08-20 21:09:43 +08:00
Duo Zhang
c2dff398d3
HBASE-27279 Make SslHandler work with SaslWrapHandler/SaslUnwrapHandler ( #4705 )
...
Signed-off-by: Bryan Beaudreault <bbeaudreault@apache.org>
Reviewed-by: Andor Molnár <andor@cloudera.com>
(cherry picked from commit 2b9d36869ffe765256d4a7b6a74b95a8200678df)
Conflicts:
hbase-server/src/test/java/org/apache/hadoop/hbase/security/TestNettyTlsIPCRejectPlainText.java
hbase-server/src/test/java/org/apache/hadoop/hbase/security/TestSecureIPC.java
hbase-server/src/test/java/org/apache/hadoop/hbase/security/TestTlsWithKerberos.java
2022-08-16 21:37:47 +08:00
SiCheng-Zheng
1b5d20dcf6
HBASE-27301 Add Delete addFamilyVersion timestamp verify ( #4700 )
...
Co-authored-by: SiCheng-Zheng <zhengsicheng@jd.com>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit b531e71455423a9f5a5956da90026085dde96117)
2022-08-15 15:23:04 +08:00
Duo Zhang
b820188c68
HBASE-27278 Improve TestTlsIPC to reuse existing IPC test code ( #4682 )
...
Signed-off-by: Bryan Beaudreault <bbeaudreault@apache.org>
(cherry picked from commit 3309108ca728cb40ad0da5be567ca0e1beabbeff)
2022-08-12 13:21:11 +08:00