ozone icon indicating copy to clipboard operation
ozone copied to clipboard

HDDS-7134. NPE when Ranger client throws RangerServiceException without Status.

Open errose28 opened this issue 2 years ago • 1 comments

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

errose28 avatar Aug 17 '22 22:08 errose28

Oops should be fixed now.

errose28 avatar Aug 17 '22 22:08 errose28

Thanks for the review @smengcl

errose28 avatar Aug 19 '22 00:08 errose28