-
Notifications
You must be signed in to change notification settings - Fork 592
HDDS-6701. [Multi-Tenant] Add proper locking between Ranger background sync service and tenant requests; bug fixes #3450
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
Conversation
…d Sync Service and tenant requests Change-Id: I6971eafe3936cc7cafb9c5b3592e794ed1163f88
…er (from the same OM); Implement Ranger request for delete tenant in preExecute. Change-Id: I8640f86308cec9e5ea35cff61e755179e4aa759e
Change-Id: I36c889285286c7699ea514bc8961d67d69d35182
Change-Id: Ieedf063cde997f308bc46da447f692e3e51267f3
Change-Id: If4a4510643d37f10ecc3f14eb8f66353403e0d05
…nts' access IDs. Change-Id: I8189ec59895fa36a58672a3d0bb5e5cf4e40f76b
Change-Id: I4876075028a37126bc91c4e0cbefb139ea94d79e
Change-Id: If5b7dfc145e6d7b1fd69edae6563cf977e0b9288
…er a tenant Change-Id: I428d83bb3d75320506ac4fcb3f204be18b13a5ef
…eption Change-Id: I8396f7d643238688345766cf46034dc8311caf2c
Change-Id: Ie070f33d243d2b7924a2a4da14289c4916b0acbc
Change-Id: I857cea7018d83403c723ad218d491b72222b3361
… more locks. Change-Id: I0119aae8d0dbce3e3f611cf23fbe5fcabbe1143a
Change-Id: I060485acc630c11e510a98a42e491fd6c6ef4d96
…e same request (on the same OM) can be run in different threads. Change-Id: I3ed54438472f574848e6f17bad5f0d3fa56624b8
Change-Id: I9191c155b3bde919208385c3c5271c78b56f7597
Change-Id: I384c256103cf505e2d7d096a9374d7ea3ec1e166
Change-Id: Ibab088d3b52b4b6067b1ec8739d2af5b7feaabd0
…one service version. Change-Id: I0f896d85519e8853cc7d099ebb4ab5eff71e6f01
…to avoid catching `IllegalMonitorStateException`.
Change-Id: I3a82c525d80f13b041d2007d9ac51686d66eb7ed
Change-Id: I551857725cb353cb99d62dbfee5472fcc74359f5
Change-Id: Ia1a552d0a9fed41ec84ad6729a5dd0d5f17cdbcf
Change-Id: I75079536fafd1d4488dabf94ac068b983e894614
…terface `TenantOp` to improve maintainability Change-Id: I8846e48f1aaa2e13a79290e5b78660ea7b301aba
…nt `checkAcquiredAuthorizerWriteLock`; ignore `SocketTimeoutException` as well Change-Id: Iae553c456a7396c5f7f1a64841ac8611ca215720
Change-Id: I71d841ac2618d68f7c0e6bc08defcb77ea053d79
…ance test: mock server rule somehow doesn't take wildcard as expected for role request path Change-Id: I2d58b06d9e06e35ac6b95791f2f233da3d1fda2b
…tamp`. Change-Id: Ic1a6049d7ddca1f60a32711cf8361e6f51f496e7
prashantpogde
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Change-Id: I5b0a155dd8b53690ac11263491ed2e96c85aef16
Change-Id: I25a40ede08bc5e2aa1c6eb6ccef7586c55a2d886
Change-Id: I571ad8b639fdd7d9b5d3f702320c3e5ca22d6bd8
Change-Id: If5d512882df72f5f4cff38af6879f6db3d2679cb
…/ozone/pull/3018/files#r882941006 Change-Id: Ia64591aae5f2674d29d6e083f12f5604a1fb87ec
… proto field `TenantAuthorizerLockStamp`; minor tweaks Change-Id: I309578ca1618e2fe62563ee7aca72280b626cdbe
Change-Id: Ib3f5f384e4d993b6bd462052b4e1fe5e8bd23ec3
Change-Id: Id1e91387c44979cc4fb06a5e2eb7bcecc6d2c182
Change-Id: Iacf8a887c87e42bea59d00d9150f344caac9627d
Change-Id: I41240f3322b0ae0ac328203f9d7ec64a06af28d1
errose28
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this @smengcl. Just some minor comments.
...p-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OMMultiTenantManagerImpl.java
Outdated
Show resolved
Hide resolved
...p-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OMMultiTenantManagerImpl.java
Outdated
Show resolved
Hide resolved
...p-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OMMultiTenantManagerImpl.java
Outdated
Show resolved
Hide resolved
...p-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OMMultiTenantManagerImpl.java
Show resolved
Hide resolved
...zone-manager/src/main/java/org/apache/hadoop/ozone/om/multitenant/OMRangerBGSyncService.java
Outdated
Show resolved
Hide resolved
...zone-manager/src/main/java/org/apache/hadoop/ozone/om/multitenant/OMRangerBGSyncService.java
Show resolved
Hide resolved
Change-Id: I83633f7dba43edfa264ab020743c6ed13ca01bba
Change-Id: I62168184c6ab9cc63b517dddb775d4df5bcc6d8b
|
Thanks @errose28 for the review. I have addressed the comments. Please take another look, thx! |
errose28
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the updates, LGTM.
|
Thanks @prashantpogde @errose28 for the review. |
What changes were proposed in this pull request?
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-6701
How was this patch tested?