[
https://issues.apache.org/jira/browse/HDDS-9681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai resolved HDDS-9681.
------------------------------------
Resolution: Duplicate
> Allow OM to detect client address when using OM gRPC
> ----------------------------------------------------
>
> Key: HDDS-9681
> URL: https://issues.apache.org/jira/browse/HDDS-9681
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Kirill Sizov
> Assignee: Ivan Brusentsev
> Priority: Major
> Labels: pull-request-available
>
> The RATIS object reading is currently implemented using a gRPC client
> (specifically, the {{BlockInputStream.getChunkInfos()}} method switches the
> pipeline type to {{STANDALONE}}, and the {{XceiverClientManager}} selects a
> gRPC client).
> Unfortunately, this configuration does not allow the Ozone Manager to
> determine the client's host address since the
> {{OmMetadatareader.getClientAddress()}} method only works for Hadoop RPC
> interactions. This failure to detect the client's address results in an empty
> {{nodesInOrder}} field in the response received by the client, causing the
> datanodes to be read in the default order in the pipeline, with the leader
> node being read first.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]