Wellington Ramos Chevreuil
b38c88b9d6
HBASE-26662 User.createUserForTesting should not reset UserProvider.groups every time if hbase.group.service.for.test.only is true ( #4029 )
...
Signed-off-by: Josh Elser <elserj@apache.org>
Signrd-off-by: Duo Zhang <zhangduo@apache.org>
2022-01-18 13:06:09 +00:00
Yutong Xiao
647184e617
HBASE-26613 The logic of the method incrementIV in Encryption class has problem ( #3968 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2021-12-23 00:09:36 +08:00
Andrew Purtell
6449087228
Preparing development version 2.4.10-SNAPSHOT
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-12-17 18:52:26 -08:00
Andrew Purtell
c49f7f63fc
Preparing hbase release 2.4.9RC0; tagging and updates to CHANGES.md and RELEASENOTES.md
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-12-17 18:51:25 -08:00
Andrew Purtell
6e25a4e2f9
Revert "Preparing hbase release 2.4.9RC0; tagging and updates to CHANGES.md and RELEASENOTES.md"
...
This reverts commit 53391b269c
.
2021-12-17 18:34:37 -08:00
Andrew Purtell
2059cda314
Revert "Preparing development version 2.4.10-SNAPSHOT"
...
This reverts commit deb570b2e9
.
2021-12-17 18:34:37 -08:00
Andrew Purtell
deb570b2e9
Preparing development version 2.4.10-SNAPSHOT
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-12-17 17:04:46 -08:00
Andrew Purtell
53391b269c
Preparing hbase release 2.4.9RC0; tagging and updates to CHANGES.md and RELEASENOTES.md
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-12-17 17:04:42 -08:00
Istvan Toth
e64b089ed1
HBASE-26527 ArrayIndexOutOfBoundsException in KeyValueUtil.copyToNewKeyValue() ( #3904 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2021-12-06 23:58:32 +08:00
Istvan Toth
06ef9e9778
HBASE-26512 Make timestamp format configurable in HBase shell scan output
...
Signed-off-by: Josh Elser <elserj@apache.org
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2021-12-01 14:02:14 -05:00
Rushabh Shah
1408c044b1
HBASE-26468 Region Server doesn't exit cleanly incase it crashes. ( #3865 ) ( #3862 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Geoffrey Jacoby <gjacoby@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2021-12-01 11:18:05 +05:30
Yutong Xiao
563a404ac1
HBASE-26410 Fix HBase TestCanaryTool for Java17 ( #3809 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2021-11-09 22:21:12 +08:00
Rushabh Shah
2a318009db
HBASE-26404 Update javadoc for CellUtil#createCell with tags methods. ( #3801 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2021-11-01 16:02:40 +08:00
Andrew Purtell
377c0586ab
Preparing development version 2.4.9-SNAPSHOT
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-10-27 08:37:23 -07:00
Andrew Purtell
f844d09157
Preparing hbase release 2.4.8RC0; tagging and updates to CHANGES.md and RELEASENOTES.md
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-10-27 08:37:17 -07:00
Andrew Purtell
d91738b9be
Revert "Preparing hbase release 2.4.8RC0; tagging and updates to CHANGES.md and RELEASENOTES.md"
...
This reverts commit 281294f655
.
2021-10-27 08:25:10 -07:00
Andrew Purtell
33ba3c60b9
Revert "Preparing development version 2.4.9-SNAPSHOT"
...
This reverts commit 86c97a8b1a
.
2021-10-27 08:25:08 -07:00
Yutong Xiao
f382086ca2
HBASE-26392 Update ClassSize.BYTE_BUFFER for JDK17 ( #3784 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2021-10-27 22:05:07 +08:00
Andrew Purtell
86c97a8b1a
Preparing development version 2.4.9-SNAPSHOT
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-10-20 16:08:26 -07:00
Andrew Purtell
281294f655
Preparing hbase release 2.4.8RC0; tagging and updates to CHANGES.md and RELEASENOTES.md
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-10-20 16:08:21 -07:00
chenglei
52d1dc0915
HBASE-26344 Fix Bug for MultiByteBuff.put(int, byte) ( #3741 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2021-10-14 22:55:57 +08:00
Andrew Purtell
2ca84d531a
Preparing development version 2.4.8-SNAPSHOT
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-10-08 17:10:33 -07:00
Andrew Purtell
dad725bbe2
Preparing hbase release 2.4.7RC0; tagging and updates to CHANGES.md and RELEASENOTES.md
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-10-08 17:10:27 -07:00
Tak Lon (Stephen) Wu
6ca495b273
HBASE-26274 Create an option to reintroduce BlockCache to mapreduce job ( #3684 )
...
Introduce `hfile.onheap.block.cache.fixed.size`
and default to disable. when using ClientSideRegionScanner
it will be enabled with a fixed size for caching
INDEX/LEAF_INDEX block when a client, e.g.
snapshot scanner, scans the entire HFile
and does not need to seek/reseek to index
block multiple times.
Signed-off-by: Josh Elser <elserj@apache.org>
2021-09-22 09:39:38 -07:00
chenglei
b78d35598c
HBASE-26197 Fix some obvious bugs in MultiByteBuff.put ( #3586 )
...
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2021-09-07 23:49:08 +08:00
Andrew Purtell
24971e8073
Preparing development version 2.4.7-SNAPSHOT
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-09-03 09:41:58 -07:00
Andrew Purtell
7374d396c2
Preparing hbase release 2.4.6RC0; tagging and updates to CHANGES.md and RELEASENOTES.md
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-09-03 09:41:52 -07:00
Andrew Purtell
4ec1333df8
Preparing development version 2.4.6-SNAPSHOT
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-07-27 09:34:19 -07:00
Andrew Purtell
03b8c0cf42
Preparing hbase release 2.4.5RC1; tagging and updates to CHANGES.md and RELEASENOTES.md
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-07-27 09:34:14 -07:00
Andrew Purtell
845e6f0216
Preparing development version 2.4.6-SNAPSHOT
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-07-26 17:24:44 -07:00
Andrew Purtell
4810fd1096
Preparing hbase release 2.4.5RC1; tagging and updates to CHANGES.md and RELEASENOTES.md
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-07-26 17:24:37 -07:00
Andrew Purtell
67163bb1da
Preparing development version 2.4.6-SNAPSHOT
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-07-23 09:55:58 -07:00
Andrew Purtell
4a2828386f
Preparing hbase release 2.4.5RC0; tagging and updates to CHANGES.md and RELEASENOTES.md
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-07-23 09:55:52 -07:00
Andrew Purtell
b42676c29d
HBASE-25521 Change ChoreService and ScheduledChore to IA.Private ( #3505 )
...
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by Reid Chan <reidchan@apache.org>
2021-07-22 09:00:44 -07:00
meiyi
a3940afd25
HBASE-24734 RegionInfo#containsRange should support check meta table ( #3496 ) ( #3517 )
...
Signed-off-by: zhangduo <zhangduo@apache.org>
2021-07-22 18:05:14 +08:00
Aman Poonia
02c796ca0e
HBASE-25986 set default value of normalization enabled from hbase site ( #3476 ) ( #3372 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2021-07-19 15:29:02 +05:30
Xiaolin Ha
b83fec48dc
HBASE-26036 DBB released too early in HRegion.get() and dirty data for some operations ( #3436 ) ( #3486 ) ( #3487 )
...
Signed-off-by: Michael Stack <stack@apache.org>
2021-07-14 16:40:25 +08:00
Duo Zhang
b453cbd819
HBASE-26020 Split TestWALEntryStream.testDifferentCounts out ( #3409 )
...
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
2021-06-23 23:19:28 +08:00
Andrew Purtell
09eebe5cd0
Preparing development version 2.4.5-SNAPSHOT
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-06-07 15:21:44 -07:00
Andrew Purtell
20e7ba45b0
Preparing hbase release 2.4.4RC0; tagging and updates to CHANGES.md and RELEASENOTES.md
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-06-07 15:21:39 -07:00
Michael Stack
a43afa3576
HBASE-25940 Update Compression/TestCompressionTest: LZ4, SNAPPY, LZO ( #3334 )
...
Undo asserts that LZ4 and SNAPPY fails if their native libs are NOT
loaded; as of hadoop 3.3.1, LZ4 and SNAPPY can work w/o native libs.
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2021-05-29 09:10:23 -07:00
Andrew Purtell
e82340ec64
Preparing development version 2.4.4-SNAPSHOT
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-05-19 12:38:15 -07:00
Andrew Purtell
401b60b217
Preparing hbase release 2.4.3RC1; tagging and updates to CHANGES.md and RELEASENOTES.md
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-05-19 12:38:07 -07:00
Andrew Purtell
4eaba9e9b1
Revert "Preparing hbase release 2.4.3RC1; tagging and updates to CHANGES.md and RELEASENOTES.md"
...
This reverts commit c2707bc6a8
.
2021-05-19 12:28:57 -07:00
Andrew Purtell
49ed8cc306
Revert "Preparing development version 2.4.4-SNAPSHOT"
...
This reverts commit cf287aaf95
.
2021-05-19 12:28:48 -07:00
Andrew Purtell
cf287aaf95
Preparing development version 2.4.4-SNAPSHOT
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-05-19 11:13:54 -07:00
Andrew Purtell
c2707bc6a8
Preparing hbase release 2.4.3RC1; tagging and updates to CHANGES.md and RELEASENOTES.md
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-05-19 11:13:48 -07:00
Andrew Purtell
97c8201f9a
Revert "Preparing hbase release 2.4.3RC1; tagging and updates to CHANGES.md and RELEASENOTES.md"
...
This reverts commit f9ed394627
.
2021-05-19 10:52:24 -07:00
Andrew Purtell
ed71600540
Revert "Preparing development version 2.4.4-SNAPSHOT"
...
This reverts commit 231c37b4f6
.
2021-05-19 10:52:15 -07:00
Andrew Purtell
231c37b4f6
Preparing development version 2.4.4-SNAPSHOT
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-05-19 10:18:46 -07:00
Andrew Purtell
f9ed394627
Preparing hbase release 2.4.3RC1; tagging and updates to CHANGES.md and RELEASENOTES.md
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-05-19 10:18:40 -07:00
Andrew Purtell
8ce0aba77e
Revert "Preparing hbase release 2.4.3RC0; tagging and updates to CHANGES.md and RELEASENOTES.md"
...
This reverts commit af14fd998c
.
2021-05-19 10:08:39 -07:00
Andrew Purtell
d82426c41c
Revert "Preparing development version 2.4.4-SNAPSHOT"
...
This reverts commit 0c5c0e5da8
.
2021-05-19 10:07:40 -07:00
Andrew Purtell
0c5c0e5da8
Preparing development version 2.4.4-SNAPSHOT
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-05-14 13:12:49 -07:00
Andrew Purtell
13043ecf96
Revert "Preparing development version 2.4.4-SNAPSHOT"
...
This reverts commit 8fd02a75f8
.
2021-05-14 13:12:49 -07:00
GeorryHuang
26e9c5b3ce
HBASE-25790 NamedQueue 'BalancerRejection' for recent history of balancer skipping ( #3182 ) ( #3245 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2021-05-09 00:26:58 +05:30
Andrew Purtell
8fd02a75f8
Preparing development version 2.4.4-SNAPSHOT
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-04-27 14:58:08 -07:00
Andrew Purtell
af14fd998c
Preparing hbase release 2.4.3RC0; tagging and updates to CHANGES.md and RELEASENOTES.md
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-04-27 14:58:03 -07:00
ZhiChen
6c40def6d9
HBASE-25762 Improvement for some debug-logging guards ( #3145 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2021-04-13 23:25:28 +08:00
Jan Hentschel
41b4e6e5c4
HBASE-24305 Prepare deprecations in ServerName ( #1666 ) ( #3125 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: stack <stack@apache.org>
2021-04-06 19:10:52 +02:00
Duo Zhang
f2a499ad25
HBASE-25696 Need to initialize SLF4JBridgeHandler in jul-to-slf4j for redirecting jul to slf4j ( #3093 ) ( #3112 )
...
Signed-off-by: Michael Stack <stack@apache.org>
2021-04-02 18:07:59 +08:00
haxiaolin
df6e5dd0b1
HBASE-25518 Support separate child regions to different region servers ( #3001 )
...
Signed-off-by: stack <stack@apache.org>
2021-03-18 12:39:15 -07:00
stack
7de67b30fc
Revert "HBASE-25665 Option to use hostname instead of canonical hostname for secure HBase cluster connection ( #3051 )"
...
This reverts commit 90c147f97c
.
Reverting because new feature and only want bug fixes on branches.
2021-03-16 21:08:24 -07:00
bitterfox
90c147f97c
HBASE-25665 Option to use hostname instead of canonical hostname for secure HBase cluster connection ( #3051 )
2021-03-16 21:05:42 -07:00
shahrs87
5c149d1ce6
HBASE-25622 Result#compareResults should compare tags. ( #3026 )
...
Signed-off-by: stack <stack@apache.org>
2021-03-11 21:52:45 -08:00
Andrew Purtell
bda2b8af8b
Preparing development version 2.4.3-SNAPSHOT
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-03-08 15:59:42 -08:00
Andrew Purtell
3e98c51c51
Preparing hbase release 2.4.2RC0; tagging and updates to CHANGES.md and RELEASENOTES.md
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-03-08 15:59:36 -08:00
Mohammad Arshad
9ec86d97a3
HBASE-25492: Create table with RSGroup ( #3033 )
...
Added a new interface in TableDescriptor which allows user to define RSGroup name while creating or modifying a table.
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Pankaj Kumar<pankajkumar@apache.org>
2021-03-08 23:11:15 +05:30
Peter Somogyi
0ffd42f5fd
HBASE-25611 ExportSnapshot chmod flag uses value as decimal ( #3003 )
...
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2021-03-02 11:33:39 +01:00
Bharath Vissapragada
083b632c4b
HBASE-25528: Dedicated merge dispatch threadpool on master
...
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
)
2021-01-28 16:15:27 -08:00
Duo Zhang
559a1f0a28
HBASE-25509 ChoreService.cancelChore will not call ScheduledChore.cle… ( #2890 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2021-01-20 23:25:30 +08:00
Andrew Purtell
bab2d41390
Preparing development version 2.4.2-SNAPSHOT
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-01-15 10:51:49 -08:00
Andrew Purtell
4c3e174297
Revert "Preparing development version 2.4.2-SNAPSHOT"
...
This reverts commit e0aa015542
.
2021-01-15 10:19:09 -08:00
Andrew Purtell
e0aa015542
Preparing development version 2.4.2-SNAPSHOT
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-01-14 12:55:38 -08:00
Andrew Purtell
67a87017b4
Revert "Preparing development version 2.4.2-SNAPSHOT"
...
This reverts commit 00fec5a2f7
.
2021-01-14 12:54:05 -08:00
Andrew Purtell
00fec5a2f7
Preparing development version 2.4.2-SNAPSHOT
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-01-14 11:43:50 -08:00
Andrew Purtell
3f495149e9
Revert "Preparing development version 2.4.2-SNAPSHOT"
...
This reverts commit 9f17bd2f1b
.
2021-01-14 11:00:42 -08:00
申胜利
f429cfac9a
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:17:48 -05:00
Andrew Purtell
9f17bd2f1b
Preparing development version 2.4.2-SNAPSHOT
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-01-13 18:03:20 -08:00
Andrew Purtell
422a8cc32d
Revert "Preparing development version 2.4.2-SNAPSHOT"
...
This reverts commit 29619049b2
.
2021-01-13 17:44:09 -08:00
Andrew Purtell
29619049b2
Preparing development version 2.4.2-SNAPSHOT
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-01-13 11:39:43 -08:00
Andrew Purtell
85075940c0
Revert "Preparing development version 2.4.2-SNAPSHOT"
...
This reverts commit 51c55fcc2f
.
2021-01-13 10:24:09 -08:00
Andrew Purtell
51c55fcc2f
Preparing development version 2.4.2-SNAPSHOT
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-01-12 17:06:38 -08:00
Andrew Purtell
35044cc40c
Preparing hbase release 2.4.1RC0; tagging and updates to CHANGES.md and RELEASENOTES.md
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-01-12 17:06:33 -08:00
Duo Zhang
43ee12640b
Revert "HBASE-25449 'dfs.client.read.shortcircuit' should not be set in hbase-default.xml"
...
This reverts commit 09db88d3ba
.
2021-01-12 16:10:41 +08:00
申胜利
09db88d3ba
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 16:01:47 -05:00
ramkrish86
e7307c91d0
HBASE-24850 CellComparator perf improvement ( #2776 )
...
* Using ContiguousCellFormat as a marker alone
* Commit the new file
* Fix the comparator logic that was an oversight
* Fix the sequenceId check order
* Adding few more static methods that helps in scan flow like query
matcher where we have more cols
* Remove ContiguousCellFormat and ensure compare() can be inlined
* applying negation as per review comment
* Fix checkstyle comments
* fix review comments
* Address review comments
Signed-off-by: stack <stack@apache.org>
Signed-off-by: AnoopSamJohn <anoopsamjohn@apache.org>
Signed-off-by: huaxiangsun <huaxiangsun@apache.org>
2020-12-28 13:12:38 +05:30
stack
eedd976c6e
HBASE-25425 Some notes on RawCell
2020-12-21 08:14:10 -08:00
Adam
cdfacc98dc
HBASE-25370 Fix flaky test TestClassFinder#testClassFinderDefaultsToOwnPackage ( #2740 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-12-11 08:24:12 +08:00
shahrs87
98dc4be77a
HBASE-25328 : Add builder method to create Tags
...
Closes #2707
Signed-off-by: Anoop Sam John <anoopsamjohn@apache.org>
Signed-off-by: Geoffrey Jacoby <gjacoby@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-12-08 18:23:13 +05:30
Andrew Purtell
3ff115ebe4
Preparing development version 2.4.1-SNAPSHOT
2020-12-03 09:52:11 -08:00
Andrew Purtell
f7bc7be1eb
Revert "Preparing development version 2.4.1-SNAPSHOT"
...
This reverts commit 4127a3940a
.
2020-12-03 09:37:38 -08:00
Andrew Purtell
4127a3940a
Preparing development version 2.4.1-SNAPSHOT
2020-12-02 14:04:53 -08:00
Andrew Purtell
108c2ecb52
Preparing hbase release 2.4.0RC0; tagging and updates to CHANGES.md and RELEASENOTES.md
2020-12-02 14:04:49 -08:00
Mate Szalay-Beko
1dbfe96d69
HBASE-25263 Various improvements of column family encryption
...
This PR is a follow-up of HBASE-25181 (#2539 ), where several issues were
discussed on the PR:
1. Currently we use PBKDF2WithHmacSHA1 key generation algorithm to generate a
secret key for HFile / WalFile encryption, when the user is defining a string
encryption key in the hbase shell. This algorithm is not secure enough and
not allowed in certain environments (e.g. on FIPS compliant clusters). We are
changing it to PBKDF2WithHmacSHA384. It will not break backward-compatibility,
as even the tables created by the shell using the new algorithm will be able
to load (e.g. during bulkload / replication) the HFiles serialized with the
key generated by an old algorithm, as the HFiles themselves already contain
the key necessary for their decryption.
Smaller issues fixed by this commit:
2. Improve the documentation e.g. with the changes introduced by HBASE-25181
and also by some points discussed on the Jira ticket of HBASE-25263.
3. In EncryptionUtil.createEncryptionContext the various encryption config
checks should throw IllegalStateExceptions instead of RuntimeExceptions.
4. Test cases in TestEncryptionTest.java should be broken down into smaller
tests.
5. TestEncryptionDisabled.java should use ExpectedException JUnit rule to
validate exceptions.
closes #2676
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2020-11-26 16:57:12 +01:00
Andrew Purtell
1b6399a480
HBASE-24640 [branch-2] Purge use of VisibleForTesting ( #2696 )
...
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
2020-11-25 14:15:32 -08:00
ramkrish86
988be9321d
HBASE-25050 - We initialize Filesystems more than once. ( #2419 )
...
* HBASE-25050 - We initialize Filesystems more than once.
* Ensuring that calling the FS#get() will only ensure FS init.
* Fix for testfailures. We should pass the entire path and no the scheme
alone
* Cases where we don't have a scheme for the URI
* Address review comments
* Add some comments on why FS#get(URI, conf) is getting used
* Adding the comment as per Sean's review
Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Michael Stack <stack@apache.org>
2020-11-24 15:31:55 +05:30
ramkrish86
a8e02c97bc
HBASE-25187 Improve SizeCachedKV variants initialization ( #2582 )
...
* HBASE-25187 Improve SizeCachedKV variants initialization
* HBASE-25187 Improve SizeCachedKV variants initialization
* The BBKeyValue also can be optimized
* Change for SizeCachedKeyValue
* Addressing revew comments
* Fixing checkstyle and spot bugs comments
* Spot bug fix for hashCode
* Minor updates make the rowLen as short and some consturctor formatting
* Change two more places where there was a cast
2020-11-24 15:10:44 +05:30
Mate Szalay-Beko
9fe62c3ec6
HBASE-25181 Add options for disabling column family encryption and choosing hash algorithm for wrapped encryption keys.
...
Prior to this patch hbase always used the MD5 hash algorithm to store a hash for encryption keys.
This hash is needed to verify the secret key of the subject. (e.g. making
sure that the same secrey key is used during encrypted HFile read and write).
The MD5 algorithm is considered weak, and can not be used in some
(e.g. FIPS compliant) clusters.
In this patch we:
- add a config parameter to globally enable/disable column family encryption (def enabled)
- introduce a backward compatible way of specifying the hash algorithm.
This enable us to use newer and more secure hash algorithms like SHA-384
or SHA-512 (which are FIPS compliant).
- add a config parameter to fail if an hfile is encountered that uses a
different hash algorithm than the one currently configured to ease validation after
migrating key hash algorithms (def disabled)
Closes #2539
Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Esteban Gutierrez <esteban@apache.org>
(cherry picked from commit 6a5c928539
)
2020-11-09 14:15:22 -06:00
gvprathyusha6
21b32d9a6f
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>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2020-11-09 12:41:04 +05:30