smengcl opened a new pull request, #4497:
URL: https://github.com/apache/ozone/pull/4497

   ## What changes were proposed in this pull request?
   
   It turns out excluding jackson in HDDS-7924 might have broken actual 
ranger-intg client usage:
   
   ```
   E           23/03/28 20:05:54 INFO rpc.RpcClient: Creating Tenant: 
'tenant303241680030324', with new volume: 'tenant303241680030324'
   E            at 
org.apache.ranger.plugin.util.RangerRESTClient.buildClient(RangerRESTClient.java:232)
   E            at 
org.apache.ranger.plugin.util.RangerRESTClient.getClient(RangerRESTClient.java:215)
   E            at 
org.apache.ranger.plugin.util.RangerRESTClient.post(RangerRESTClient.java:576)
   E            at 
org.apache.ranger.RangerClient.invokeREST(RangerClient.java:422)
   E            at 
org.apache.ranger.RangerClient.lambda$responseHandler$0(RangerClient.java:464)
   E            at 
org.apache.ranger.RangerClient.responseHandler(RangerClient.java:462)
   E            at org.apache.ranger.RangerClient.callAPI(RangerClient.java:527)
   E            at 
org.apache.ranger.RangerClient.createRole(RangerClient.java:334)
   E           Caused by: java.lang.ClassNotFoundException: 
org.codehaus.jackson.jaxrs.JacksonJsonProvider
   E            ... 26 more
   ```
   
   Unfortunately our acceptance tests didn't cover the actual Ranger client 
testing because the infra is not there yet. iirc @djordje-mijatovic is trying 
to improve the docker dev env to spin up actual Ranger, at which point we could 
write new acceptance tests that uses ranger-intg client to run against actual 
Ranger Admin Server so that we can avoid such issues in the future.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-8320
   
   ## How was this patch tested?
   
   - Pending internal system tests to pass.
   - New acceptance tests to be added after Ranger docker dev env is ready. 
Filed HDDS-8321 for it.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to