sadanand48 opened a new pull request #1888: URL: https://github.com/apache/ozone/pull/1888
## What changes were proposed in this pull request? Since in `TrashOzoneFilesystem` the calls are internal and not through RPC, NPE is generated during `checkacls`(), Since `Server.getRemoteIp` and other such parameters would be null, the security authorizers too generate an NPE. The fix here is if `Server.getRemoteIp()` is null replace it with ip of the node that starts OM ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-4787# ## How was this patch tested? Existing unit tests. also tried on cluster ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
