-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-29495: Integrate key management with existing encryption #7297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HBASE-29495: Integrate key management with existing encryption #7297
Conversation
Squashing the below changes for the convenience of rebasing: 2f6c381a71 Write path integration 9befa74658 Provision to instantiate ManagedKeyAccessor without server for the sake of tools 81540a0ca8 Test coverage with L2 disabled a16313d1c1 Improved test coverage 332f4e756b null check for server on write path
…po in shell command format and a few renames
- Also includes a couple of fixes for typos - Refactored some of the key management test code so that it is reusable from a shell test.
…y search in global namespace - Also fixes an issue with point lookups for active keys.
…gion operations - The approach involves creating a new KeyManagementSerice interface and passing it along the Server in as many code paths as possible. - Also improved the assertions in the encryption E2E test.
Also added test coverage to read the HFile.
Also reverted some prior changes and added overloaded methods to reduce impact on tests following existing pattern.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
…e dropped With mockito-inline enabled, at least the below 2 tests are failing: - org.apache.hadoop.hbase.TestHBaseTestingUtil Could not initialize plugin: interface org.mockito.plugins.MockMaker (alternate: null) - org.apache.hadoop.hbase.security.access.TestRpcAccessChecks java.lang.NullPointerException: Cannot invoke "org.apache.hbase.thirdparty.com.google.protobuf.Descriptors$ServiceDescriptor.getFullName()" because "service" is null at org.apache.hadoop.hbase.ipc.CoprocessorRpcUtils.getServiceName(CoprocessorRpcUtils.java:77) at org.apache.hadoop.hbase.master.HMaster.registerService(HMaster.java:3479) The later is especially weird. The NPE should be ocuring even now as the mock is not stubbed, but it is somehow working.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Ran the tests locally using the mvn command from nightly master and got a clean run: |
This comment has been minimized.
This comment has been minimized.
|
Looks like The last green nightly build had 33,242 tests run, however, when I ran the above command on the test output file from the nightly build, I got a similar number (my branch must be having higher count because of new tests): The count is higher at the overall build level probably because of tests run in different profiles, such as hadoop3-backwards-3.3.5 etc. |
This comment has been minimized.
This comment has been minimized.
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
4d4d167
into
apache:HBASE-29368-key-management-feature
This PR addresses HBASE-29495 to allow the new managed keys being detected and used by the existing encryption