GeorryHuang
a61f1082de
HBASE-25364 Redo the getMidPoint() in HFileWriterImpl to get rid of the double comparison process ( #2741 )
...
Signed-off-by: niuyulin <nyl353@163.com>
Signed-off-by: stack <stack@apache.org>
2021-02-10 08:31:51 -08:00
Baiqiang Zhao
9a6bd5b6f1
HBASE-25519 BLOCKSIZE needs to support pretty print ( #2944 )
2021-02-09 07:27:27 -08:00
XinSun
b05dcac9fd
HBASE-25559 Terminate threads of oldsources while RS is closing ( #2938 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2021-02-09 16:40:52 +08:00
haxl
e332c9498c
HBASE-25507 Leak of ESTABLISHED sockets when compaction encountered "java.io.IOException: Invalid HFile block magic" ( #2882 )
...
Signed-off-by: Ramkrishna <ramkrishna@apache.org>
Signed-off-by: stack <stack@apache.org>
2021-02-08 22:15:43 -08:00
Laxman Goswami
1c64049158
HBASE-24772 Use GetoptLong or OptionParser in hbase-shell ( #2918 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: stack <stack@apache.org>
2021-02-08 21:15:04 -08:00
stack
4c6f0f35bf
HBASE-25512 May throw StringIndexOutOfBoundsException when construct illegal tablename error
...
Revert of a revert -- i.e. a reapply -- that adds in the JIRA # missing
from original commit.
2021-02-08 14:38:03 -08:00
stack
1d281effe6
Revert "fix bug: string out of bounds when construct illegal tablename error message ( #2884 )"
...
This reverts commit 9b6c135df6
.
2021-02-08 14:37:46 -08:00
Michael Stack
3c29eaed35
HBASE-25542 Add client detail to scan name so when lease expires, we … ( #2930 )
...
* HBASE-25542 Add client detail to scan name so when lease expires, we have clue on who was scanning
When we create a scanner lease, record client ip and port (removed
unnecessary store of scannerName).
Signed-off-by: Clara Xiong <clarax98007@gmail.com>
2021-02-08 14:33:00 -08:00
zhengzhuobinzzb
9b6c135df6
fix bug: string out of bounds when construct illegal tablename error message ( #2884 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: stack <stack@apache.org>
2021-02-08 13:39:21 -08:00
GeorryHuang
2a4e0382d2
HBASE-25550 More readable Competition Time ( #2925 )
2021-02-08 13:13:41 -08:00
XinSun
6fd23b2a11
HBASE-25560 Remove unused parameter named peerId in the constructor method of CatalogReplicationSourcePeer ( #2939 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2021-02-08 12:30:52 -08:00
XinSun
471f52350a
HBASE-25553 It is better for ReplicationTracker.getListOfRegionServers to return ServerName instead of String ( #2928 )
...
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2021-02-07 18:54:44 +08:00
YutSean
eecb508e40
HBASE-25543 When configuration hadoop.security.authorization is set to false, the system will still try to authorize an RPC and raise AccessDeniedException ( #2929 ) ( #2919 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Reid Chan <reidchan@apache.org>
2021-02-05 22:07:21 +05:30
Baiqiang Zhao
fe0d888633
HBASE-25554 NPE when init RegionMover ( #2927 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2021-02-05 14:04:24 +05:30
Pankaj
3896e10728
HBASE-24900 Make retain assignment configurable during SCP ( #2313 )
...
Retain assignment will be useful in non-cloud scenario where RegionServer and Datanode are deployed in same machine and will avoid remote read.
Signed-off-by: Guanghao Zhang <zghao@apache.org>
Signed-off-by: Anoop Sam John <anoopsamjohn@apache.org>
(cherry picked from commit a04ea7ea44
)
2021-02-01 10:47:19 +05:30
Baiqiang Zhao
3b43df68e6
HBASE-25533 The metadata of the table and family should not be an empty string ( #2914 ) ( #2906 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Geoffrey Jacoby <gjacoby@apache.org>
2021-01-29 21:00:30 +05:30
shahrs87
2c72225d13
HBASE-25536 Remove 0 length wal file from logQueue if it belongs to old sources ( #2908 )
...
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Signed-off-by: Geoffrey Jacoby <gjacoby@apache.org>
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2021-01-29 17:49:50 +05:30
Bharath Vissapragada
b930ea1ebb
HBASE-25528: Dedicated merge dispatch threadpool on master ( #2910 )
...
Adds "hbase.master.executor.merge.dispatch.threads" and defaults to 2.
Also adds additional logging that includes the number of split plans
and merge plans computed for each normalizer run.
(cherry picked from commit 36b4698cea
)
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-01-28 16:09:18 -08:00
Aman Poonia
818000de7b
HBASE-25523 Region normalizer chore thread is getting killed ( #2903 )
...
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2021-01-26 11:56:39 +05:30
Duo Zhang
423ffb8a76
HBASE-25509 fix typo when resolving conflicts
2021-01-20 23:35:49 +08:00
Duo Zhang
f70229b193
HBASE-25509 ChoreService.cancelChore will not call ScheduledChore.cle… ( #2890 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2021-01-20 23:24:16 +08:00
Christine Feng
854f75982f
HBASE-25478 : Implement retries when enabling tables in TestRegionReplicaReplicationEndpoint ( #2896 )
...
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2021-01-20 11:32:43 +05:30
xijiawen
c95c09064c
HBASE-25496 add get_namespace_rsgroup command ( #2874 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2021-01-19 14:52:09 +05:30
xijiawen
86cc7e5a85
HBASE-25497 move_namespaces_rsgroup should change hbase.rsgroup.name … ( #2875 )
...
* HBASE-25497 move_namespaces_rsgroup should change hbase.rsgroup.name config in NamespaceDescriptor
Signed-off-by: Zheng Wang <wangzheng@apache.org>
(cherry picked from commit 9e9bec24d2
)
2021-01-18 19:22:34 +08:00
Anjan Das
fbc44784db
HBASE-25475 : Unset zk based wal splitting explicitly in tests (ADDENDUM) ( #2891 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2021-01-17 16:34:25 +05:30
Anjan Das
24739256aa
HBASE-25475: Improve UT added as part of HBASE-25445 in TestSplitWALManager ( #2855 )
...
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2021-01-15 12:29:23 +05:30
Baiqiang Zhao
f391a2b865
HBASE-25431 MAX_FILESIZE and MEMSTORE_FLUSHSIZE should not be set negative number ( #2803 )
...
Signed-off-by: stack <stack@apache.org>
2021-01-14 22:01:50 -08:00
Baiqiang Zhao
c5674e21dd
HBASE-25439 Add BYTE unit in PrettyPrinter.Unit ( #2840 )
...
Signed-off-by: stack <stack@apache.org>
2021-01-14 21:47:01 -08:00
Tak Lon (Stephen) Wu
2bb7beb448
Backport "HBASE-25249 Adding StoreContext" to branch-2 ( #2869 )
...
Co-authored-by: Abhishek Khanna <akkhanna@amazon.com>
Signed-off-by: Zach York <zyork@apache.org>
2021-01-13 20:13:43 -08:00
Bo Cui
1612b9ef85
HBASE-23340 hmaster /hbase/replication/rs session expired (hbase replication default value is true, we don't use ) causes logcleaner can not clean oldWALs, which resulits in oldWALs too large (more than 2TB) ( #2779 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Pankaj Kumar<pankajkumar@apache.org>
2021-01-14 09:06:07 +05:30
申胜利
478c4e8d6a
HBASE-25449 'dfs.client.read.shortcircuit' should not be set in hbase-default.xml
...
Revert of the revert -- re-applying HBASE-25449 with a change
of renaming the test hdfs XML configuration file as it was adversely
affecting tests using MiniDFS
This reverts commit c218e576fe
.
Co-authored-by: Josh Elser <elserj@apache.org>
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
Signed-off-by: Michael Stack <stack@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2021-01-13 21:06:13 -05:00
Pankaj
9a170e2c8b
HBASE-25502 IntegrationTestMTTR fails with TableNotFoundException ( #2879 )
2021-01-13 11:02:41 -08:00
Mohammad Arshad
f6e9d5bbd0
HBASE-25503: HBase code download is failing on windows with invalid path error ( #2880 )
2021-01-13 09:51:03 -08:00
Duo Zhang
e0cdaada13
HBASE-25476 Enable error prone check in pre commit ( #2860 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2021-01-13 16:17:45 +08:00
caroliney14
f4ad0d0988
HBASE-25329 Dump ritsOverThreshold in logs ( #2761 )
...
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2021-01-13 12:13:05 +05:30
Viraj Jasani
b817a156c9
HBASE-25211 : Rack awareness in RegionMover ( #2795 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-01-12 15:32:31 -08:00
Wellington Ramos Chevreuil
fdae12d754
HBASE-24813 ReplicationSource should clear buffer usage on Replicatio… ( #2546 ) ( #2849 )
...
Signed-off-by: Ankit Singhal <ankit@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
2021-01-12 09:40:25 +00:00
Duo Zhang
51e8cf4d34
Revert "HBASE-25449 'dfs.client.read.shortcircuit' should not be set in hbase-default.xml"
...
This reverts commit 661bea9135
.
2021-01-12 16:09:27 +08:00
Viraj Jasani
0788547fea
HBASE-25474 : Bump HBase version on branch-2 ( #2871 )
...
Signed-off-by: stack <stack@apache.org>
2021-01-12 10:20:22 +05:30
xijiawen
6a401d89f8
HBASE-25459 WAL can't be cleaned in some scenes ( #2848 )
...
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2021-01-11 10:01:53 +00:00
Duo Zhang
751431d93e
HBASE-25333 Add maven enforcer rule to ban VisibleForTesting imports ( #2854 )
...
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2021-01-09 08:55:52 +08:00
申胜利
661bea9135
HBASE-25449 'dfs.client.read.shortcircuit' should not be set in hbase-default.xml
...
Signed-off-by: Josh Elser <elserj@apache.org>
2021-01-08 15:20:27 -05:00
Bo Cui
bd8ded8d60
HBASE-25483 set the loadMeta log level to debug ( #2859 )
...
Signed-off-by: Pankaj Kumar<pankajkumar@apache.org>
(cherry picked from commit a348204d4a
)
2021-01-08 19:30:17 +05:30
xijiawen
4705b4752b
HBASE-25434 SlowDelete & SlowPut metric value should use updateDelete & updatePut ( #2837 )
...
Signed-off-by: Zheng Wang <wangzheng@apache.org>
(cherry picked from commit 7d70141b90
)
2021-01-08 19:04:32 +08:00
Duo Zhang
a573e49d69
HBASE-25471 Move RegionScannerImpl out of HRegion ( #2853 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2021-01-08 17:57:24 +08:00
Anjan Das
d93588512a
HBASE-25445: Use WAL FS instead of master FS in SplitWALManager ( #2844 )
...
Signed-off-by: Pankaj <pankajkumar@apache.org>
Signed-off-by: ramkrish86 <ramkrishna@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2021-01-07 15:33:12 +05:30
Duo Zhang
1719565aa7
HBASE-25458 HRegion methods cleanup ( #2838 )
...
Signed-off-by: meiyi <myimeiyi@gmail.com>
2021-01-07 10:18:41 +08:00
mokai
2b25fca6d8
HBASE-24755 [LOG][RSGroup]Error message is confusing while adding a offline RS to rsgroup ( #2847 ) ( #2846 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2021-01-06 19:58:47 +05:30
Gary Wang
cec9f18737
HBASE-25463 fix comment error of append.rb ( #2845 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2021-01-05 20:10:50 +05:30
Mate Szalay-Beko
95dc87be23
HBASE-25318 Config option for IntegrationTestImportTsv where to generate HFiles to bulkload ( #2777 )
...
IntegrationTestImportTsv is generating HFiles under the working directory of the
current hdfs user executing the tool, before bulkloading it into HBase.
Assuming you encrypt the HBase root directory within HDFS (using HDFS
Transparent Encryption), you can bulkload HFiles only if they sit in the same
encryption zone in HDFS as the HBase root directory itself.
When IntegrationTestImportTsv is executed against a real distributed cluster
and the working directory of the current user (e.g. /user/hbase) is not in the
same encryption zone as the HBase root directory (e.g. /hbase/data) then you
will get an exception:
```
ERROR org.apache.hadoop.hbase.regionserver.HRegion: There was a partial failure
due to IO when attempting to load d :
hdfs://mycluster/user/hbase/test-data/22d8460d-04cc-e032-88ca-2cc20a7dd01c/
IntegrationTestImportTsv/hfiles/d/74655e3f8da142cb94bc31b64f0475cc
org.apache.hadoop.ipc.RemoteException(java.io.IOException):
/user/hbase/test-data/22d8460d-04cc-e032-88ca-2cc20a7dd01c/
IntegrationTestImportTsv/hfiles/d/74655e3f8da142cb94bc31b64f0475cc
can't be moved into an encryption zone.
```
In this commit I make it configurable where the IntegrationTestImportTsv
generates the HFiles.
Co-authored-by: Mate Szalay-Beko <symat@apache.com>
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2021-01-05 10:27:38 +01:00