xiaoyuyao commented on a change in pull request #931: HDDS-1586. Allow Ozone
RPC client to read with topology awareness.
URL: https://github.com/apache/hadoop/pull/931#discussion_r301683523
##########
File path:
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java
##########
@@ -2347,7 +2347,7 @@ public OmKeyInfo lookupKey(OmKeyArgs args) throws
IOException {
boolean auditSuccess = true;
try {
metrics.incNumKeyLookups();
- return keyManager.lookupKey(args);
+ return keyManager.lookupKey(args, getClientAddress());
Review comment:
Do we assume the topology mapping always use Ip address?
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]