ozone
ozone copied to clipboard
HDDS-7134. NPE when Ranger client throws RangerServiceException without Status.
What changes were proposed in this pull request?
RangerClientMultiTenantAccessController#decodeRSEStatusCodes
assumes the provided RangerServiceException will have a non-null status. However, Looking at the constructors for the class this may not always be true, and we have seen exceptions will null statuses during testing.
What is the link to the Apache JIRA
HDDS-7134
How was this patch tested?
N/A
Oops should be fixed now.
Thanks for the review @smengcl